On 2011-05-15 21:28, Johan Persson wrote:
>
>
> When I upload a PHP array I assumed that the format would
> be
>
> $php_array['message_key'] = 'translated_message_string';
>
> But when
> I upload such a file with those kinds of definitions the
> 'translated_message_string' is shown as original language
You need to upload the English or source language files to a given 
language.  Pootle will allow you define which language is the reference 
language.  All other translations will treat that as the template.  So 
usually that would be your English files.

Pootle handles the translations internally and only writes out the 
translated PHP file. It can't parse the existing translated PHP files to 
create your bilingual pairs.  If you have that scenario you might want 
to consider php2po to create bilingual files.
> I wasn't
> able to find any more information on this in the Wiki. (apart from a
> page on php2po which seems to indicate that it would not be possible to
> use such an original translation file.)
>
> Can someone help me understand
> what the upload format should be?
>
> /Johan
>
> ------------------------------------------------------------------------------
> Achieve unprecedented app performance and reliability
> What every C/C++ and Fortran developer should know.
> Learn how Intel has extended the reach of its next-generation tools
> to help boost performance applications - inlcuding clusters.
> http://p.sf.net/sfu/intel-dev2devmay
> _______________________________________________
> Translate-pootle mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/translate-pootle


-- 
regards
Dwayne


------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Translate-pootle mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/translate-pootle

Reply via email to