[translate-pootle] Format of PHP arrays for initial upload?

2011-05-15 Thread Johan Persson
  

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 

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
Translate-pootle@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/translate-pootle


Re: [translate-pootle] Format of PHP arrays for initial upload?

2011-05-15 Thread Dwayne Bailey

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
 Translate-pootle@lists.sourceforge.net
 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
Translate-pootle@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/translate-pootle


Re: [translate-pootle] Scots Gaelic

2011-05-15 Thread Michael Bauer
Guys,

I don't mean to nag but it can't that *that* long to get a project added 
on here?

Friedel kindly added Scots Gaelic to the list of languages on the 5th, 
Dwayne explained why doing Mozilla project on here in parallel is bad 
roundabout the tenth but that still leaves the others that I asked to 
have added (Minimal VLC, VLC and WordPress).

Cheers,

Michael

-- 
*Akerbeltz*
Goireasan Gàidhlig air an lìon
Fòn: +44-141-946 4437
Facs: +44-141-945 2701
*Am Faclair Beag http://www.faclair.com/ ◦ Akerbeltz 
http://www.akerbeltz.org ◦ Firefox sa Ghàidhlig 
http://www.mozilla.com/gd/ ◦ Thunderbird sa Ghàidhlig 
http://www.mozillamessaging.com/gd/thunderbird/ ◦ Opera 11 sa 
Ghàidhlig http://www.opera.com/*
--
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
Translate-pootle@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/translate-pootle