graeabbott / Michigan_back_to_work

1 stars 0 forks source link

Translate content to Spanish #7

Open bertleon opened 4 years ago

sugihjamin commented 4 years ago

Instead of translating line by line, the "correct" way to do "localization" is to put each string into a separate variable and store all the variables in a language file. Then to display a different language, simply swap out the language file. You can see this in any video game that is distributed globally.

sugihjamin commented 4 years ago

Roberto will refactor code to put strings in language specific data files.