How to add a new language ?
-
We almost finished the Turkish translation project on the pootle server.
How can we add to the 2.1 snapshots for testing ?Here is the link
http://pootle.pfsense.org.br/tr/pfSense/pfSense.po/download/ -
I interested for this question too … ???
-
I assume that it should be added to the master branch, as 2.1 is closed for new features and only bug fixes will be accepted.
-
For 2.1 probably possible create language manager as package for updating MO files from GUI.
-
The problem with that is some pages have the encoding hardcoded in them and while it would work with some languages, it would break with others like Turkish.
See the notes on http://redmine.pfsense.org/issues/2989
-
OK.
I am confident that the problem will be solved in future versions.Therefore, I suggest the following approach.
The list of installed languages and code pages will taken from a single file, instead of :function get_locale_list() { $locales = array( "en_US" => gettext("English"), "pt_BR" => gettext("Portuguese (Brazil)"), "tr_TR" => gettext("Turkish"),
This file is managed by a separate package. This also will have update and downloading MO files. So it is possible to change the package code without changing the core code pfSense
I allowed myself to quickly make an example of such a package:
http://forum.pfsense.org/index.php/topic,64725.0.html -
The same remark from my own experience of translation - some of the buttons in forms at their translation into another language no longer work. Therefore, in its version of the name translation, I left the fields and buttons in English - and all had to work as it should.
And I think 100% Gui translation is not needed, because you might lose the meaning of the names of the terms that will worsen the understanding of the end user.
But it is my opinion only.