View Issue Details

IDProjectCategoryView StatusLast Update
3487Composrcore_fieldspublic2024-07-30 19:08
ReporterAdam Edington Assigned ToGuest  
PrioritynormalSeverityfeature 
Status newResolutionopen 
Summary3487: Translatable list fields
DescriptionMake it so that list field options are translatable.

Make it so that when a list option is entered, it stores the position rather than the literal text.

Make rendering of the list fields dereference the correct text for the list position.

If a list is edited, reindex all currently stored list positions against the new list ordering.
Give error if already selected list options (for existing entries) no longer represent an option in the list, allowing the editor to remap these to a different list option, or erase them, or go back and edit the list again.
Additional Information"Editing a catalogue in French and I attempted to change the list options defined in English to their French counterparts. Switching back to English I see the French terms."
TagsType: Internationalisation
Attach Tags
Time estimation (hours)16
Sponsorship open

Sponsor

Date Added Member Amount Sponsored

Activities

Chris Graham

2018-01-18 14:18

administrator   ~5363

I'm afraid we can't support translated list fields. The list options aren't translated, and the selection is stored by the literal selected string (in English or whatever) rather than a list position. It would be a lot of work to change that. I'll keep the issue open for that possibility though.

Adam Edington

2018-01-18 14:42

administrator   ~5364

This is why I tried using language files (forum post) but that doesn't seem to be working out either :P

Not sure how to tackle this when everything else is translated to French/German except these 'values chosen from a list'.

Chris Graham

2018-01-18 17:19

administrator   ~5366

Ok, as discussed in topic, using Comcode (technically Tempcode) instantiations of a language string for each of the list options is good workaround.

Adam Edington

2018-01-18 20:30

administrator   ~5368

Yes, that will suffice if it saves you 16 hours of coding ;)

Add Note

View Status
Note
Upload Files
Maximum size: 32,768 KiB

Attach files by dragging & dropping, selecting or pasting them.
You are not logged in You are not logged in. This means you will not get any e-mail notifications. And if you reply, we will not know for sure you are the original poster of the issue.

Issue History

Date Modified Username Field Change
2018-01-18 05:27 Adam Edington New Issue
2018-01-18 14:18 Chris Graham Note Added: 0005363
2018-01-18 14:21 Chris Graham Time estimation (hours) => 16
2018-01-18 14:21 Chris Graham Category catalogues => core_fields
2018-01-18 14:21 Chris Graham Summary Value chosen from a list is non-translatable? => Translatable list fields
2018-01-18 14:21 Chris Graham Description Updated
2018-01-18 14:21 Chris Graham Additional Information Updated
2018-01-18 14:42 Adam Edington Note Added: 0005364
2018-01-18 17:19 Chris Graham Note Added: 0005366
2018-01-18 20:30 Adam Edington Note Added: 0005368
2018-11-10 21:08 Chris Graham Tag Attached: Type: Internationalisation
2024-07-30 19:08 Chris Graham Severity Trivial Bug => Feature or Request