View Issue Details

IDProjectCategoryView StatusLast Update
0003487Composrcore_fieldspublic2024-07-30 19:08
ReporterAdam EdingtonAssigned To 
SeverityFeature-request 
Status non-assignedResolutionopen 
Product Version 
Fixed in Version 
Summary0003487: 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
Time estimation (hours)16
Sponsorship open

Activities

Chris Graham

2018-01-18 14:18

administrator   ~0005363

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   ~0005364

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   ~0005366

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   ~0005368

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

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 View Revisions
2018-01-18 14:21 Chris Graham Additional Information Updated View Revisions
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-request