Ashley Sheridan wrote:
That's the check I did on the last site i worked on (vicestyle.com)
The user agent string is checked for a language and the site uses
that. If none is found (bearing in mind that there's no hard and fast
rule about what can go into a UA string) then it defaults to
On Tue, 2010-04-20 at 20:27 +0200, Per Jessen wrote:
Ashley Sheridan wrote:
That's the check I did on the last site i worked on (vicestyle.com)
The user agent string is checked for a language and the site uses
that. If none is found (bearing in mind that there's no hard and fast
rule
Ashley Sheridan wrote:
On Tue, 2010-04-20 at 20:27 +0200, Per Jessen wrote:
Ashley Sheridan wrote:
That's the check I did on the last site i worked on (vicestyle.com)
The user agent string is checked for a language and the site uses
that. If none is found (bearing in mind that there's
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
On 19 April 2010 00:55, Andre Polykanine an...@oire.org wrote:
Now the i18n process is made as follows: we set a cookie on the site
and depending on it we select the language to display the site in. We
have three (currently) interface files: rus.lng, ukr.lng, and enu.lng
(for English US).
Andre Polykanine wrote:
etc. I know that PHP does support somehow exporting the strings into a
.pod file. Maybe it would be better to do that? If so, how can I do
it?
Could you suggest me maybe a better solution than we currently have?
For mostly dynamic messages or pages, I would take a
Michiel Sikma wrote:
On 19 April 2010 00:55, Andre Polykanine an...@oire.org wrote:
Now the i18n process is made as follows: we set a cookie on the site
and depending on it we select the language to display the site in. We
have three (currently) interface files: rus.lng, ukr.lng, and enu.lng
On 19 April 2010 15:56, Robert Cummings rob...@interjinn.com wrote:
Unless you have namespaces (and I can't remember if they completed
namespaced based functions) then don't use something so commuon as a
function named underscore :/
Cheers,
Rob.
You might want to have a look at
Peter Lind wrote:
On 19 April 2010 15:56, Robert Cummings rob...@interjinn.com wrote:
Unless you have namespaces (and I can't remember if they completed
namespaced based functions) then don't use something so commuon as a
function named underscore :/
Cheers,
Rob.
You might want to have a
On 19 April 2010 15:56, Robert Cummings rob...@interjinn.com wrote:
-snip-
Unless you have namespaces (and I can't remember if they completed
namespaced based functions) then don't use something so commuon as a
function named underscore :/
Cheers,
Rob.
No, you're actually absolutely
On Apr 18, 2010, at 6:55 PM, Andre Polykanine wrote:
Hi everyone,
I posted this in the PHP-i18n list, however got no answer so trying
here).
We are making a blog platform (http://oire.org/) which is provided in
several languages (currently they are Russian, Ukrainian, and
English).
Now the
On Mon, 2010-04-19 at 19:17 -0400, Jason Pruim wrote:
On Apr 18, 2010, at 6:55 PM, Andre Polykanine wrote:
Hi everyone,
I posted this in the PHP-i18n list, however got no answer so trying
here).
We are making a blog platform (http://oire.org/) which is provided in
several languages
At 12:17 AM +0100 4/20/10, Ashley Sheridan wrote:
Links within the site itself allow the user to change their language
afterwards, and you could store that in a cookie to it remembers their
choice.
Thanks,
Ash
Ash:
This is something I found interesting.
http://php1.net/c/language-example/
Andre Polykanine wrote:
Hi everyone,
I posted this in the PHP-i18n list, however got no answer so trying
here).
We are making a blog platform (http://oire.org/) which is provided in
several languages (currently they are Russian, Ukrainian, and
English).
Now the i18n process is made as follows:
14 matches
Mail list logo