I just did complete translation of my intraweb app to several languages with dxgettext and needed nice way of switching language at runtime - with as little code as possible.
Re: Language switcher
Posted: 18 Mar 2016 07:16
by assapan
hi, As Alexander said it is really easy to do with tcomboboxex or dropdown . in the following example both flag and names are extracted from database , is this what you want to do ?
Re: Language switcher
Posted: 18 Mar 2016 07:29
by Vanya
Hi,
I support over 20 languages, so I would prefer more columns option (see the second link I posted). And yes, I did it just like you show with combobox, but it would be definitely easier to drop an existing component and set few options I did not bother with flags....
Re: Language switcher
Posted: 18 Mar 2016 07:35
by assapan
Vanya wrote:I support over 20 languages
I agree with you partially , but purpose of components is not to cover all the needs but to be able to fullfill them .
just by curiosity how do you handle the translations (not technically ) ? do you have a team for that ?
Re: Language switcher
Posted: 18 Mar 2016 08:12
by Vanya
I can translate 7 languages myself and the rest with bing, google translate and wikipedia For start it is OK... I dont have too many strings in UI and for database translations I made a tool using attributes.