Re[2]: [PHP] How to do i18n better?

From: Date: Mon, 19 Apr 2010 10:54:37 +0000
Subject: Re[2]: [PHP] How to do i18n better?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-304202@lists.php.net to get a copy of this message
Hello Peter, Regarding the URL switching suggested by you and Michiel, how do I do this if I have a rather complicated .htaccess file? For instance, a blog entry URL is formed as follows: http://oire.org/menelion/entry/190/ which is phisically http://oire.org/oire.php?o=menelion&e=190 If I need to insert the locale somewhere inhere, sorry, I just don't know how to do that) -- With best regards from Ukraine, Andre Skype: Francophile; Wlm&MSN: arthaelon @ yandex.ru; Jabber: arthaelon @ jabber.org Yahoo! messenger: andre.polykanine; ICQ: 191749952 Twitter: m_elensule ----- Original message ----- From: Peter Lind <peter.e.lind@gmail.com> To: Andre Polykanine <andre@oire.org> Date: Monday, April 19, 2010, 11:10:59 AM Subject: [PHP] How to do i18n better? Consider checking out http://php.net/gettext - it's the set of functions in PHP for i18n. With regards to language switching, you should consider using a url hierarchy for it, instead of just serving all pages with changing content. Regards Peter -- <hype> WWW: http://plphp.dk / http://plind.dk LinkedIn: http://www.linkedin.com/in/plind Flickr: http://www.flickr.com/photos/fake51 BeWelcome: Fake51 Couchsurfing: Fake51 </hype>

« previous php.general (#304202) next »