FOG Project Web App Localization
-
Hi,
I’m trying to change some wording such as “Host” to “Platform”
I trying to change for below file to do the translation but it is not working.
Is there any steps i missing to do the localization?
Thank You
WT -
I have use Poedit to create the message.mo into “web/management/language/en_US.UTF-8/LC_MESSAGES” then re-install FOG then the localization works.
This bring up some question below:
- how can the localization(translation) works without re-installation? (i do try to just put the message.mo & message.po file into the right directory then restart the server but it is not reflecting until reinstall)
- How to use “web/management/language/en_US.UTF-8/LC_MESSAGES\message.po” and “packages\web\commons\text.php” ?
an example on “FOG Configuration” i already change & reinstall but it is not reflecting
I already change the message.po
I found that if those text in this file it wont be translated
Therefore how actually the right way to use both of these files?
Thank You
Best Regards
WT -
@WT_101 said:
I’m trying to change some wording such as “Host” to “Platform”
Not sure it’s wise to do as we don’t understand your working here in the forums.
Take a look at what the installer does:
msgfmt -o ".../path/to/messages.mo" ".../path/to/messages.po"
How to use “web/management/language/en_US.UTF-8/LC_MESSAGES\message.po” and “packages\web\commons\text.php” ?
The later file was initally meant to be used for a general place to define variables for most used terms and phrases that could be used throughout the code. But I think it’s not being used in each and every stop in the code. Searching the code (or github) you can find many places where this variables are used: https://github.com/FOGProject/fogproject/search?q=foglang