[Kstars-devel] Review Request: Add i18n for the strings coming from libindi

Albert Astals Cid tsdgeos at terra.es
Wed Oct 10 20:33:01 UTC 2012



> On Oct. 10, 2012, 8:22 p.m., Jasem Mutlaq wrote:
> > Thanks, that must have been quite an effort!! Few questions:
> > 
> > 1. How did you extract the strings exactly?
> > 2. Property NAMES should not be translated as they are used internally by INDI. Property LABELS can be translated though.
> > 3. Many strings are quite technical and would be immensly difficult to translate without proper context.
> > 4. Many INDI drivers (e.g. 3rd party) are not included here, and due to the nature of INDI itself (dynamic introspection of drivers as they come), such strings would never get translated.
> > 5. How would this list be maintained? 
> > 6. Any proposals for enabling i18n in libindi itself?

1. Yuri did, not me, maybe he can answer
2. Right, but the places i i18n the name is only used in case the label is empty
3. Right, but we can't really give a better context due to us not "controlling" the origin of the string
4. We can always add strings as we go
5. Manually or if Yuri did use some script, using that
6. Well, I guess that's up to the libindi developers themselves, no idea how/when/who develops libindi, maybe you can shed some light in there, but from what i remember Yuri mentioned there was not much hope?


- Albert


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/106787/#review20170
-----------------------------------------------------------


On Oct. 10, 2012, 8:04 p.m., Albert Astals Cid wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/106787/
> -----------------------------------------------------------
> 
> (Updated Oct. 10, 2012, 8:04 p.m.)
> 
> 
> Review request for KStars, Akarsh Simha, Jasem Mutlaq, and Yuri Chornoivan.
> 
> 
> Description
> -------
> 
> Since libindi does not seem to provide translations, we fake the messages as if they were ours
> 
> 
> Diffs
> -----
> 
>   kstars/indi/guimanager.cpp 05e97fd 
>   kstars/indi/indidevice.cpp af0f732 
>   kstars/indi/indielement.cpp d8c167e 
>   kstars/indi/indiproperty.cpp 5f8fc36 
>   kstars/libindi_strings.cpp PRE-CREATION 
> 
> Diff: http://git.reviewboard.kde.org/r/106787/diff/
> 
> 
> Testing
> -------
> 
> Tested the x-test language, now i have xx everywhere meaning the messages are correctly translated
> 
> 
> Thanks,
> 
> Albert Astals Cid
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kstars-devel/attachments/20121010/362cdb2a/attachment.html>


More information about the Kstars-devel mailing list