State of the translation
#55
Looks ok now. A few thoughts:

- Would be good to note in the translated/returned/converted strings.xml file the revision or date of the original English file it is based on. For this we could use a header entry in the source xlif file eg. like this:

Code:
<header>
  <reference>3978ce61ee897fab5daf83c345f3a8183aae0b22</reference>
</header>

(I think "reference" is an existing possible field in the xlif form)

Don't know if that would work, but I read the export function is using the source file as a template replacing the target fields and updating the updateable fields. This way we might preserve the git revision the language file is based on.

- I realized that trans-unit id and context-type="id" has the same number stored. I guess without context-type="id" we can not handle the duplicated strings right ?

- I realized that at the details tab, Transifex shows the actual English translatable strings at two places. The second one is at string ID:

Code:
String ID: Vorbis
Description: id\: 34001:context\: Sample Context
Comment: Click here to add a comment
Occurrences: -

I was not able to find another open-to-edit project to check if this is normal.

- We will of course need a re-convert utility from xlif to xml. In this case I think we should use the latest English strings file as a template, deleted of course the comments, context hints, but preserving the empty strings, empty lines, line feeds, etc. So the format of the lang strings.xml is always in sync with the English one. Should I try to make this back convert util in C++ ?

- I will make a lot of tests now, how things are working in different scenarios. Eg. the source file changes, the language strings.xml file changes at GIT AND the Transifex stored one also changes, how this would merge or overwrite. Things like this.

Thanks for the update, 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.
Reply


