[ 
http://issues.apache.org/jira/browse/FOR-578?page=comments#action_12318698 ] 

Gavin commented on FOR-578:
---------------------------

Just to confirm that using index.es.xml does work as expected.

There may be confusion for some with this naming convension because when 
looking in the /translations/ folder for examples the naming convension is to 
use the underscore , such as :-

tabs_es.xml
menu_es.xml

So trying to use index_es.xml would seem to be the natural course of action.

I believe naming standards are being reviewed ?

As Juan stated, using index.es.xml does work, have you now tried this sjuir ?

Should this issue now be closed.

Gav...

> i18n working only for menus/tabs, not document
> ----------------------------------------------
>
>          Key: FOR-578
>          URL: http://issues.apache.org/jira/browse/FOR-578
>      Project: Forrest
>         Type: Bug
>   Components: Core operations
>     Versions: 0.7
>  Environment: MacOS X 10.4.2, Java 1.4.2
>     Reporter: Sjur N. Moshagen
>     Assignee: Juan Jose Pablos

>
> Here's the steps I took:
> - Installed Forrest 0.7
> - seeded a new project
> - turned on i18n in forrest.properties
> - added index_es.xml and index_en.xml (besides the existing index.xml)
> - started forrest (forrest run)
> - configured FireFox to have 'es' as first language
> - opened the newly seeded and i18n-ed site
> Result: menus and tabs are in 'es', but the index page served is coming from 
> index.xml.
> Expected result: the page served should be the 'es' version, to adhere to the 
> requested locale

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to