vrybant / unboundbible

Unbound Bible is an open source and a free, multilingual Bible-reader program for Mac, Linux and Windows.
https://unboundbible.net
GNU General Public License v3.0
33 stars 10 forks source link

Switch Localization to Lazarus builtin i18n #14

Closed reckel-jm closed 1 year ago

reckel-jm commented 1 year ago

Lazarus has a built-in i18n localization support and is able to automatically create .po files which can then be translated and compiled to .mo files. This allows the program to automatically adapt to the systems language and also provides a standardized way of doing translation (you can use an external program like poedit as well). See more details in the wiki: https://wiki.freepascal.org/Translations_/_i18n_/_localizations_for_programs I recommend switching to Lazarus built-in i18n.

God bless you!

vrybant commented 1 year ago

Is it possible to swich languages by this way without restarting program?

reckel-jm commented 1 year ago

Yes that should be possible but I haven't testet it so far. Check out https://wiki.freepascal.org/Step-by-step_instructions_for_creating_multi-language_applications#Format_settings and https://wiki.freepascal.org/Translations_/_i18n_/_localizations_for_programs for details.

vrybant commented 1 year ago

Ok. I'll think about it.