Pear::Translation examples?
| From: | Darren Cook | Date: | Fri, 21 Feb 2003 05:03:14 +0000 |
| Subject: | Pear::Translation examples? | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-3877@lists.php.net to get a copy of this message | ||
Hi,
I just installed the Translation module, and read the comments in the source code. Is there any tutorial showing how the classes are actually used? Or some example code?
Some other questions/comments:
1. Has anyone used it with Japanese? If so are there any potential problems with using Shift-JIS? (I didn't notice anything in the source and the addTranslation() function looks like it will cope okay if $String contains a backslash character).
2. Is anyone working on a web-based interface that translators can use to input language strings?
3. pear info translation gives me this error:
User Error: Frontend::displayLine deprecated in CLI.php on line 72
(pear info DB works, so I think this is a Translation-specific problem).
4. It should say Pear::DB is a dependency.
5. Wouldn't it be better under the i18n category instead of under HTML?
Darren