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.

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

----- Original Message ----- From: "Vincent" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[email protected]>
Sent: Tuesday, January 22, 2008 8:27 PM
Subject: [fw-i18n] Auto-update .po-files when using config files Was:Re: [fw-general] Zend_Form from config file


Hi,

See this thread for my question:
(full thread:
http://www.nabble.com/Zend_Form-from-config-file-td15018760s16154.html)

On 22/01/2008, Matthew Weier O'Phinney <[EMAIL PROTECTED]> wrote:

-- Vincent <[EMAIL PROTECTED]> wrote
(on Tuesday, 22 January 2008, 08:04 PM +0100):
> On 22/01/2008, Matthew Weier O'Phinney <[EMAIL PROTECTED]> wrote:
>
>     <snip>
>     > If so how we gonna handle multilanguage (site been in multiple
>     > languages) case ? With multiple sections of same config file,
>     > "inherited" ([general], [en], [de], aso) ?
>
>     Right now, I've got the following setup for i18n:
>
>       * With labels, if a Zend_Translate_Adapter has been registered
with
>         the form, the label provided to the element will be passed to
> translate(). So, you can specify a translation messageid for > the
>         label, and as long as you have a translation in the current
locale,
>         it will provide the translation.
>
>
> Sorry to chime in, but this made me wonder: will this method still > allow
e.g.
> PoEdit to generate translation files containing those strings?

You'll have to ask Thomas or somebody on the i18n team.

--
Matthew Weier O'Phinney
PHP Developer            | [EMAIL PROTECTED]
Zend - The PHP Company   | http://www.zend.com/


Thanks,

--
Vincent


Reply via email to