Questions tagged [zend-locale]
36 questions
0
votes
1 answer
PHP Zend Routing for languages not complying with modules
I have the following code in my bootstrap. It works well, however, with any module besides default it redirects to the default module. How can I get this to to work with modules besides the default module?
protected function…

somejkuser
- 8,856
- 20
- 64
- 130
0
votes
1 answer
Zend Navigation and Zend Locale
I'm busy building a multi language website with ZF1. Everything works well expect for 1 thing, the multi language part in combination with zend navigation. When I open the URL of the development page, the standard language is English…

Jelle Damen
- 1
- 1
0
votes
2 answers
zend framework 2 get locale from view PhpRenderer
How I can obtain traslator locale in my view?
I want to do it starting from the variable $this (the PhpRenderer of the view).
i.e. I don't want use onBootstrap nor ActionController because I don't care to have a view variables.
Thank you!

josepmra
- 617
- 9
- 25
0
votes
1 answer
Mystery with Zend_Locale
In my application.ini
resources.locale.default = "en_EN"
in my Bootrstrap.php
protected function _initLocaleRegistry()
{
$locale = new Zend_Locale('en_EN');
Zend_Locale::setDefault('en_EN');
Zend_Registry::set('Zend_Locale',…

JellyBelly
- 2,451
- 2
- 21
- 41
0
votes
1 answer
Zend Navigation setting language parameter for route doesnt reflect in app
I have a zend xml config like so:
sitepage
…

somejkuser
- 8,856
- 20
- 64
- 130
-1
votes
1 answer
What's the best way to pull user defined locales from Zend Framework using the full locale preference list?
Zend Framework has a great component called Zend_Locale. There's all kind of nitty gritty details in properly parsing out language and locale, partly because it's been hacked into HTTP Accept-Language header.
In the Zend Framework locale docs, it…

joedevon
- 2,649
- 4
- 28
- 43