2018-06-13, 21:47
over the years, several language format related changes have been made in kodi.
but since none of those changes were mandatory, many addons haven't been adjusted to them.
we'd like to ask you to make those changes to your addon as well, so we can phase out the old formats in the future.
to aid you in converting some bits and to pieces to the new format, there's an addon available that will get the job done for you:
script.language-convert-0.0.5.zip (python 2)
script.language-convert-0.1.3.zip (python 3)
this addon will make the following changes:
- in your addon.xml it will update all 'lang' attributes
example:
- if you are using strings.xml language files, they will be converted to strings.po files
- language folder names will be converted to the current format *
example:
PLEASE MAKE A BACKUP OF YOUR ADDON BEFORE RUNNING THIS SCRIPT!
* some addons include languages which are not supported by kodi, those language files will be removed by the addon
but since none of those changes were mandatory, many addons haven't been adjusted to them.
we'd like to ask you to make those changes to your addon as well, so we can phase out the old formats in the future.
to aid you in converting some bits and to pieces to the new format, there's an addon available that will get the job done for you:
script.language-convert-0.0.5.zip (python 2)
script.language-convert-0.1.3.zip (python 3)
this addon will make the following changes:
- in your addon.xml it will update all 'lang' attributes
example:
<description lang="en">
to <description lang="en_GB">
- if you are using strings.xml language files, they will be converted to strings.po files
- language folder names will be converted to the current format *
example:
English
to resource.language.en_gb
PLEASE MAKE A BACKUP OF YOUR ADDON BEFORE RUNNING THIS SCRIPT!
* some addons include languages which are not supported by kodi, those language files will be removed by the addon