2022-04-13, 17:52
Alpha release of a VS Code extension to help with skin localization.
Adds a context menu item to replace selected text with a localization from either the main Kodi language po or the skins language po.
Works in three steps:-
1. Check the current main Kodi strings.po file from GitHub for the string and if found replace the string with $LOCALIZE[xxxxx]
2. Check the skins own strings.po file for the string and if found replace the string with $LOCALIZE[xxxxx]
3. If no match is found in steps 1 or 2 then create a new translation entry in the skins strings.po file at the first free id and re-save the file.
Currently only localizes from "your_skin_directory\language\resource.language.en_gb\strings.po"
If there's enough interest I can make it localize from other language directories.
v0.1.4-alpha
Code restructure
Added settings for decoration color and initial localization type.
Unified the $LOCALIZE[] and ID commands into one.
First run of Localize will use the operation type defined in the settings. Following operations will toggle the type.
WARNING:- This is an alpha release, PLEASE, PLEASE backup your skin files before using. The extension creates a back up of your current strings.po file before writing any changes, however that's no guarantee and things my go wrong, and if they do I wont be held responsible for loss of data.
V0.2.9
https://github.com/roidy/kodi-localize/r...0.2.9.vsix
Adds a context menu item to replace selected text with a localization from either the main Kodi language po or the skins language po.
Works in three steps:-
1. Check the current main Kodi strings.po file from GitHub for the string and if found replace the string with $LOCALIZE[xxxxx]
2. Check the skins own strings.po file for the string and if found replace the string with $LOCALIZE[xxxxx]
3. If no match is found in steps 1 or 2 then create a new translation entry in the skins strings.po file at the first free id and re-save the file.
Currently only localizes from "your_skin_directory\language\resource.language.en_gb\strings.po"
If there's enough interest I can make it localize from other language directories.
v0.1.4-alpha
Code restructure
Added settings for decoration color and initial localization type.
Unified the $LOCALIZE[] and ID commands into one.
First run of Localize will use the operation type defined in the settings. Following operations will toggle the type.
WARNING:- This is an alpha release, PLEASE, PLEASE backup your skin files before using. The extension creates a back up of your current strings.po file before writing any changes, however that's no guarantee and things my go wrong, and if they do I wont be held responsible for loss of data.
V0.2.9
https://github.com/roidy/kodi-localize/r...0.2.9.vsix