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

Dennis Lundberg commented on MSITE-41:
--------------------------------------

Yevgeny, when you say "locale icons" do you mean images of flags for different 
countries?
If so, then I would be opposed to adding those.

The best way is to use the Locale objects and extract the information from 
there. I see two options for what to put in a drop-down menu.

1. Use the 2-letter language codes as defined in ISO 639-1. "en" for English, 
"fr" for French, "de" for German etc.

2. Use the name of the language, written in the current language of the site 
you are viewing. If you are looking at an English page the names of the 
languages would be written in English. "German", "Spanish" and "French" for 
example. If the page is in German, you would use values like "Deutsch", 
"Spanisch" and "Französisch" instead. It is possible to get this information 
using the Locale objects. The [l10n 
Plugin|http://mojo.codehaus.org/l10n-maven-plugin/] uses some of those features.

> 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


Reply via email to