#1167: AgaviTranslationManager does not call setlocale with the given locale
identifier
-----------------------------------------+----------------------------------
Reporter: sven.kretschm...@… | Owner: dominik
Type: enhancement | Status: new
Priority: normal | Milestone: 1.0.2
Component: translation | Version: 1.0.1
Severity: normal | Keywords:
Has_patch: 0 |
-----------------------------------------+----------------------------------
We need to handle files with command line tools and call these using exec,
preparing the filenames with escapeshellargs. As no locale is set, the
german umlauts are removed from the filename, leading to an invalid (non-
existing) filename.
Calling setlocale with 'de_DE' or 'en_US' both do the job. I think, there
should be no risk letting the AgaviTranslationManager call
setlocale(LC_ALL, $identifier) in its own setLocale method.
--
Ticket URL: <http://trac.agavi.org/ticket/1167>
Agavi <http://www.agavi.org/>
An MVC Framework for PHP5
_______________________________________________
Agavi Tickets Mailing List
[email protected]
http://lists.agavi.org/mailman/listinfo/tickets