![]() |
|
XBMC official translation project for release Frodo is open ! - Printable Version +- XBMC Community Forum (http://forum.xbmc.org) +-- Forum: Development (/forumdisplay.php?fid=32) +--- Forum: Translations and Language Files (/forumdisplay.php?fid=90) +--- Thread: XBMC official translation project for release Frodo is open ! (/showthread.php?tid=132639) |
RE: XBMC official translation project for release Frodo is open ! - Roman_V_M - 2012-06-02 08:01 (2012-06-01 22:28)takoi Wrote: Since you mentioned plural and special plural support is the next step there's a couple of things I find, as a translator, will make it a lot easier to work with the translations, perhaps more than the occupational lack of plural. A basic context, like a path to the file it occurs, is on top of my wishlist, because the english language have so many different meanings it's almost always impossible to make a proper translation without searching the source code or opening up xbmc trying to find it. If you don't, it's just a wild guess. It leads to bad translations not knowing the context. To sum up: Although as a translator I totally agree with all your points, I'm afraid, .po files are more prone to string re-use due to the requirement that all source stings in a .po file must be unique. No duplicates like in XML language files (e.g. 2 identical English strings with different IDs but for different context) are allowed. All tools for processing .po files, including Transifex, immediately show error message when source string duplicates are found. E.g. this is a big problem for the current PVR branch from opdenkamp - the English .po converted directly from XML has duplicates and because of that cannot be translated by .po processing tools until all duplicates are removed. RE: XBMC official translation project for release Frodo is open ! - jmarshall - 2012-06-02 09:03 There's only a duplicate if both context and string matches. .po files have the context for just this reason, as two identical English words may well be different words in other languages. RE: XBMC official translation project for release Frodo is open ! - alanwww1 - 2012-06-02 11:26 I promised Lars to convert and update the PVR branch strings soon. There is no problem with that at all. But first I need to finish my update tool which pulls fresh translations to a local repo updates addon.xml files as well so that I can update the language files in master. RE: XBMC official translation project for release Frodo is open ! - Wanilton - 2012-06-02 11:57 @alanwww1, my question is, translators take the po file for an addon or a skin, translate into other languages, for xbmc frodo, perfect, but what will happen to users of Eden, the xbmc this case does not support yet the po file, is there any tool that converts the po file to XML, to avoid having to create such an XML file for the users XBMC eden, in my case, I think I have a po file in English that will be translated into other languages via Transifex, but ask the translator to make xml file with the same translation for Eden is counterproductive. Can you clarify whether there is plan out in support for Eden po files, and how soon will it be? RE: XBMC official translation project for release Frodo is open ! - alanwww1 - 2012-06-02 13:11 (2012-06-02 11:57)Wanilton Wrote: @alanwww1, my question is, translators take the po file for an addon or a skin, translate into other languages, for xbmc frodo, perfect, but what will happen to users of Eden, the xbmc this case does not support yet the po file, is there any tool that converts the po file to XML, to avoid having to create such an XML file for the users XBMC eden, in my case, I think I have a po file in English that will be translated into other languages via Transifex, but ask the translator to make xml file with the same translation for Eden is counterproductive. Can you clarify whether there is plan out in support for Eden po files, and how soon will it be? Well there are plans to make this into a service release, but my time is very limited so I am not sure about this at the moment. Edit: I'd also like to see how this works out in real life (I mean updates and stuff) than I have to make the addons project. After than I'll deal with plurals, native gettext calls and after that I can start dealing with this. Might be that we have Frodo ready be that time :-) RE: XBMC official translation project for release Frodo is open ! - takoi - 2012-06-02 17:30 Am I missing something or are all of these strings unused? Code: 31001Went through the confluence translation but didn't get any hit when searching for these. 27 out of 147 being leftovers is ridiculous. I can only imagine how many of these there are in core.. If this is the case, that these are unused, i hope something will be done about it because this is a waste of translators time. RE: XBMC official translation project for release Frodo is open ! - Wanilton - 2012-06-02 19:01 @alanwww1, well understand your info about po file use in Eden, I believe one simple app, converting po file to xml file, solve my case, this is possible?? We have skin done with po file done, in English - perfect file for use with transifex and Frodo, but i need remember a lot of Eden users, in this case one tool converting format po file to xml, solve my case. I think in a tool, similar make for convert xml-to-po, inverse in this case, po-to-xml... Thanks, for great job, Wanilton RE: XBMC official translation project for release Frodo is open ! - jmarshall - 2012-06-03 00:33 @takoi: It wouldn't surprise me if it was that high. What would be a huge help is for the contexts to be done for all the strings you found - once the context clearly indicates where it's used, it's both useful to the translator (as you know where to look to see whether things fit etc) and also useful for developers when removing/replacing old strings as they know they are unused now. You can fill in something like "unused" for the ones that aren't done and I'm sure that Jezz_X will be happy to take a hunt through and confirm that they're unused, thus removing them. Obviously this is a large job, but if everyone pitches in and just does a few each (just let us know which block you're doing), it won't take long before the whole lot are done. @Attila: Does this sound like a plan? Cheers, Jonathan RE: XBMC official translation project for release Frodo is open ! - alanwww1 - 2012-06-03 01:05 (2012-06-03 00:33)jmarshall Wrote: @takoi: It wouldn't surprise me if it was that high. What would be a huge help is for the contexts to be done for all the strings you found - once the context clearly indicates where it's used, it's both useful to the translator (as you know where to look to see whether things fit etc) and also useful for developers when removing/replacing old strings as they know they are unused now. You can fill in something like "unused" for the ones that aren't done and I'm sure that Jezz_X will be happy to take a hunt through and confirm that they're unused, thus removing them. This is exactly the plan. An ideal entry would look kike this. Code: #. play GUI soundsWhere: Code: #. Helper commentI am planning to write a parser utility to extract at least the occurence of the string calls. The tricky thing is that we have several ways of passing the string id to the localization function. Sometimes it comes from a direct parameter, but sometimes it comes from an xml file or from other indirect calls. So whenever I have time for it, I'll try do it. RE: XBMC official translation project for release Frodo is open ! - jmarshall - 2012-06-03 01:43 Right - we can't yet replace msgctxt with something useful as we're still using the id's, so this is an interim measure. |