ZF-4315: No translation for language...available gettext Adapter

Issue Type: Bug Created: 2008-09-17T03:11:52.000+0000 Last Updated: 2008-09-17T22:04:18.000+0000 Status: Resolved Fix version(s): - 1.6.1 (15/Sep/08)

Reporter: David Heidrich (bowlingx) Assignee: Thomas Weidner (thomas) Tags: - Zend_Translate

Related issues: Attachments:


After updating from ZendFramework Version 1.6 to 1.6.1 this message occours.

<pre class="highlight">
Notice: No translation for the language 'de_DE' available. in...

Reproducable only if I manually set the locale

<pre class="highlight">

Affects the gettext Adapter!

Just forget to say that the right language files are used and translated! It's just the message...


Posted by Thomas Weidner (thomas) on 2008-09-17T22:03:46.000+0000

As you can see, this is no failure, but a notice. This is a new feature which has been requested.

A notice is in this case the correct behaviour, because otherwise users wont see why their language is not translated. The code still works without changes, but the notice shows you that your user requested a language you have not actually available in your sources.

Have you found an issue?

See the Overview section for more details.


© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.