Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:entwickler:how_to_make_your_plugin_translatable [2015/12/11 22:05] – Use language files within your plugin fasse | en:entwickler:how_to_make_your_plugin_translatable [2019/08/01 08:29] (current) – [Use language files within your plugin] fasse | ||
---|---|---|---|
Line 2: | Line 2: | ||
==== Create an xml file with your strings ==== | ==== Create an xml file with your strings ==== | ||
- | Admidio uses for translations the [[http:// | + | Admidio uses for translations the [[https:// |
The format looks like this: <code xml><? | The format looks like this: <code xml><? | ||
Line 27: | Line 27: | ||
Also in Plugins own language files can be integrated and accessed to existing Admidio language files. Access to the Admidio language files is done relatively easily over the already used syntax in Admidio itself. | Also in Plugins own language files can be integrated and accessed to existing Admidio language files. Access to the Admidio language files is done relatively easily over the already used syntax in Admidio itself. | ||
- | <code php> | + | <code php> |
- | If someone wants to use new unused texts in the plugin, so it must be created an own language file for the plugin. For this, a folder is created in the plugin folder **languages**, | + | If someone wants to use new unused texts in the plugin, so it must be created an own language file for the plugin. For this, a folder is created in the plugin folder **languages**, |
==== Find translators for your language file ==== | ==== Find translators for your language file ==== | ||
- | Now that you have created a language file it's possible to translate these strings to several other languages. You can do that by yourself or search for people who will do this but it's also possible to add your file to the [[https:// | + | Now that you have created a language file it's possible to translate these strings to several other languages. You can do that by yourself or search for people who will do this but it's also possible to add your file to the [[https:// |