+ 5
Best way to implement a “Bilingual application” (English + another language), C#/PostgreSQL
I am researching the best way to implement a bilingual desktop application. The languages are English and another local language. I read so far that the best approach might be via a dictionary-file that is holding both languages. The requirement on the GUI side is to be able to toggle each screen. I am implementing MVVM with .Net Core and Caliburn.Micro. Here my questions: - is the dictionary approach the best way? - what is the smoothest way you have seen to implement multiple human languages? - what is the best way to wire the dictionary to the “toggle” button: English/other language? Also any other hints & links appreciated, T:m
4 odpowiedzi
+ 1
The way i would do it is create a table for languages and another for each text field, and use variables in the frontend which will fill the text dynamically
+ 1
yes. thanks. I was thinking about that too. I was wondering if it should be a dictionary function or a whole db table or both together?
+ 1
Values need to be saved so a DB table is mandatory. You can use a dictionary function that loads in the background to make things faster for the end user, why not
+ 1
thanks!