Hi Wayne, I am still not sure if a JIRA issue could be opened in this case. According to the instructions for translators at maven site plugin (http://maven.apache.org/plugins/maven-site-plugin/i18n.html), any translation (for instance, site-plugin_pt_BR.properties) should be saved with UTF-8 encoding. And the way I made it work was to save it with ISO-8859-1 encoding instead. Moreover there's another open issue (http://jira.codehaus.org/browse/MSITE-19) that is supposed to fix these encoding problems. Unfortunately it's taking too long to get them fixed. So until MSITE-19 is not closed I may stick with the workaround unless I get a thumbs up to add these new properties files for pt_BR (ISO-8859-1 encoding) in the maven-site-plugin trunk. Any thoughts ?
Dário -----Original Message----- From: Wayne Fay [mailto:[EMAIL PROTECTED] Sent: terça-feira, 2 de janeiro de 2007 18:46 To: Maven Users List Subject: Re: [m2] any tips for site internationalization ? Hi Dario, If you're reasonably convinced these encodings are invalid, please open a JIRA bug so someone can resolve them. Wayne On 1/2/07, Dário Oliveros <[EMAIL PROTECTED]> wrote: > > Happy New Year to everyone ! > > Dennis, > Thanks for the info. In fact I was aware of this issue already, but since it > was taking too long to get it fixed, I decided to check whether anyone had a > workaround. > Anyway it turned out that I found why site internationalization was not > working for brazilian portuguese (pt_BR) and most likely german too. That > was because their properties files from maven-site-plugin and > maven-project-info-reports-plugin were using UTF-8 as default encoding > instead of ISO-8859-1. After updating them manually in my local repository, > I could get my site internationalized. I've decided to make that change > because Velocity uses ISO-8859-1 as input and output encoding. Besides if > you take a look at the french and spanish properties files, you'll see their > enconding are ISO-8859-1 as well. > I hope this encoding issue gets fixed in the next site plugin release. > > Dário > > > dennisl-2 wrote: > > > > Dário Oliveros wrote: > >> Hi there, > >> I've been struggling to generate a fully internationalized website and I > >> was > >> wondering if anyone was able to get it working. Any tips ? > >> FYI, my site source files (located at site/xdoc directory) have > >> ISO-8859-1 > >> encoding and my site.xml, UTF-8. And my maven-site-plugin settings are > >> <locales>pt_br</locales> and <outputEncoding>UTF-8</outputEncoding>. > >> However, every time the site is generated, the left side menu (site.xml) > >> and > >> the project info characters are messed up. It has something to do with > >> encoding, but I am not able to figure it out. > >> Any help is welcome. > >> Dário > > > > You might find something helpful in this issue: > > > > http://jira.codehaus.org/browse/MSITE-19 > > > > -- > > Dennis Lundberg > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > -- > View this message in context: > http://www.nabble.com/-m2--any-tips-for-site-internationalization---tf2898463s177.html#a8127461 > Sent from the Maven - Users mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
