A copied ApplicationResources.properties to
ApplicationResources_us.properties and
ApplicationResources_pt_BR.properties to
ApplicationResources.properties.

All strings got translated except the month names on the dates. They
are in english. Where i change it?

I think that there is a bug on the internationalization engine. Some
strings are retrieved from ApplicationResources.properties no matter
what locale the user choose.

On 5/10/07, sedat ciftci <[EMAIL PROTECTED]> wrote:

Except the ones that I wrote below, I did not find any
translation problems in roller 3.1 (Convert Line
Breaks?, Email scrambler? etc. are the plugins in the
org.apache.roller.ui.rendering package of the source
code and their name&description values are hardcoded
into the code as I mentioned below).

Also note that, I use my language as the default one
(ApplicationResources.properties). May be, in the
tabbed menu, the properties are read directly from
default properties file?
 Sedat

The mail related with translation that I sent to the
[EMAIL PROTECTED] before (about one week ago):
###################
Hello,
 I see that some of messages are hard coded (not read
from resource bundle file) in roller while I try to
translate it to my language. Here are the hard coded
messages that I have found:

- in
roller/WEB-INF/jsps/authoring/CommentManagement.jsp
there is a "mailto" word that is hardcoded.

- in roller/WEB-INF/jsps/authoring/Invitations.jsp and
roller/WEB-INF/jsps/core/YourWebsites.jsp,

       <c:if test="${invite.permissionMask == 0}"
>LIMITED</c:if>
       <c:if test="${invite.permissionMask == 1}"
>AUTHOR</c:if>
       <c:if test="${invite.permissionMask == 3}"
>ADMIN</c:if>

 are hard coded. Instead,

       <c:if test="${invite.permissionMask == 0}"
><fmt:message key="inviteMember.limited" /></c:if>
       <c:if test="${invite.permissionMask == 1}"
><fmt:message key="inviteMember.author" /></c:if>
       <c:if test="${invite.permissionMask == 3}"
><fmt:message key="inviteMember.administrator"
/></c:if>

can be used.

- in roller/WEB-INF/jsps/tiles/search.jsp,
 alert("Please enter a search term to continue.");
 is hardcoded.

- in roller/WEB-INF/jsps 403Body.jsp, 404Body.jsp and
errorBody.jsp  "Status Code","Message","Type" and
"Exception" are hardcoded.

- in roller/WEB-INF/velocity/template/feeds
site-comments-atom.vm, site-comments-rss.vm,
weblog-comments-rss.vm and weblog-comments-atom.vm,
"Comments" is hardcoded.

- in roller/WEB-INF/velocity/weblog.vm,
 <option value="">- In Category -</option>
 is hardcoded. instead,
 <option value="">- $text.get("mainPage.category")
-</option>
 can be used.

- in classes under the org.apache.roller.ui.rendering
package, their name and description fields are
hardcoded.

- in org.apache.roller.pojos.Theme class,
 public static final String CUSTOM = "custom";
 is hardcoded.

These are the ones that I have found,
 Sedat

--- Dave <[EMAIL PROTECTED]> wrote:

> On 5/9/07, Wladimir Boton <[EMAIL PROTECTED]> wrote:
> > I copied the ApplicationResources.properties from
> my installation of 3.1.
> > and translated everything, including:
> > tabbedmenu.main=Principal
> > tabbedmenu.website.user=Seu perfil
> > tabbedmenu.user.websites=Seus weblogs
> > tabbedmenu.createWebsite=Criar weblog
> > and all tabbedmenu. entries.
> >
> > if I change the language to any other that come
> with the 3.1 version
> > don't translate the tab menu either. For exemple,
> I tried russian
> > (ApplicationResources_ru.properties), it keeps the
> menu in english.
>
> This is starting to look like a real-live bug in
> Roller 3.1. I can't
> get anything other than the login page to translate.
>
> Anybody else having problems with localizations in
> Roller 3.1?
>
> - Dave
>


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com



--
Wladimir Boton
http://www.wboton.com

Reply via email to