If you want to create a language file in your native language you have to follow these steps:
This is 'IPFire' Version 2.7
is entered as: This is /'IPFire/' Version 2.7
.If your are done you may test it in your own IPFire system:
file = /var/ipfire/langs/list
en:English:Englisch
de:German:Deutsch
fr:French:Französisch
fa:persian:Farsi
perl -e "require '/var/ipfire/lang.pl'; &Lang::BuildCacheLang"
update-lang-cache
You have to do this after any changes you made of your language file to see your inserts on the webinterface. This is pretty annoying - a fast way during testing is to delete the cache files (e.g. cache-lang.pl.en), then IPFire will read everytime directly out of the pl file.
To change the web interface to your new language just go to GUI and select your language from the pull-down-menu.
If you have changed the language and you get an Internal Server Error when you try to reach the webinterface, then there is something wrong in your language file. With the command:
tail /var/log/httpd/error_log
your are able to read out what is wrong.
To get the web interface back to work, you may edit the file: /var/ipfire/main/settings.
There you will find a line starting with LANGUAGE=. Just get back to english language by entering:
LANGUAGE=en
and all will work fine again.
Older Revisions • December 1, 2019 at 10:17 pm • Jon