If you want to take full control of your site’s languages, it is suggested to install also the Internationalization add-on. With this add-on you don’t get the mapping functionality of the language pages that the Internationalization add-on offers.
Before installing the package you need to allow your web server process (that is running the PHP) to write and access the following locations (ignore the second one if you're installing through the marketplace):
And while you're at it, you also need to allow access (read+write) to one more directory in order to use the automatic language installer. This directory is:
In linux basically this is what you need to do (change original_user to the user account that originally owned the directory/file and www-data to the user name that is running your web server process):
chown original_user:www-data /c5root/libraries/ /c5root/packages/langauge_manager/config/
chmod g+rw /c5root/libraries/ /c5root/packages/langauge_manager/config/
These are needed because the installation process will add an override to one of the core libraries. The second one will be needed to handle the configuration through the UI.
For the languages directory you need to allow access to the whole directory including subdirectories and their files:
chown -R original_user:www-data /c5root/languages/
chmod -R g+rw /c5root/languages/
You can view and install language packages (language translation files) on the Language Packages page. You can use the option “From concrete5 translation repository” to automatically download the language package and install it. If you have your own translation files, you can also install them with file upload or by entering an external url.
Here’s how to use install your own language files:
I've done everything and my translatable texts still don't translate
For the detection and translations to work correctly, you must have the system language installed for that locale in the root /languages directory. If the language folder for your problematic language does not exist, some of the functionality (like picking up the correct locale) might not work correctly.
To fix this, you could simply just install the language package for that langauge from the "Language Packages" section.
In order to use the IP detection method, you must import the IP-to-country mappings to the database. Please note that the companies providing these mapping files usually have some kind of licensing terms for them to be used on your site. The terms might include the type of site you’re running.
These instructions use a normally formatted CSV file with IP address and country information. The IP addresses in the file are in IP-format (e.g. 111.222.333.444) and country codes are in two-letter format (e.g. US).
Mainio Tech Ltd. will not take any responsibility of the correctness of the data provided by third parties! You should also be aware of the terms of usage for these mappings before importing them to any site!
Here’s how to import the IP-country mappings:
WIPmania no longer provides free of use databases to download so we suggest using some alternative providers for this information.