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 |