MycroftAI / translate

Useful localization tools with Python API for building localization & translation systems
http://toolkit.translatehouse.org
GNU General Public License v2.0
0 stars 3 forks source link

Create a file based translation - rather than the current line based #2

Open krisgesling opened 3 years ago

krisgesling commented 3 years ago

Is your feature request related to a problem? Please describe. For anyone translating Skills the existing method assumes they are translating each line of a file. This does not always work, and limits the non-english language to have the same number of lines in each file as the english version.

This has come up many many times over the years:

Describe the solution you'd like Ultimately we want a system where any language group can freely translate a Skill into their own language without being encumbered by the implementation of the original.

Because of the structure of Skills, each file still needs to perform a specific function. So one option would be to switch to a file based system instead of a line based one.

Describe alternatives you've considered Many... if you're interested nudge me and we'll try to expand this further.

Additional context PR's stuck in limbo for years because of this:

krisgesling commented 3 years ago

Maybe related - maybe different - definitely still an issue. https://github.com/MycroftAI/skill-date-time/pull/81