Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
en:entwickler:how_to_make_your_plugin_translatable [2015/11/19 16:08] – created 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 21: | Line 21: | ||
You may now have the following file in your plugin folder // | You may now have the following file in your plugin folder // | ||
+ | |||
+ | For more information about the language file itself have a look at [[en: | ||
+ | |||
+ | ==== Use language files within your plugin ==== | ||
+ | |||
+ | 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> | ||
+ | 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:// |