-
Language support
The IPS Community Suite is fully translatable and can support any language. By default, only English (US) is provided with an installation, but other languages can be added by:
Downloading ready-made language packs from our Marketplace
Creating your own language pack
What do language packs cover?
A language pack controls:
&
-
Most language packs consist of a single file with the .xml file extension. If the language pack you are installing contains other files, follow the instructions provided with the pack.
To install the pack, navigate to Customization -> Languages in the AdminCP. Click the Create New button, and in the popup window, select the Upload tab. Choose the xml file that makes up the language pack.
The Locale determines how numbers and dates are formatted in the software. The same langu
-
The IPS Community Suite is installed with an English language pack which is also set as the default. However, you can set another language as the default language if you wish.
Note: The IPS Community Suite attempts to determine the correct language for a user based on information their browser provides. If this can be determined, and you have an appropriate language pack installed, then providing the user hasn't specifically chosen another language, that language
-
If you need to create a custom language pack for your community, the IPS Community Suite includes tools to make the process easier.
Note: The IPS Community Suite has many hundreds of phrases that need translating to make a complete language pack, so the time investment may be significant. If a ready-made language pack is available for your language, you may wish to use that as a starting point rather than starting from scratch.
There's two
-
Setting up the visual language editor
The easiest way to get start with translating your language pack is to use the visual language editor.
To enable visual editing, first ensure you are using the desired language. You can select a language to use in the footer of the front-end of your community.
Next, navigate to Customization -> Languages, and click the Translation Tools button in the header. In the popup win
-
The alternative to using the visual editor is the standard editor. This allows you to edit every phrase in the suite in one place, one after the other.
To use the standard editor, navigate to Customization -> Languages in the AdminCP. Click the icon next to the language you want to translate. What you'll now see is a table listing every phrase used by the software.
To use this interface, you simply work your way through each phrase,
-
Some phrases have values passed into them by the language system, so you will need to be able to identify these and ensure your translations still include the replacement value. There's a few types of replacement you'll see:
%s
Simple string replacements
{internal.app=core&module=system&controller=register}
URL replacements
{# [1:reply][?:replies]}
Plural replacements
-
Why plurals are treated differently
Many of the phrases used in the IPS Community Suite are plurals. Some examples are:
21 replies
3 comments
You have 10 new notifications
In English, a plural typically has an 's' for multiple, and no 's' for singular. In other languages, the rules may be more complex and require a specific format depending on the exact number.
-
When you are happy with your language pack, you can export it and share it with other people (such as via our Marketplace) or simply keep it as a backup.
To do so, navigate to Customization -> Languages in the AdminCP, and click the dropdown menu next to the language you want to export. Click on the Download item, and your browser will prompt you to download a file:
The file you downl
-
Date formats in IPS 4 can be formatted and translated by changing language strings to any format you wish to show them in. You can find date related strings prefixed with _date within your language pack.
If you are unsure on how to manually translate language strings, you will need to read the following guide first of all
Language strings are made up of separate elements relating to the day, month, and year. In this example I will be editing the language string _date_last_year_long .