Best way for langauge selection?
Posted: Thu Mar 31, 2022 11:52 am
Hi,
I wonder what's the best approach for language selection in a skin. I'm using one "master" skin for many projects, some projects have no translations, others could have 5 languages or more. How can i make a nice array that makes it possible to show the available languages for selection, where it could be any number of languages, and there's no "gap" if one language isn't available, and it could be any sequence? (a bit like the menu node cloner, where you can assign tags, but there isn't an empty entry visible if a node isn't in the menu).
I now have a system with language_1="nl" language_2="en" and such, and i have a few text boxes that could be filled with any language, it works but it seems very cumbersome, as each box needs to have the options for each language i might use.
maybe there is a smarter way?
best,
David
I wonder what's the best approach for language selection in a skin. I'm using one "master" skin for many projects, some projects have no translations, others could have 5 languages or more. How can i make a nice array that makes it possible to show the available languages for selection, where it could be any number of languages, and there's no "gap" if one language isn't available, and it could be any sequence? (a bit like the menu node cloner, where you can assign tags, but there isn't an empty entry visible if a node isn't in the menu).
I now have a system with language_1="nl" language_2="en" and such, and i have a few text boxes that could be filled with any language, it works but it seems very cumbersome, as each box needs to have the options for each language i might use.
maybe there is a smarter way?
best,
David