[jira] Updated: (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:all-tabpanel ] Yevgeny Nyden updated MSITE-41: --- Attachment: MSITE-41-maven-site-plugin.patch MSITE-41-doxia-sitetools.patch I added all available position options: left, right, navigation-top, navigation-bottom, bottom, so that the same positioning is avalable for i18nBanner, version, and release date. UI test is available here: http://sandbox.curre.net/mvn-site/0 (replace 0 with 1, 2... 5 to see other layout versions). Tested it on FF, Chrome, Safari, and IE7, 8. Is there an official statement on supported browsers? Btw, I wouldn't care about IE6 at this point. Note to self (and just so you know): I indent to do more work on this: 1) internationalize the title string on the i18nBannerLink; 2) add an image to i18nBannerLink; 3) refactor the publishDate template (it's a mess right now), which will probably remove all IE7 hacks I added; 4) make sure skins support the new i18nBanner; 5) write site documentation/example on how to configure i18n; 6) add unit tests to test the new feature. Anything else I missed? Is there somebody who can help me with some of these (e.g. documentation)? Add a list of available language in site plugin --- Key: MSITE-41 URL: http://jira.codehaus.org/browse/MSITE-41 Project: Maven 2.x and 3.x Site Plugin Issue Type: New Feature Components: internationalization Reporter: Vincent Siveton Fix For: 2.3 Attachments: language_menu.jpg, language_menu.jpg, language_menu.jpg, language_menu_as_select.jpg, MSITE-41-doxia-sitetools.patch, MSITE-41-maven-site-plugin.patch 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
[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-tabpanelfocusedCommentId=248972#action_248972 ] Yevgeny Nyden commented on MSITE-41: OK, I'll try to make 3 placement options available: 1) breadcrumbs right (current); 2) breadcrumbs left; 3) right before the BUILD logo. The default will be (1). Add a list of available language in site plugin --- Key: MSITE-41 URL: http://jira.codehaus.org/browse/MSITE-41 Project: Maven 2.x and 3.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
[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-tabpanelfocusedCommentId=248945#action_248945 ] Yevgeny Nyden commented on MSITE-41: Sure, I'll make it lower case. I think it looks better in caps though. Tested more on Windows today - yeah, I just want to be sure about js and css. Still need to get to IE6. What place choices do you think should be available? Add a list of available language in site plugin --- Key: MSITE-41 URL: http://jira.codehaus.org/browse/MSITE-41 Project: Maven 2.x and 3.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
[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-tabpanelfocusedCommentId=248859#action_248859 ] Yevgeny Nyden commented on MSITE-41: Dennis, or in fact, anybody who's interested, please take a look at the proposed feature here: http://curre.net/mvn-site/ What browser should we support? I tested this in IE8, FF3.6 (on Mac), and Safari 5 (on Mac), but I think it should work just fine in other browsers as well. I will submit the diff for review after your feedback. Add a list of available language in site plugin --- Key: MSITE-41 URL: http://jira.codehaus.org/browse/MSITE-41 Project: Maven 2.x and 3.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
[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-tabpanelfocusedCommentId=246501#action_246501 ] Yevgeny Nyden commented on MSITE-41: Dennis, sorry for confusion, yes, I meant the country icons. I see your point now, so I'll use language names (or 2-letter codes) instead - these values are available on the locale's java.util.Locale object. Although I still wish there would be a way to represent them graphically. Add a list of available language in site plugin --- Key: MSITE-41 URL: http://jira.codehaus.org/browse/MSITE-41 Project: Maven 2.x and 3.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
[jira] Commented: (DOXIASITETOOLS-40) List of site locales should be available in the rendering context.
[ http://jira.codehaus.org/browse/DOXIASITETOOLS-40?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=246194#action_246194 ] Yevgeny Nyden commented on DOXIASITETOOLS-40: - Indeed, this would be better, but I think it wouldn't be consistent with the way we handle other collections in SiteRenderingContext. I made this collection immutable for the velocity's context. However, I don't feel strongly about this, and if you insist, I can change it. Btw, sorry about the style, I'm submitting a new patch with reformatted code. As for the locale icons, I will answer on MSITE-41. List of site locales should be available in the rendering context. -- Key: DOXIASITETOOLS-40 URL: http://jira.codehaus.org/browse/DOXIASITETOOLS-40 Project: Maven Doxia Sitetools Issue Type: Improvement Components: Site renderer Affects Versions: 1.1.4 Reporter: Yevgeny Nyden Attachments: siteLocalesChange-sitetools.diff Attached is a small improvement that adds a list of available site locales to the site rendering context. This would make a site template be aware of other locales available for the site and make it possible to implement a locale switching option. -- 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
[jira] Updated: (DOXIASITETOOLS-40) List of site locales should be available in the rendering context.
[ http://jira.codehaus.org/browse/DOXIASITETOOLS-40?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yevgeny Nyden updated DOXIASITETOOLS-40: Attachment: siteLocalesChange-sitetools-2.diff Here is an updated change. List of site locales should be available in the rendering context. -- Key: DOXIASITETOOLS-40 URL: http://jira.codehaus.org/browse/DOXIASITETOOLS-40 Project: Maven Doxia Sitetools Issue Type: Improvement Components: Site renderer Affects Versions: 1.1.4 Reporter: Yevgeny Nyden Attachments: siteLocalesChange-sitetools-2.diff, siteLocalesChange-sitetools.diff Attached is a small improvement that adds a list of available site locales to the site rendering context. This would make a site template be aware of other locales available for the site and make it possible to implement a locale switching option. -- 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
[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-tabpanelfocusedCommentId=246198#action_246198 ] Yevgeny Nyden commented on MSITE-41: Dennis, to respond to a comment you made on the DOXIASITETOOLS-40 issue: ... it's a bad idea to use images of flags to represent languages. You mentioned adding images in your previous comment. See http://www.w3.org/TR/i18n-html-tech-lang/#ri20040808.173208643 , I'd like to say that I think it's nice to have an option to use locale names as well as locale icons. Perhaps, it's even better to have icons as default, and keep the names as a build time option. What do you think? 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
[jira] Commented: (DOXIASITETOOLS-40) List of site locales should be available in the rendering context.
[ http://jira.codehaus.org/browse/DOXIASITETOOLS-40?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=245825#action_245825 ] Yevgeny Nyden commented on DOXIASITETOOLS-40: - That's great. Someone with committer access, please, commit these changes. List of site locales should be available in the rendering context. -- Key: DOXIASITETOOLS-40 URL: http://jira.codehaus.org/browse/DOXIASITETOOLS-40 Project: Maven Doxia Sitetools Issue Type: Improvement Components: Site renderer Affects Versions: 1.1.4 Reporter: Yevgeny Nyden Attachments: siteLocalesChange-sitetools.diff Attached is a small improvement that adds a list of available site locales to the site rendering context. This would make a site template be aware of other locales available for the site and make it possible to implement a locale switching option. -- 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
[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-tabpanelfocusedCommentId=245826#action_245826 ] Yevgeny Nyden commented on MSITE-41: Vincent, can you please assign this issue to me. Is there a way I can do it (reassign it) myself? Where/how? 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
[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-tabpanelfocusedCommentId=245906#action_245906 ] Yevgeny Nyden commented on MSITE-41: Ok, I'll attach the diff when I'm ready. 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
[jira] Commented: (DOXIASITETOOLS-40) List of site locales should be available in the rendering context.
[ http://jira.codehaus.org/browse/DOXIASITETOOLS-40?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=245907#action_245907 ] Yevgeny Nyden commented on DOXIASITETOOLS-40: - Yes. Additionally, I'd need to make this list of locales be available in the template rendering context (I guess, by modifying AbstractSiteRenderingMojo.java), and add additional css, javascript, and images. List of site locales should be available in the rendering context. -- Key: DOXIASITETOOLS-40 URL: http://jira.codehaus.org/browse/DOXIASITETOOLS-40 Project: Maven Doxia Sitetools Issue Type: Improvement Components: Site renderer Affects Versions: 1.1.4 Reporter: Yevgeny Nyden Attachments: siteLocalesChange-sitetools.diff Attached is a small improvement that adds a list of available site locales to the site rendering context. This would make a site template be aware of other locales available for the site and make it possible to implement a locale switching option. -- 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
[jira] Created: (DOXIASITETOOLS-40) List of site locales should be available in the rendering context.
List of site locales should be available in the rendering context. -- Key: DOXIASITETOOLS-40 URL: http://jira.codehaus.org/browse/DOXIASITETOOLS-40 Project: Maven Doxia Sitetools Issue Type: Improvement Components: Site renderer Affects Versions: 1.1.4 Reporter: Yevgeny Nyden Attachments: siteLocalesChange-sitetools.diff Attached is a small improvement that adds a list of available site locales to the site rendering context. This would make a site template be aware of other locales available for the site and make it possible to implement a locale switching option. -- 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
[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-tabpanelfocusedCommentId=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
[jira] Updated: (MSITE-520) Russian localization
[ http://jira.codehaus.org/browse/MSITE-520?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yevgeny Nyden updated MSITE-520: Attachment: site-tool_ru.properties site-plugin_ru.properties project-info-report_ru.properties No problem. Russian localization Key: MSITE-520 URL: http://jira.codehaus.org/browse/MSITE-520 Project: Maven 2.x Site Plugin Issue Type: Improvement Components: internationalization Affects Versions: 3.0-beta-2 Reporter: Yevgeny Nyden Assignee: Dennis Lundberg Attachments: project-info-report_ru.properties, project-info-report_ru.properties, site-plugin_ru.properties, site-plugin_ru.properties, site-tool_ru.properties, site-tool_ru.properties Attached are the Russian localization resource files for the site, report, and tools plugins. To create localized versions of resource files, I've used default resource files from the following plugins: maven-site-plugin - 3.0-beta-2 maven-project-info-reports-plugin - 2.2 maven-doxia-tools - 1.2.1 Let me know if you need to update them for the next plugin releases - I'd be happy to help. -- 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
[jira] Created: (MSITE-520) Russian localization
Russian localization Key: MSITE-520 URL: http://jira.codehaus.org/browse/MSITE-520 Project: Maven 2.x Site Plugin Issue Type: Improvement Components: internationalization Affects Versions: 3.0-beta-2 Reporter: Yevgeny Nyden Attachments: project-info-report_ru.properties, site-plugin_ru.properties, site-tool_ru.properties Attached are the Russian localization resource files for the site, report, and tools plugins. To create localized versions of resource files, I've used default resource files from the following plugins: maven-site-plugin - 3.0-beta-2 maven-project-info-reports-plugin - 2.2 maven-doxia-tools - 1.2.1 Let me know if you need to update them for the next plugin releases - I'd be happy to help. -- 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