View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
3487 | Composr | core_fields | public | 2018-01-18 05:27 | 2024-07-30 19:08 |
Reporter | Adam Edington | Assigned To | Guest | ||
Priority | normal | Severity | feature | ||
Status | new | Resolution | open | ||
Summary | 3487: Translatable list fields | ||||
Description | Make 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." | ||||
Tags | Type: Internationalisation | ||||
Attach Tags | |||||
Time estimation (hours) | 16 | ||||
Sponsorship open | |||||
|
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. |
|
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'. |
|
Ok, as discussed in topic, using Comcode (technically Tempcode) instantiations of a language string for each of the list options is good workaround. |
|
Yes, that will suffice if it saves you 16 hours of coding ;) |
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 |