Questions tagged [zend-translate]

Zend_Translate is the Zend Framework's solution for multilingual applications.

Zend_Translate is solution for multilingual applications. is preferred instead of PHP's native functions. Here you can read more about the benefits from using Zend_Translate and how to start using it.

160 questions
0
votes
1 answer

Convert Zend framework website language?

Hello I am a newbie to Zend Framework. I want to convert a website constructed in English language using Zend Framework to Ukrainian language. Can anyone help me out what to do? Thanks in advance.
0
votes
1 answer

Why is my call to Zend Translate not working in the view?

In my view the call $this->translate('test') is not working. In the bootstrap I have the following code to initiate the translations: protected function _initTranslate() { $apc = $this->getOption('enable_apc_cache'); if ($apc) { …
stephangroen
  • 1,017
  • 10
  • 19
0
votes
2 answers

Zend translate translates to english while locale is set to dutch

My Zend_translate is working but for some reason it only translates to english. Even when my locale is set to Dutch manually it shows the english translations. When I delete the english mo/po files it will use the dutch translations. This is set in…
Sephen
  • 1,111
  • 3
  • 16
  • 38
0
votes
1 answer

Is it possible for Zend_Translate to return multiple 'pieces' of content from a language file?

Started Googling today to research implementing Zend_Translate in a Zend 1.6.x project i have recently been assigned to. But i am finding it difficult to get to usable/appropriate sources of information. Implemented simple Array adapter, which works…
David 'the bald ginger'
  • 1,296
  • 3
  • 20
  • 38
0
votes
1 answer

Zend Navigation setting language parameter for route doesnt reflect in app

I have a zend xml config like so: sitepage
0
votes
1 answer

Zend_Translate: not string, but ID based translation - or how to handle changes in original string

As far as I understood, Zend_Translate uses strings as keys for translation files. This means that if I change the original string (e.g. fix some typo), all translations for this string will be lost. Is there a way to update those translations…
Thomas Walther
  • 526
  • 1
  • 6
  • 15
0
votes
2 answers

Zend_Translate & Zend_Cache standalone

I'm trying to add Zend_Translate in a PHP project, using Zend components as standalone libraries. I'm already using cache for several items using the following method: $cache = Zend_Cache::factory( ... if (!($obj = $cache->load('OBJ'))) { $obj =…
JoeSlav
  • 4,479
  • 4
  • 31
  • 50
0
votes
1 answer

Zend_Translate and translation issues

I wonder how I could translate the following? (french) Vous avez oublié votre mot de passe ? (english) Forgot your password ? (dutch)
Matthew
  • 10,988
  • 11
  • 54
  • 69
-1
votes
1 answer

Zend Translate ini adapter exception "Ini file 'Array' not found"

I get an ugly exception from Zend Translate: Fatal error: Uncaught exception 'Zend_Translate_Exception' with message 'Ini file 'Array' not found' in…
yannis
  • 6,215
  • 5
  • 39
  • 49
-1
votes
1 answer

zend_translate with zend framework 2 possible to use

I was looking at the documentation for Zend Framework after trying to figure out why I was getting no class found on zend_translate class after downloading the latest version (2.2.2). Then, I noticed that the only documentation for it on the zend…
John61590
  • 1,106
  • 1
  • 13
  • 29
1 2 3
10
11