This shows you the differences between two versions of the page.
dev:language [2014/06/11 16:52] vikki created |
dev:language [2015/01/16 15:24] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== Language file syntax guide ===== | ||
- | === Introduction === | ||
- | Enabling multiple Language on Afteroffice Server (AOS) environment is possible via adding the Language files. Language file is available at " | ||
- | Unix text:\\ | ||
- | http:// | ||
- | |||
- | === Syntax note === | ||
- | If you need to make remark, start a line with a "#" | ||
- | Empty lines are allow.\\ | ||
- | |||
- | The main structure starts with the keyword " | ||
- | language English {\\ | ||
- | name The user name\\ | ||
- | }\\ | ||
- | The keyword " | ||
- | html mailWrite.htm {\\ | ||
- | rc Recent:\\ | ||
- | to To:\\ | ||
- | cc Cc:\\ | ||
- | bcc Bcc:\\ | ||
- | }\\ | ||
- | **In short, do not change any line that contains { or }, and do not change the first word of each line.** | ||
- | The first word of each line is an index, it could be short cut of the sentence or a number. Eg: | ||
- | language NewLanguage {\\ | ||
- | name The user name\\ | ||
- | }\\ | ||
- | Should be translated to:\\ | ||
- | language NewLanguage {\\ | ||
- | name The New Language translation of User Name\\ | ||
- | }\\ | ||
- | Should be translated to:\\ | ||
- | language NewLanguage {\\ | ||
- | name The New Language translation of User Name\\ | ||
- | }\\ | ||
- | The translated sentence must fits within single line. Use \r instead to specify new line. Eg:\\ | ||
- | metaTag \r<meta http-equiv=" | ||
- | HTML tags are allow, but try not to use formatting tags (Eg: <font size=2> | ||
- | |||
- | Do not change anything start with [ and end with ]. Eg:\\ | ||
- | pri Priority: [mprioopt]\\ | ||
- | You may change the sequence if necessary. Eg:\\ | ||
- | pri [mprioopt] Priority of Mail\\ | ||
- | Some of the sentences may contain ^x where x could be a number. This simply means AOS will replace these ^x markers to some other value when displaying to user. Do not omit them. You may change the sequence in order to get the meaning right. Eg:\\ | ||
- | txtMboxMovMailOK ^1 mail(s) being moved from ' | ||
- | May changed to:-\\ | ||
- | txtMboxMovMailOK Your mail being moved from ' | ||
- | |||
- | by [[fui@afteroffice.com|LiangTyan Fui]]\\ | ||
- | 23 September 1999\\ | ||
- | 1 Feb 2000 revised |