-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added documentation about translating setup.
- Loading branch information
Showing
1 changed file
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
How to add support for a new locale in setup : | ||
---------------------------------------------- | ||
|
||
* Create a new directory for your locale under 'po', i.e if you want to | ||
add Russian translations : | ||
|
||
mkdir po/ru | ||
|
||
* Edit the Makefile and add your locale name to the 'LOCALES = ' line. | ||
|
||
* Copy the po/setup.po file to your new directory under 'po'. i.e. : | ||
|
||
cp po/setup.po po/ru/ | ||
|
||
* Edit the setup.po file in your directory and add translations for | ||
all of the strings. | ||
|
||
* Run 'make gettext' to generate the corresponding MO files in the | ||
setup image. | ||
|
||
* That's it ! :) |