Talk:Translations - Web site interface: Difference between revisions

From Open Food Facts wiki
(Created page with " fi => 'kirjautua', de => 'sich anmelden', hu => 'bel茅p', is => 'skr谩 inn', ja => '銉偘銈ゃ兂銇欍倠', pl => 'zalogowa膰 si臋...")
No edit summary
Line 8: Line 8:
聽聽 聽 聽 聽 sv => 'logga in',
聽聽 聽 聽 聽 sv => 'logga in',
聽聽 聽 聽 聽 vo => 'nun盲d枚n'
聽聽 聽 聽 聽 vo => 'nun盲d枚n'
== GiganFormat to PO ==
<pre>
#categories_example => {
fr => "Sardines 脿 l'huile d'olive, Mayonnaises all茅g茅es, Jus d'orange 脿 base de concentr茅",
en => "Sardines in olive oil, Orange juice from concentrate",
el => "危伪蟻未苇位蔚蟼 蟽蔚 蔚位伪喂蠈位伪未慰, 围蠀渭蠈蟼 蟺慰蟻蟿慰魏维位喂 伪蟺蠈 蟽蠀渭蟺蠀魏谓蠅渭苇谓慰",
es => "Sardinas en aceite de oliva, Mayonesa ligera, Zumo de naranja procedente de concentrado",
it => "Sardine in olio di oliva, Succo d'arancia a base di concentrato",
pt => "Sardinha em 贸leo de oliva, Suco de laranja concentrado",
pt_pt => "Sardinha em azeite, Sumo de laranja concentrado",
ro => 'Sardine 卯n ulei de m膬sline, Suc de portocale pe baz膬 de concentrat',
he => "住专讚讬谞讬诐 讘砖诪谉 讝讬转, 诪讬抓 转驻讜讝讬诐 注砖讜讬 专讻讝",
nl => "Sardines in olijfolie, Lightmayonaise, Sinaasappelsap op basis van geconcentreerd sap",
de => "Sardinen in Oliven枚l, Orangensaft aus Orangensaftkonzentrat",
},
</pre>
# Read a string
# Find English version
# For each language, generate a po file
Generate fr.po
<pre>
# categories_example
msgid "Sardines in olive oil, Orange juice from concentrate"
msgstr "Sardines 脿 l'huile d'olive, Mayonnaises all茅g茅es, Jus d'orange 脿 base de concentr茅"
</pre>
Generate es.po
<pre>
# categories_example
msgid "Sardines in olive oil, Orange juice from concentrate"
msgstr "Sardinas en aceite de oliva, Mayonesa ligera, Zumo de naranja procedente de concentrado"
</pre>
== PO to GiganFormat ==
# Download po for all languages from launchpad
# Patch all msgstr with the same msgid together, and add the #comment as an identifier

Latest revision as of 17:55, 1 May 2015

       fi => 'kirjautua',
       de => 'sich anmelden',
       hu => 'bel茅p',
       is => 'skr谩 inn',
       ja => '銉偘銈ゃ兂銇欍倠',
       pl => 'zalogowa膰 si臋'
       pt => 'fazer o login',
       sv => 'logga in',
       vo => 'nun盲d枚n'

GiganFormat to PO

#categories_example => {
	fr => "Sardines 脿 l'huile d'olive, Mayonnaises all茅g茅es, Jus d'orange 脿 base de concentr茅",
	en => "Sardines in olive oil, Orange juice from concentrate",
	el => "危伪蟻未苇位蔚蟼 蟽蔚 蔚位伪喂蠈位伪未慰, 围蠀渭蠈蟼 蟺慰蟻蟿慰魏维位喂 伪蟺蠈 蟽蠀渭蟺蠀魏谓蠅渭苇谓慰",
	es => "Sardinas en aceite de oliva, Mayonesa ligera, Zumo de naranja procedente de concentrado",
	it => "Sardine in olio di oliva, Succo d'arancia a base di concentrato", 
	pt => "Sardinha em 贸leo de oliva, Suco de laranja concentrado",
	pt_pt => "Sardinha em azeite, Sumo de laranja concentrado",
	ro => 'Sardine 卯n ulei de m膬sline, Suc de portocale pe baz膬 de concentrat',
	he => "住专讚讬谞讬诐 讘砖诪谉 讝讬转, 诪讬抓 转驻讜讝讬诐 注砖讜讬 专讻讝",
	nl => "Sardines in olijfolie, Lightmayonaise, Sinaasappelsap op basis van geconcentreerd sap",
	de => "Sardinen in Oliven枚l, Orangensaft aus Orangensaftkonzentrat",
},
  1. Read a string
  2. Find English version
  3. For each language, generate a po file

Generate fr.po

# categories_example
msgid "Sardines in olive oil, Orange juice from concentrate"
msgstr "Sardines 脿 l'huile d'olive, Mayonnaises all茅g茅es, Jus d'orange 脿 base de concentr茅"

Generate es.po

# categories_example
msgid "Sardines in olive oil, Orange juice from concentrate"
msgstr "Sardinas en aceite de oliva, Mayonesa ligera, Zumo de naranja procedente de concentrado"

PO to GiganFormat

  1. Download po for all languages from launchpad
  2. Patch all msgstr with the same msgid together, and add the #comment as an identifier