source: companies/celepar/phpgwapi/doc/lang_files.txt @ 763

Revision 763, 2.2 KB checked in by niltonneto, 15 years ago (diff)

Importação inicial do Expresso da Celepar

Line 
1For language translation, please read these rules:
2
3
4Format of a lang file:
5
6{phrase}{TAB}{appname}{TAB}{LANG_CODE}{TAB}{translation}
7
8e.g:
9
10first name      common  en      First Name
11first name      common  de      Vorname
12
13
14Filenames:
15phpgw_{LANG_CODE}.lang
16
17e.g.
18English phpgw_en.lang
19German  phpgw_de.lang
20
21Please look at the content of the 'languages' table for the correct
22setting of the {LANG_CODE}.
23
24
25Rules:
26
271.  Phrases that are 'common' are loaded for all apps!  This includes
28  admin and preferences.
29
302.  The appname 'common' is reserved for the API and for application names in
31  each application.  Please DO NOT place more than a few phrases in 'common'.
32  These should be only enough for the appname to display correctly in the navbar
33  for the most part.  Please set the appname field to your application name.
34
353.  Consult an API developer prior to adding or editing files in the
36  phpgwapi/setup language files, and prior to adding a lot of phrases
37  to 'common' within an application/setup dir.
38
394.  TRANSLATION to other languages MUST be based upon the english language
40  files (phpgw_en.lang in each app/setup directory).  Since most of the
41  developers are using English as their primary language, those should
42  have the most complete list.
43
445.  Language files for other than English should NOT have additional
45  phrases.  If some phrase needs to be added to the English file, please
46  consult the API or application developer to let them know before you
47  add missing phrases.
48
496. Please be careful not to conflict with or duplicate any lang entry.
50  Conflicts should be checked for by using setup to load the language you are
51  working with.  Also, if more than a couple of apps are using the same or
52  similar lang entry, it should most likely be moved to the API lang files.
53  This is so that the size of the db is kept as small as possible.
54
557.  Please do not have multiple copies of an entry for different apps when
56  it can be avoided.  e.g. the phrase 'add widget' set to 'preferences',
57  'admin', 'common' and the 'appname'.  When in doubt use common, so that
58  it will show in prefs/admin, etc.
59
608.  Please sort the file when you add new entries.  This makes it easier to
61  read and will help to locate duplicates.
Note: See TracBrowser for help on using the repository browser.