Changes between Version 22 and Version 23 of UserGuidelines/Localisation


Ignore:
Timestamp:
12/19/10 19:27:08 (11 years ago)
Author:
Fran Boon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • UserGuidelines/Localisation

    v22 v23  
    1414Sahana Eden can be translated in the following ways:
    1515==== A. Using Pootle ====
    16 ''Preferred''
    17 Convert to a .po file for use in Pootle:
     16''Preferred method''
     17
     18[http://pootle.sahanafoundation.org Sahana Pootle Server] is available as on online tool for collaboration, translation refinement and workflow control.
     19 * [UserGuidelinesLocalisationPootle Pootle User Guidelines]
     20
     21Convert to a .po file for use in Pootle (or other PO file tools such as [http://translate.sourceforge.net/wiki/virtaal/index Virtaal]):
    1822 * "web2py2po" scripts (part of the [http://translate.sourceforge.net/wiki/toolkit/py2web2po "Translate Toolkit"])
    1923  * Use 1.8.1+ (or this [http://eden.sahanafoundation.org/attachment/wiki/UserGuidelinesLocalisation/web2py2po.diff patch] for 1.8.0)
    20  * [http://pootle.sahanafoundation.org Sahana Pootle Server] is available as on online tool for collaboration, translation refinement and workflow control. See the [UserGuidelinesLocalisationPootle Pootle User Guidelines] for instructions.
    2124
    2225For UTF-8, beware of the encoding - needs to be 'without BOM' or 'ANSI as UTF-8'.[[BR]]
    2326- this is both within the {{{languages/}}} file & also with any UTF-8 direct in customised Views.[[BR]]
    2427
    25 You can also use standard PO file tools such as [http://translate.sourceforge.net/wiki/virtaal/index Virtaal].[[BR]]
    26 
    2728{{{
    2829web2py2po -i zh-tw.py -o zh-tw.po
    2930
    30 # Use Pootle &/or Virtaal to translate 
     31# Use Pootle &/or Virtaal to translate, then:
    3132
    3233po2web2py -i zh-tw.po -o zh-tw.py
    3334}}}
    3435
     36NB The .py output looks wrong, with raw UTF-8 binary characters, however it works fine if you let Web2Py process it:
     37 * copy into 'languages' folder
     38 * run Eden with this language: http://127.0.0.1:8000/eden/default/index?_language=xx
    3539==== B. Using Auto-Translator ====
    3640You can -also- try a new method, using a beta tool, which translates any file (including the web2py languages files) using the Google Translate API: