Re: [translate-pootle] Alternate source language isn't shown on some languages

2010-03-05 Thread F Wolff
Op Wo, 2010-03-03 om 17:32 +0100 skryf Johannes Ahlers:
> Hi Friedel,
> 
> I will discribe the problem on an example:
> On each language we have a xlf-file: cashbox/uidictionary.xlf. The first 
> trans-unit element has the ID "amountDifference.label". If I open this 
> entry in "Chinese (China)" the alternative source languages in French 
> and English are shown. If I open this entry in "Arabic" the alternative 
> source languages aren't shown.

...

> I found a regularity: We generate our xlif-files with 
> target-language-specific source languages. For all languages, where we 
> set the source language to German, the alternative source texts are 
> shown. For all other languages where we set English as source language 
> the alternative sources are missing.
> 
> The xliff-files are synchronized with individual language-files 
> generated out of our software. This task runs every night and adds, 
> removes or updates trans-unit-elements in the xliff-files directly. 
> Afterwards the refresh_stats-task is started to speed up pootle's intro 
> screen.

Hallo Johannes

I must say, I still find your workflow of regenerating your translation
files really strange :-)  Having different source languages in one
project is also a bit surprising, but I guess you have your reasons (the
alternative source language feature was specifically done to enable
people to translate from any language without having to change the
source language as we do with poswap).

All of that said, I think that Pootle 2.0.3 should solve this for you.
Please try it out and see how things go.

Keep well
Friedel


--
Recently on my blog:
http://translate.org.za/blogs/friedel/en/content/hunspell-osx-106


--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Translate-pootle mailing list
Translate-pootle@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/translate-pootle


Re: [translate-pootle] Alternate source language isn't shown on some languages

2010-03-03 Thread Johannes Ahlers
Hi Friedel,

I will discribe the problem on an example:
On each language we have a xlf-file: cashbox/uidictionary.xlf. The first 
trans-unit element has the ID "amountDifference.label". If I open this 
entry in "Chinese (China)" the alternative source languages in French 
and English are shown. If I open this entry in "Arabic" the alternative 
source languages aren't shown.

Here is the Chinese-file:


  

  
Differenz

  
[...]

  


And here is the Arabic-File:


  

  
Difference

  
[...]

  


I found a regularity: We generate our xlif-files with 
target-language-specific source languages. For all languages, where we 
set the source language to German, the alternative source texts are 
shown. For all other languages where we set English as source language 
the alternative sources are missing.

The xliff-files are synchronized with individual language-files 
generated out of our software. This task runs every night and adds, 
removes or updates trans-unit-elements in the xliff-files directly. 
Afterwards the refresh_stats-task is started to speed up pootle's intro 
screen.

Greetings

Johannes

F Wolff schrieb:
> Hallo Johannes
>
> Pootle displays them if they are found and translated in the other
> language, otherwise it doesn't show anything, just getting out of the
> translator's way. If they are fuzzy or untranslated or not there, Pootle
> will simply appear as if the alternative language is not selected, but
> only for that unit.  Another issue with XLIFF, is that the id attributes
> for the units would have to be the same.
>
> Would that explain what you have seen?
>
> Do you update your files outside Pootle? Is that why you run
> refreshstats every night?
>
> Keep well
> Friedel
>   


--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Translate-pootle mailing list
Translate-pootle@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/translate-pootle


Re: [translate-pootle] Alternate source language isn't shown on some languages

2010-03-03 Thread F Wolff
Op Wo, 2010-03-03 om 16:19 +0100 skryf Johannes Ahlers:
> Hi all,
> 
> I set my alternative source languages to English and French. I found an 
> translation entry in one language where pootle shows both alternate 
> source languages. I checked the same entry (same ID / location) in some 
> other languages. On some the alternative languages are shown on other 
> they are missing. Why aren't they shown always? I check the 
> corresponding xlf-source files, but can't see any helpful differences. 
> The refresh_stats-task is running every night...
> 
> Greetings
> 
> Johannes Ahlers

Hallo Johannes

Pootle displays them if they are found and translated in the other
language, otherwise it doesn't show anything, just getting out of the
translator's way. If they are fuzzy or untranslated or not there, Pootle
will simply appear as if the alternative language is not selected, but
only for that unit.  Another issue with XLIFF, is that the id attributes
for the units would have to be the same.

Would that explain what you have seen?

Do you update your files outside Pootle? Is that why you run
refreshstats every night?

Keep well
Friedel


--
Recently on my blog:
http://translate.org.za/blogs/friedel/en/content/hunspell-osx-106


--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Translate-pootle mailing list
Translate-pootle@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/translate-pootle


[translate-pootle] Alternate source language isn't shown on some languages

2010-03-03 Thread Johannes Ahlers
Hi all,

I set my alternative source languages to English and French. I found an 
translation entry in one language where pootle shows both alternate 
source languages. I checked the same entry (same ID / location) in some 
other languages. On some the alternative languages are shown on other 
they are missing. Why aren't they shown always? I check the 
corresponding xlf-source files, but can't see any helpful differences. 
The refresh_stats-task is running every night...

Greetings

Johannes Ahlers

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Translate-pootle mailing list
Translate-pootle@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/translate-pootle