Jump to content


- - - - -
Photo

Languages


IP.Board includes a built in Language Manager which allows you to easily import or export language packs for your forum, and translate your forum on the fly into different languages.

After making a language change, you may need to recache your language files before the changes take effect. To recache your language file, simply click on the green "refresh" icon in the Manage Languages area.


To access the Language Manager, select "Manage Languages" from the Look & Feel tab of your ACP.

Importing a Language Pack
If you already have a language pack that you wish to import, use the Import Language XML feature to upload your .xml.gz file. Duplicate language strings are not overwritten, so if you are creating a new language pack and wish to update existing entries, you will need to create a new language - you cannot update or overwrite an old one.

Creating A Duplicate Language
If you wish to edit a language pack or make modifications, we suggest doing so by creating a duplicate language pack first, and then making edits to the duplicate. To do this, simply select the Copy option in the language pack manager.
Attached Image: copylanguagepack.png

Editing A Language Pack via ACP
To edit a language pack, select the Translate in Admin CP option from the Manage Languages area. This will allow you to search for a particular language string, sort the language strings by application, and provide an easy side-by-side interface for translation.
Attached Image: 2011-05-31_1336.png

The translation screen has three elements - the first is the language string key. This is the element that uniquely identifies that string of language, which is used in skin templates and the board code. Below it is the current value of the English translation, to make it easy for you to translate the value in context for how it is used on your board.

Editing A Language Pack Manually
IP.Board also includes the ability to externally edit the language strings, in a text or file editor. This is recommended only for more advanced users and developers. To enable this feature, create a directory called "translate" in the root of your IP.Board FTP structure. (It's where conf_global.php is.) Make sure to give the translate directory read and write permissions - CHMOD 0777 for most users.

Once you have created this directory, click the "Translate Externally" button in your Manage Languages area to export the language data for manual editing.

When translating externally, you must set your file editor to use the UTF-8 character set, regardless of what your board uses.


Once you are done, import your changes by selecting the modified files that you wish to add.

Right to Left Languages
IP.Board 3.2 includes built-in support for Right to Left language settings. To change a language's orientation direction, simply click on the "Edit" pencil icon and then toggle the "Display right to left?" setting.



0 Comments


Developer Docs · Error Codes