If you are looking to translate your element labels, form intros etc see
https://fabrikar.com/forums/index.php?wiki/multilingual-forms/.
Below you can find information about how to manually add translations for
Fabrik language strings.
If you want to use
custom language strings use Joomla's language override feature.
Location
Fabrik language files are located in
- administrator\components\com_fabrik\language\xx-XX
- xx-XX.com_fabrik.ini
- xx-XX.com_fabrik.menu.ini
- xx-XX.com_fabrik.sys.ini
- components\com_fabrik\language\xx-XX
- plugins\fabrik_aaa\pluginname\language\xx-XX
- xx-XX.plg_fabrik_aaa_pluginname.ini
- xx-XX.plg_fabrik_aaa_pluginname.sys.ini
Default language
As long as a language file for the site's selected default language doesn't exist, the English language file is taken.
If it exists but doesn't contain all translations you'll see strings like:
PLG_ELEMENT_CHECKBOX_SAVE_NEW_ADDITIONS_LABEL
or
COM_FABRIK_SORRY_THIS_VISUALIZATION_IS_UNPUBLISHED
How to create language files
All language files need to be saved as UTF-8, no BOM.
Every language file must be created in 'parallel' to the location of the English one so, for example, the translation of:
..\administrator\components\com_fabrik\language\en-GB\en-GB.com_fabrik.ini
must be in the location:
..\administrator\components\com_fabrik\language\xx-XX\xx-XX.com_fabrik.ini
where xx-XX is your language code (e.g. de-DE = German, fr-FR = French, el-GR = Greek).
So for each 'language' folder:
- copy the folder "en-GB" to "xx-XX"
- in the folder xx-XX rename all files en-GB to xx-XX...
- start translating
It is not necessary to translate all language files at once. The most important one for frontend users is :
components\com_fabrik\language\xx-XX\xx-XX.com_fabrik.ini
At the moment these languages are (partly) supported:
da-DK, de-DE, el-GR, en-GB, es-ES, fr-FR, it-IT, ja-JP, nl-NL, pt-BR, ru-RU
Publishing
Last but not least, please send you translation to the fabrik team. Best is to submit a PR to Github.