|
| Index | Recent Threads | Unanswered Threads | List Polls | Public Albums | Who's Online | Help |
|
|
| No member browsing this thread |
|
Thread Status: Active Total posts in this thread: 3 |
|
| Author |
|
|
Stranger Joined: Jun 25, 2008 Post Count: 0 Status: Offline |
Hi, I want to translate the defaut folder names (Trash, Inbox, Draft and Sent) into Spanish (Papelera, Bandeja de entrada, Borradores and Enviados). So, how can I do it? I've seen in the source code of some JSP's that there are lines like "if folderName.equals("Trash") and I've also seen that in the table "mvnforummessagesfolder" there are a column "folderName" wich contains the names directly I've also seen the java Class MVNForumConstants which defines variables for these folder names, but afterwards there are so many places (JSPs) where these variables aren't used. Can anybody help me? Thanks in advance. Enric. |
||
|
|
mvnForum developer Joined: Jan 21, 2008 Post Count: 123 Status: Offline |
Hi, I want to translate the defaut folder names (Trash, Inbox, Draft and Sent) into Spanish (Papelera, Bandeja de entrada, Borradores and Enviados). So, how can I do it? I've seen in the source code of some JSP's that there are lines like "if folderName.equals("Trash") and I've also seen that in the table "mvnforummessagesfolder" there are a column "folderName" wich contains the names directly I've also seen the java Class MVNForumConstants which defines variables for these folder names, but afterwards there are so many places (JSPs) where these variables aren't used. Can anybody help me? Thanks in advance. Enric. We recommend that you write a class TranslateUtil to translate foldername String translateToSpanish(String folderName) |
||
|
|
mvnForum developer Vietnam Joined: Sep 16, 2004 Post Count: 85 Status: Offline |
Plz try in this way: Add some of new i18n keys, let say - mvnforum.privatemessage.inbox = .. - mvnforum.privatemessage.trash = .. .. to the i18n properties files (at least for default & Spanish) then, change accordingly the static hard-coded texts in mymessage.jsp. Hence, you can localize any hard-coded texts. |
||
|
|
|
|
|
Current timezone is GMT Jan 8, 2009 7:21:21 PM |