Messages In This Thread
State of the translation - by viljoviitanen - 2012-01-06, 14:33
[No subject] - by spiff - 2012-01-06, 16:08
[No subject] - by Popeye - 2012-01-06, 16:23
[No subject] - by viljoviitanen - 2012-01-06, 16:44
[No subject] - by viljoviitanen - 2012-01-06, 16:59
[No subject] - by viljoviitanen - 2012-01-06, 21:50
[No subject] - by viljoviitanen - 2012-01-08, 18:50
[No subject] - by mad-max - 2012-01-11, 21:50
[No subject] - by Roman_V_M - 2012-01-24, 14:45
[No subject] - by viljoviitanen - 2012-01-25, 12:26
[No subject] - by alanwww1 - 2012-01-25, 13:02
[No subject] - by viljoviitanen - 2012-01-25, 17:15
[No subject] - by alanwww1 - 2012-01-25, 17:47
[No subject] - by viljoviitanen - 2012-01-25, 23:33
[No subject] - by alanwww1 - 2012-01-26, 00:31
[No subject] - by viljoviitanen - 2012-01-26, 18:14
[No subject] - by alanwww1 - 2012-01-26, 22:37
[No subject] - by viljoviitanen - 2012-01-27, 00:41
[No subject] - by jmarshall - 2012-01-27, 01:07
[No subject] - by queeup - 2012-01-27, 01:46
[No subject] - by takoi - 2012-01-27, 12:02
[No subject] - by viljoviitanen - 2012-01-27, 13:08
[No subject] - by alanwww1 - 2012-01-27, 13:20
[No subject] - by takoi - 2012-01-27, 13:42
[No subject] - by alanwww1 - 2012-01-27, 13:46
[No subject] - by queeup - 2012-01-27, 13:49
[No subject] - by viljoviitanen - 2012-01-27, 13:58
[No subject] - by alanwww1 - 2012-01-27, 15:22
[No subject] - by jmarshall - 2012-01-27, 23:54
[No subject] - by alanwww1 - 2012-01-28, 00:19
[No subject] - by alanwww1 - 2012-01-29, 19:40
[No subject] - by queeup - 2012-01-29, 19:51
[No subject] - by viljoviitanen - 2012-01-29, 20:08
[No subject] - by queeup - 2012-01-29, 20:14
[No subject] - by takoi - 2012-01-29, 20:27
[No subject] - by NEOhidra - 2012-01-29, 20:27
[No subject] - by alanwww1 - 2012-01-29, 20:37
[No subject] - by alanwww1 - 2012-01-29, 20:46
[No subject] - by viljoviitanen - 2012-01-29, 21:02
[No subject] - by alanwww1 - 2012-01-29, 21:18
[No subject] - by viljoviitanen - 2012-01-29, 21:18
[No subject] - by viljoviitanen - 2012-01-29, 21:30
[No subject] - by takoi - 2012-01-29, 21:36
[No subject] - by viljoviitanen - 2012-01-29, 21:48
[No subject] - by alanwww1 - 2012-01-29, 21:49
[No subject] - by alanwww1 - 2012-01-29, 21:57
[No subject] - by viljoviitanen - 2012-01-29, 23:29
[No subject] - by viljoviitanen - 2012-01-31, 00:30
[No subject] - by takoi - 2012-01-31, 01:23
[No subject] - by queeup - 2012-01-31, 02:15
[No subject] - by viljoviitanen - 2012-01-31, 09:21
[No subject] - by viljoviitanen - 2012-01-31, 22:00
[No subject] - by alanwww1 - 2012-02-01, 00:50
[No subject] - by viljoviitanen - 2012-02-01, 14:48
[No subject] - by alanwww1 - 2012-02-02, 00:21
[No subject] - by viljoviitanen - 2012-02-02, 08:12
[No subject] - by alanwww1 - 2012-02-02, 10:09
[No subject] - by viljoviitanen - 2012-02-02, 21:40
[No subject] - by alanwww1 - 2012-02-02, 22:31
[No subject] - by alanwww1 - 2012-02-02, 23:13
[No subject] - by viljoviitanen - 2012-02-02, 23:21
[No subject] - by alanwww1 - 2012-02-02, 23:26
[No subject] - by alanwww1 - 2012-02-03, 00:34
[No subject] - by viljoviitanen - 2012-02-03, 21:14
[No subject] - by alanwww1 - 2012-02-04, 00:35
[No subject] - by alanwww1 - 2012-02-04, 12:31
[No subject] - by takoi - 2012-02-04, 13:24
[No subject] - by alanwww1 - 2012-02-04, 13:57
[No subject] - by takoi - 2012-02-04, 14:26
[No subject] - by viljoviitanen - 2012-02-04, 15:49
[No subject] - by alanwww1 - 2012-02-05, 01:33
[No subject] - by viljoviitanen - 2012-02-05, 22:33
[No subject] - by takoi - 2012-02-05, 22:49
[No subject] - by alanwww1 - 2012-02-06, 00:55
[No subject] - by takoi - 2012-02-06, 19:48
[No subject] - by alanwww1 - 2012-02-06, 20:36
[No subject] - by takoi - 2012-02-06, 21:03
[No subject] - by NEOhidra - 2012-02-06, 22:51
[No subject] - by viljoviitanen - 2012-02-06, 23:08
[No subject] - by alanwww1 - 2012-02-06, 23:21
[No subject] - by alanwww1 - 2012-02-08, 23:48
[No subject] - by viljoviitanen - 2012-02-09, 09:28
[No subject] - by NEOhidra - 2012-02-09, 19:06
[No subject] - by alanwww1 - 2012-02-09, 22:22
[No subject] - by NEOhidra - 2012-02-09, 22:39
[No subject] - by alanwww1 - 2012-02-09, 22:54
[No subject] - by viljoviitanen - 2012-02-10, 08:54
RE: State of the translation - by takoi - 2012-03-28, 15:52
RE: State of the translation - by alanwww1 - 2012-03-30, 15:16
RE: State of the translation - by Troopie - 2012-03-31, 08:33
RE: State of the translation - by alanwww1 - 2012-04-01, 15:05
RE: State of the translation - by takoi - 2012-05-09, 12:35
RE: State of the translation - by alanwww1 - 2012-05-09, 15:27
RE: State of the translation - by takoi - 2012-05-09, 15:42
RE: State of the translation - by alanwww1 - 2012-05-09, 16:02
RE: State of the translation - by takoi - 2012-05-09, 16:14
RE: State of the translation - by alanwww1 - 2012-05-09, 16:29
RE: State of the translation - by takoi - 2012-05-09, 16:56
RE: State of the translation - by alanwww1 - 2012-05-09, 17:26
RE: State of the translation - by Ressa - 2013-07-18, 16:48
RE: State of the translation - by blittan - 2013-07-23, 16:03
RE: State of the translation - by CaBrA - 2014-11-06, 14:07
Logout Mark Read Team Forum Stats Members Help
State of the translation2