Hi.

Looks like it isn't. The only guaranteed layout to work, AFAIK (as written
at
http://www.symfony-project.org/book/1_2/13-I18n-and-L10n#chapter_13_sub_using_dictionary_files),
is

> i18n
> |-messages.de.xml
> |-messages.nl.xml
> |-signin_form.de.xml
> \-signin_form.en.xml
>
and so on.

By the way, __() accepts third parameter - catalog name. But as for me,
message catalog that exists only in one culture is pretty senseless.

2009/5/3 HAUSa <[email protected]>

>
> If I create an extra XML file, that file seems not to work... If I have a
> translate tag which is translated in my new file, it just doesn't translate
> it.
>
> My question: isn't the whole i18n folder loaded by default, like the lib
> folder? Because it doesn't matter in the lib folder how many files I create
> there or how I name them.
>
> This is my tree:
> i18n
> - nl
> - - messages.xml
> - - extra.xml
> - - signin_form.xml
> - de
> - - messages.xml
> - - signin_form.xml
>
> The extra.xml file is the translation file that doesn't work. I like to
> have that file, because I let Symfony generate the messages.xml file
> automatically.
> >
>


-- 
With the best regards, Andy.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to