You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Yevgeny Nyden (JIRA)" <ji...@codehaus.org> on 2010/11/15 04:20:03 UTC

[jira] Commented: (MSITE-41) Add a list of available language in site plugin

    [ http://jira.codehaus.org/browse/MSITE-41?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=243090#action_243090 ] 

Yevgeny Nyden commented on MSITE-41:
------------------------------------

Any progress on this issue? I would actually be interested in picking it up if no one's working on it... assign it to me then...

I have a slightly different idea on how to implement this feature. You can get the idea here: http://prefcount.curre.net/ . Notice country icons on the right side in the breadcrumbs - I'm planning to make site locales available as a drop down menu. When a user switches from one locale to another, js code will try to load a page with the same name/path but from a different locale path. For example, choosing a French locale on the "site.net/ru/faq.html" page, would navigate the user to "site.net/fr/faq.html", and English (which is the default locale), would lead him/her to "site.net/faq.html", so there is an assumption here the faq.html would exist in all locale directories. I may add another way to switch between locales - navigate to the locale's index.html instead of trying to load the same path.

> Add a list of available language in site plugin
> -----------------------------------------------
>
>                 Key: MSITE-41
>                 URL: http://jira.codehaus.org/browse/MSITE-41
>             Project: Maven 2.x Site Plugin
>          Issue Type: New Feature
>          Components: internationalization
>            Reporter: Vincent Siveton
>         Attachments: language_menu.jpg, language_menu.jpg, language_menu.jpg, language_menu_as_select.jpg
>
>
> Please see the attached screenshots
> This preference menu could be a list of links or a <select/> tag. 
> The site descriptor needs to be updated:
> * for <select/>, by adding asSelect attribute in the menu element.
> * for links list, by adding nostrong attribute in the menu element (to not display as strong the current language and the current page)

-- 
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