This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
how_to:translate_moosocial [2015/09/03 06:57] mooeditor |
how_to:translate_moosocial [2016/06/03 04:17] mooadmin |
||
---|---|---|---|
Line 3: | Line 3: | ||
__//**I/Introduction:** // __ | __//**I/Introduction:** // __ | ||
- | It is very easy to translate mooSocial to your language. The default language file can be located at app/Locale/eng/LC_MESSAGES/default.po. If you want to translate mooSocial to a language that is not already in the Locale folder, you can copy the default language folder to a new folder (e.g. fra) and start translating the new language file using your favorite text editor (use UTF-8 to avoid problems). The language folder name must conform to the ISO 639-2 standard. | + | It is very easy to translate mooSocial to your language. The default language file can be located at app/Locale/eng/LC_MESSAGES/default.po. If you want to translate mooSocial to a language that is not already in the Locale folder, you can copy the default language folder to a new folder (e.g. fra) and start translating the new language file using your favorite text editor (use UTF-8 to avoid problems). The language folder name must conform to the [[https://www.loc.gov/standards/iso639-2/php/code_list.php|ISO 639-2 standard]]. |
The msgid must be the english language string. This means it must not be changed. The one that contains the translation is msgstr. | The msgid must be the english language string. This means it must not be changed. The one that contains the translation is msgstr. | ||
- | To install the new language after uploading the language folder to Locale folder, go to Admin Panel → Languages Manager → Not Installed Languages then click Install. It is necessary to clear Global Cache when using a new Language by going to Admin Dashboard → Clear Global Cache. | + | To install the new language after uploading the language folder to Locale folder, go to Admin Panel → Site Manager → Languages Manager → Not Installed Languages then click Install. It is necessary to clear Global Cache when using a new Language by going to Admin Dashboard → Clear Global Cache. |
Note: use Poedit from [[http://www.poedit.net/|http://www.poedit.net/]] to easily edit the .po files | Note: use Poedit from [[http://www.poedit.net/|http://www.poedit.net/]] to easily edit the .po files | ||
Line 75: | Line 75: | ||
#2 Select suggestion | #2 Select suggestion | ||
- | After translation is done, press save button and continue. | + | After translation is done, save with '//default.po' // and continue. |
{{:how_to:1aad8f8f0298a8ba1ddeb74974729243.jpg}} | {{:how_to:1aad8f8f0298a8ba1ddeb74974729243.jpg}} | ||
Line 109: | Line 109: | ||
==== Translating Menu: ==== | ==== Translating Menu: ==== | ||
- | Taking example, now we go on a try with Home on menu. Let's get to the Menu section in Admin Dashboard/System Admin. | + | Taking example, now we go on a try with Home on menu. Let's get to the Menu section in Admin Dashboard/System Admin/Menu. |
After pressed on dropdown button to explore Home menu settings, we will see a Translation button below the Navigation Label's field: | After pressed on dropdown button to explore Home menu settings, we will see a Translation button below the Navigation Label's field: | ||
Line 176: | Line 176: | ||
//#Go to the Plugin Category's Manager.// | //#Go to the Plugin Category's Manager.// | ||
+ | |||
+ | Now select a Category you want to translate. | ||
+ | |||
+ | {{:how_to:e0225e53e674515ac5373bd8fbbf3808.png}} | ||
+ | |||
+ | //#Select a Category to begin translating.// | ||
+ | |||
+ | When the pop up displayed, find the Translation button, its located below Category Name's field. | ||
+ | |||
+ | {{:how_to:fca46bdefd57269e9cfb2b63a5c2c73c.png}} | ||
+ | |||
+ | //#Press on Translation button when popup displayed.// | ||
+ | |||
+ | Now, just like the others, we will have to input translated text to the preferred language, press on Save Change to make it effective. | ||
+ | |||
+ | {{:how_to:4750f7a76be3faaec3eb376346f24a13.png}} | ||
+ | |||
+ | //#Input your translated text and Save Change.// | ||
+ | |||
+ | Now let's see how the Front-end being effected. | ||
+ | |||
+ | {{:how_to:da245be8d9293a6b92606388bc992691.png}} | ||
+ | |||
+ | //#User will see 'Movies' Category translated to 'Filming'.// | ||
+ | |||
+ | {{:how_to:178c48778d60dabfddeaba4e53831bef.png}} | ||
+ | |||
+ | //#The Category has been translated.// | ||
+ | |||
+ | ---- | ||
+ | |||
+ | **END** | ||