p:editor language

UI Components for JSF
Post Reply
Mateus Freitas
Posts: 3
Joined: 28 Apr 2009, 12:32

18 May 2009, 02:53

Hello,
How do I change the language of the p:editor to Portuguese - Brazil?

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

18 May 2009, 10:20

Currently English and Turkish are supported out of the box. If you can contribute with a Portuguese translation, we'll be glad to add it. Language bundle is a javascript array.

http://code.google.com/p/primefaces/sou ... /editor.js

Also probably the following would work as a workaround, After p:resources component add the following script;

Code: Select all

<script type="text/javascript">
PrimeFaces.widget.EditorI18NProvider.messageBundle["pt"] = {
MSG_FONT_STYLE : "Your translation here"
};
</script>

Code: Select all

<p:editor language="pt" .../>

Mateus Freitas
Posts: 3
Joined: 28 Apr 2009, 12:32

18 May 2009, 12:56

Hello,
I translate and send the translation for you. I would also know how to translate the (title-alt) of each element

exemplo:

bold, underline, ...

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

18 May 2009, 14:23

I think we've missed the translations keys for link alt's as well. We need to update it on our end.

You can create an issue and upload your translations using the issue tracker: http://code.google.com/p/primefaces/issues/list

Thanks.

mayro3
Posts: 1
Joined: 20 Sep 2010, 17:14

20 Sep 2010, 17:20

Hello

i would like to translate editor component into Slovak language. I`ve tried previous link http://code.google.com/p/primefaces/sou ... /editor.js but it doesn`t work. How can i translate it?
any help would be appreciated.

Miro

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

20 Sep 2010, 19:05

New Editor has a different i18n support which will be documented in new user's guide.

bmon
Posts: 12
Joined: 30 Mar 2011, 18:11

31 Mar 2011, 18:14

Hi, we have to have an abilty to let user to type text in english and show the translated version of that text in a different languages. Is there any way we can do it. I've read that ICEFaces can do it, but it is not compatable with RichFaces.

Thank you

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 37 guests