|
|
Choosing A Webhost: |
i18n: msg#00004cms.phpslash.devel
I use phpslash-0.7.2 for a German speaking site. Consequently I need a complete translation. As far as I see, the procedure is as follows: Once you find a string in a template you 1. create a entry in include/locale/en.php 2. put a translation in include/locale/de.php 3. make up a macro name 4. substitute the string with the macro name, across all themes 5. have a look for the template file name in *.php and add a pslgetText statement to "$template->set_var" Of course the string can occur more than once in multiple templates. In some languages the translation can be different, according to context, though. a) What directory should I diff against? phpslash-ft/public_html/templates/en or phpslash-dev/include/templates/en b) Is there a system behind template macro names? c) How should I handle different word order or higher macro levels? For example from the {DEPT} dept. is translated as Aus der Abteilung {DEPT} ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Very minor debugging suggestion for lib.resources.php, Matthew Leingang |
|---|---|
| Next by Date: | doctype & html verification, Alexander Bartolich |
| Previous by Thread: | Very minor debugging suggestion for lib.resources.php, Mike Gifford |
| Next by Thread: | Re: i18n, Luis M |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |