New feature from TeamXBMC: string syntax check logs are available from now on

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
alanwww1 Online
Team-XBMC Member
Posts: 1,353
Joined: Nov 2008
Reputation: 33
Location: Hungary
Information  New feature from TeamXBMC: string syntax check logs are available from now on
Post: #1
Hi Translators !

YouTube addon developer HenrikDK noted that there are a lot of syntax problems during translations.
Most frequently the %s, %i etc. strings gets translated into %s%, %i%, etc format. That is not correct of course and causes to appear the string wrong.

So I coded a syntax check function into my sync utility. From now on, it will always create a syntax check log at every sync, to note any differences we have between the original English and the translated string syntax.

Please note that if one string entry is on the list, it does NOT necessarily mean that the string is wrong. For example if you wrote "%" instead of the English "percent", the string gets on the list, because the number of "%" characters are not the same.
So please review this list regularly to check if there are problematic entries. I see several completely mismatched string entries. They could come from the XML era when the translated-English strings were only linked with the id number. So for languages when you see complete mismatched entries, please for at least once, do a full review for all the strings if possible.

Current syntax checks done (more suggestions are welcome):
  • Verify the number of '%' characters
  • Verify the number of '\n' (LineFeed) characters

The syntax check logs will be always hosted at these links:
Thanks, cheers,
Attila/TeamXBMC

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
Robotica Offline
Banned
Posts: 1,202
Joined: Aug 2010
Post: #2
Hi Attila,
Maybe it's better to split to syntax logs in sections (or even files) per language as translaters would like to check per language.
find quote
alanwww1 Online
Team-XBMC Member
Posts: 1,353
Joined: Nov 2008
Reputation: 33
Location: Hungary
Post: #3
Hi !

It is a good idea, but I have higher priorities at the moment which I don't find time for.
Until I got the time for this, please filter or search the file with a text editor.

Thanks,
Cheers, Attila

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote