root/trunk/uploadr/README.locales

Revision 369, 2.6 kB (checked in by calh, 4 months ago)

split out the README file per-platform

Line 
1
2 Locale handling
3 ------------------------------------------------------------------------
4
5 The Flickr Uploadr has official builds for the following locales:
6
7         en-US   US English
8         de-de   German
9         es-us   Spanish
10         fr-fr   French
11         it-it   Italian
12         ko-kr   Korean
13         pt-br   Portuguese
14         zh-hk   Traditional Chinese
15
16
17
18 If you want to translate the Uploadr into another language, there
19 are several files that you'll need to edit. To customize the
20 Flickr-specific strings, you'll need to edit these files:
21
22 /MacUploadr.app/Contents/Resources/chrome/locale/en-US/main.dtd
23 /MacUploadr.app/Contents/Resources/chrome/locale/en-US/main.properties
24 /MacUploadr.app/Contents/Resources/chrome/locale/en-US/proxy.dtd
25
26 for an example, see the Korean versions:
27
28 /MacUploadr.app/Contents/Resources/chrome/locale/ko-kr/main.dtd
29 /MacUploadr.app/Contents/Resources/chrome/locale/ko-kr/main.properties
30 /MacUploadr.app/Contents/Resources/chrome/locale/ko-kr/proxy.dtd
31
32 The proxy.dtd file is based on two files from the Firefox 2 locale bundle:
33
34 {$locale.jar}/locale/browser/preferences/connection.dtd
35 {$locale.jar}/locale/browser/preferences/advanced.dtd
36
37 (Only the last 3 strings come from advanced.dtd, all the rest are from
38 conenction.dtd)
39
40 You can get hold of this inside the language JAR of a Firefox 2 or 3
41 install (inside the 'chrome' folder) to avoid having to translate the
42 strings yourself.
43
44
45
46 XULRunner also contains some non-flickr-specific strings which need
47 translating. The versions for currently supported languages can be
48 found here:
49
50 /xulrunner_locales/locale/
51
52 And instructions for how to create and build these bundles can be found
53 here:
54
55 /xulrunner_locales/README
56
57
58
59 At this time, we're not making final builds available in other
60 locales, but this may change in the near future if we get
61 interest. If we do, we'll need to get a version of the XULRunner
62 bundle for that locale into SVN.
63
64 To submit community translations, start a topic in the forum:
65
66 http://flickr.com/groups/hackinguploadr/
67
68
69
70 Translations (by richard)
71 ------------------------------------------------------------------------
72
73 I've just been pulling the translated DTD and PROPERTIES files from a
74 production WWW server and running them through strings_import.php.
75
76 Note that in the German translation, the help page is messed up because
77 they insist on removing the ^^ wrappers around some sections of the
78 text.  Replace these or you'll see "undefined" in several places in the
79 UI.
80
81 Also note that " must be escaped with ".  This led me to believe
82 that & could be escaped with & but this is not the case.  Don't
83 use & in the main.dtd files - spell out "and" instead.
Note: See TracBrowser for help on using the browser.