[ http://jira.codehaus.org/browse/MSITE-157?page=all ]
Lukas Theussl moved MPSITE-52 to MSITE-157:
-------------------------------------------
Component: (was: plugin)
Workflow: Maven New (was: jira)
Key: MSITE-157 (was: MPSITE-52)
Project: Maven 2.x Site Plugin (was: maven-site-plugin)
> Auto-detect and select preferred user language on site start page
> -----------------------------------------------------------------
>
> Key: MSITE-157
> URL: http://jira.codehaus.org/browse/MSITE-157
> Project: Maven 2.x Site Plugin
> Type: Wish
> Environment: any
> Reporter: Siarhei Berdachuk
>
>
> There will be good possibility to auto detect user language on start page. A
> simple java script can redirect link to the preferred page, but current site
> structure is not best for this, such as preferred language used as root site:
> Supposed that you have this following site structure:
> +- src/
> +- src/apt/index.apt
> ...
> +- src/fr/
> +- src/apt/apt/index.apt
> ...
> +- src/site.xml
> +- src/site_fr.xml
> ...
> I think that more useful structure is:
> +- src/en/
> +- src/en/apt/index.apt
> +- src/en/...
> ...
> +- src/fr/
> +- src/fr/apt/index.apt
> +- src/fr/...
> + ...
> ...
> +- src/site_en.xml
> +- src/site_fr.xml
> ...
> And then we can render more common site fore this:
> /site
> +/index.html
> +...
> +/en
> +/en/index.html
> +...
> +/fr
> +/fr/index.html
> Multilanguage support will be simpler in this case
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira