|
Comments for: didimo20010214
| Message # 1510408: |
|
Date: 01/05/08 19:18
By: David Subject: Gettext isn't easy Very interesting article, but I find gettext not to be easy at all. I think it is fairly complicated. I decided to create my own string loader module by basing the string file on the ini file format and upon page load fill an array with the strings from the desired section. Performance may not be as good as gettext and reading an ini file does not allow for reading only a section, but one has to load the entire file and then pick the section out of the resulting array. I found that to be sufficiently fast for an application with low to medium load. I chose to use only numerical keys in the ini file. The huge advantage is that ini files are flat files and translations can be done using a simple text editor. Also, when using an editor with spell checking the spell checker does not choke on the keys or tags as it would be the case with gettext source files and XML files. Also, no knowledge of special tools is needed to create a translation, making it much more likely to get translations. |
Previous Message | Next Message |
| Comments: | ||
| Gettext isn't easy | David | 01/05/08 19:18 |
| You are right ofcourse... But... | Freeflashonlinegames Com | 12/09/04 07:58 |
| Accessing MSAccess database from PHTML | Prasanna Phadke | 10/20/02 14:50 |
| RE: NativeLanguageSupport | x-eniac | 10/01/02 04:29 |
| RE: multi-langual dynamic site,HOW? | x-eniac | 10/01/02 04:24 |
| installing | Illona | 04/26/02 12:19 |
| PHP problem with "Ñ" in database | guarez | 04/14/02 23:36 |
| real solution | crimaniak | 04/08/02 09:48 |
| RE: XML/XSLT solution | Joel Stobart | 03/04/02 06:53 |
| basic Html code !!! | gengosa, marcelo | 12/13/01 05:43 |
| multi-langual dynamic site,HOW? | MSsaint | 11/12/01 13:10 |
| A simple method | Alok Sinha | 05/03/01 19:36 |
| NativeLanguageSupport | luc bredemus | 04/13/01 05:53 |
| RE: Dynamic phrases... | Ronan | 03/14/01 14:26 |
| RE: Dynamic phrases... | Abel Gonzalez Vidal | 03/07/01 20:28 |
| RE: Dynamic phrases... | Ronan | 03/06/01 05:44 |
| RE: Download link | Didimo Grimaldo | 02/21/01 20:14 |
| However | Edsko de Vries | 02/18/01 03:43 |
| RE: XML/XSLT solution | Edsko de Vries | 02/18/01 03:41 |
| StPhp is my choice | Abel González Vidal | 02/17/01 21:52 |
| RE: XML/XSLT solution | Sandro Zic | 02/17/01 10:10 |
| RE: XML/XSLT solution | Tomas V.V.Cox | 02/17/01 07:43 |
| RE: XML/XSLT solution | Edsko de Vries | 02/16/01 02:55 |
| RE: Dynamic phrases... | David Garcia Watkins | 02/15/01 14:24 |
| Sorry for the inconvenience | Didimo Grimaldo | 02/15/01 06:45 |
| RE: XML/XSLT solution | Didimo Grimaldo | 02/15/01 06:43 |
| RE: Download link | Didimo Grimaldo | 02/15/01 06:33 |
| RE: phpLang does it and more !!! | Didimo Grimaldo | 02/15/01 06:29 |
| RE: Dynamic phrases... | greggory | 02/15/01 00:38 |
| Let the user regulate the content. | Stephen VanDyke | 02/14/01 10:26 |
| XML/XSLT solution | Edsko de Vries | 02/14/01 07:31 |
| Dynamic phrases... | Mike Norton | 02/14/01 07:12 |
| phpLang does it and more !!! | Nicolas Hoizey | 02/14/01 05:56 |
| Missing text | Paul K Egell-Johnsen | 02/14/01 05:29 |
| And with dynamic lists ? | Patrick Paysant | 02/14/01 03:18 |
| Download link | Pablo Costa | 02/14/01 02:54 |
| Performance | Kirk Parker | 02/14/01 00:31 |
|
If you are looking for help, please post on the appropriate forum here. Your questions will be answered much more quickly. | ||


