Translations for simpl_add-ons
Recently on the webtrees forum I posted a question titled Custom translations in add-on modules to get a feeling of how much interest there would be for including language (translation) files in each add-on that needs them.
Overall the response was positive, so this will be added progressively to all simpl_add-ons from now. In each product the ReadMe file will include a “Translation” section with something like the following instruction:
Where possible [this add-on] uses existing webtrees language items. These will therefore translate automatically wherever they are used.
Any new language items use the same “WT_I18N::translate()” format but require additional translation files. Some are included with this module in it’s “language” folder. For languages NOT included you have two options:
- You can translate them yourself using the process and any of the options in webtrees “custom translation” feature described here: Wiki: Custom translation, or
- you can email me the necessary translations. I will include them in the next release and if you wish supply you an immediate update for your own use. You can supply me the translation either in the form of a .po and compiled .mo file, or you can use the blank “en_US.po” file supplied in the modules’ language/po_files/ folder. That is a simple text file you can edit in any text editor. Just add your translation for each item in it’s empty “msgstr” line. Remember that certain phrases might need plural as well as singular versions or other variants.NOTE: please be specific about your translation. Options such as “you can use xxxx or yyyy” to translate this” are not helpful. I don’t have the knowledge of your language to make such a choice.
If you want to use a different set of translations to any supplied with this module you can do so either by changing the supplied .po/.mo files, or by deleting them and using your own custom translation file as described in 1. above.