That's right.
If you have to translate something it's never a good idea to have the
translation available within the configuation.
Change your configuration from english to french and nothing would work
anymore.
Greetings
Thomas Weidner, I18N Team Leader
http://www.thomasweidner.com
----- Original Message -----
From: "Vincent" <[EMAIL PROTECTED]>
To: "Thomas Weidner" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>; <[email protected]>
Sent: Wednesday, January 23, 2008 10:22 AM
Subject: Re: [fw-i18n] Auto-update .po-files when using config files Was:Re:
[fw-general] Zend_Form from config file
On 22/01/2008, Thomas Weidner <[EMAIL PROTECTED]> wrote:
Generally this is no problem of Zend but more a question on the third
party
tool poEdit.
poEdit parses all files or directories you tell it for the functions you
tell it from which it extracts all strings and add's them to it's source.
With this in mind you can answer this question yourself.
You need to define the string somewhere where it's also parseable with
poEdit.
As poEdit can not parse configuration files because there are no
functions
you will have eighter to create them anywhere else or use another adapter
for translation.
Translation are generally not defined within a "configuration setting"...
this could lead to several other problems.
Does that mean that defining form labels in a configuration file is not a
best practice?
But if you need a human readable file you could also use CSV or the simple
Array adapter.
Greetings
Thomas Weidner, I18N Team Leader
http://www.thomasweidner.com
--
Vincent