Sugar i18n: Difference between revisions

From OLPC
Jump to navigation Jump to search
No edit summary
(Added link to ticket search for localization/enhancement tickets.)
Line 7: Line 7:
*# make it an ''enhancemente'' in the ''localization'' component, and
*# make it an ''enhancemente'' in the ''localization'' component, and
*# '''attach''' your translation (as a <tt>.po</tt> file).
*# '''attach''' your translation (as a <tt>.po</tt> file).

You can view [https://dev.laptop.org/query?component=localization&type=enhancement&order=priority all tickets] for component ''localization'' and type ''enhancement'' to make sure your addition is scheduled.


<span style="font-size:120%; color:red; ">'''BIG FAT WARNING:''' You must make sure that your browser is set by default to '''UTF-8'''.</span>
<span style="font-size:120%; color:red; ">'''BIG FAT WARNING:''' You must make sure that your browser is set by default to '''UTF-8'''.</span>

Revision as of 17:18, 27 July 2007

Translate Sugar or activities

  • Go to the OLPC release set on Fedora Translations to find out which projects needs translation and to download the current translation files (or the POT).
    Please check if the translation hasn't been filed querying Trac first
  • Once your translation is ready
    1. open a new Trac ticket, (uou will need an account (login or register))
    2. make it an enhancemente in the localization component, and
    3. attach your translation (as a .po file).

You can view all tickets for component localization and type enhancement to make sure your addition is scheduled.

BIG FAT WARNING: You must make sure that your browser is set by default to UTF-8.

Else, your precious characters will most likely be victims of the Sirius Cybernetics Corporation... for which you may find solace in their detractors' rally song:

"I teleported home last night with Ron and Sid and Meg
Ron stole Meggy's heart away and I got Sidney's leg."

For language codes, refer to ISO 639.

Keyboard in your language

What good is seeing the interface in a particular language if your keyboard is in another? Here's how you get your keyboard in your language. (extracted from Customizing NAND images).

 File: /etc/X11/xorg.conf
Section "InputDevice"
Identifier "Keyboard1"
...
Option "XkbLayout" "en"
Option "XkbOptions" "olpc"
EndSection

You should modify the "XkbLayout" "en" to whatever layout you want (ie: es, pt, ...). In order to enable the language switch (Key arabic.jpg or Key thai.jpg) you should set "XkbLayout" "en,ara" or other combinations (ie: "en,th"; "en,ur"; etc.) and Option "XkbOptions" "olpc" to "olpc,olpc2"

 File: /etc/X11/xorg.conf
Section "InputDevice"
Identifier "Keyboard1"
...
Option "XkbLayout" "en,th"
Option "XkbOptions" "olpc,olpc2"
EndSection

After saving the changes, and in order to enable them, you must either reboot the machine, or issue the following commands:

/sbin/telinit 3
/sbin/telinit 5