localising database data
Confluence User - 26 Oct, 2016
For example, for cities in a country, I have a form and a crud userview for crud operations on cities. In various forms users may select a city from a dropdown list. So far I made it work.
But:
for Tripoli in Libya, Arabic speakers will see طرابلس, and English speakers will see "Tripoli" on pages.
But "tripoli" is not a label on a form, so i18n hash variable does not work (I entered #i18n.tripoli# as city name in database, and entered appropriate message values but it does not work).
How can I make such a localisation that when users change locale, such data from database changes language too?
localisation;userviews;forms