SitePoint Sponsor

User Tag List

Results 1 to 9 of 9

Hybrid View

  1. #1
    SitePoint Evangelist
    Join Date
    Dec 2005
    Posts
    527
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Multy language systems

    I have a template engine like this :

    http://www.devshed.com/c/a/PHP/Using...lass-in-PHP-5/


    I want start a multilanguage and modular project
    What is the best solution to create multilanguage system ? (Constants ? XML ? Cleer file ?)

    I want cant add new languages pack easy to my system and my modules

  2. #2
    SitePoint Guru BerislavLopac's Avatar
    Join Date
    Sep 2004
    Location
    Zagreb, Croatia
    Posts
    830
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

  3. #3
    SitePoint Addict Jasper Bekkers's Avatar
    Join Date
    May 2007
    Location
    The Netherlands
    Posts
    282
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by BerislavLopac View Post
    I'd really advice the gettext extension, especially when you are not going to do the translations yourself. Many applications exist to help translating gettext type internationalisation. Also, it allows you to have incomplete translations, which might be nice in some cases.

    If you can not (for some reason) install the extension, there is also a PEAR module available called PEAR::File_Gettext and the Zend framework also supports the file format.

    Edit:
    Also not that you'll have to deal with other cultural differences like jokes, currency, text alignment, the formatting of dates and money et cetera.
    Design patterns: trying to do Smalltalk in Java.
    I blog too, you know.

  4. #4
    SitePoint Evangelist
    Join Date
    Dec 2005
    Posts
    527
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    How can I use gettext for a project that users translate it online
    like some of google projects ?

    How can I find encoding for other languages ?
    What is the problem of my code ?
    Attached Files Attached Files

  5. #5
    SitePoint Evangelist
    Join Date
    Dec 2005
    Posts
    527
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    who can help ?

  6. #6
    SitePoint Evangelist
    Join Date
    Dec 2005
    Posts
    527
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Is this problem of gettext on my system ?

  7. #7
    SitePoint Enthusiast
    Join Date
    Dec 2006
    Location
    Dubrovnik, Croatia
    Posts
    82
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Why don't you keep your translations in database ?

  8. #8
    SitePoint Evangelist
    Join Date
    Dec 2005
    Posts
    527
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I think gettext is a good method and what should I do for some projects that have not any databases?

  9. #9
    SitePoint Evangelist
    Join Date
    Dec 2005
    Posts
    527
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    is anybody that used gettext ?
    please help me


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •