in reply to Re^2: Locale::Maketext::Lexicon and plural forms
in thread Locale::Maketext::Lexicon and plural forms

Are you sure that there won't be problems with using the process locale in a web server setting? For example, if users A and B are being served by the same Apache process, A is an English user and B is a Russian user, and B's request changes the process' locale before A's request finishes; isn't it possible that A would then get a page back in the wrong language? I know this is a problem in PHP ( http://php.net/manual/en/function.setlocale.php ), and I know that POSIX 2008 implemented a workaround via uselocale ( http://www.manpagez.com/man/3/uselocale/ ).
  • Comment on Re^3: Locale::Maketext::Lexicon and plural forms

Replies are listed 'Best First'.
Re^4: Locale::Maketext::Lexicon and plural forms
by zwon (Abbot) on Dec 14, 2011 at 04:28 UTC

    I'm sure that there will be problems. That's exactly the reason why I prefer Locale::Maketext to various wrappers around gettext.