[richfaces-issues] [JBoss JIRA] Commented: (RF-11347) Editor: add @lang attribute

Lukáš Fryč (JIRA) jira-events at lists.jboss.org
Thu Sep 22 18:52:26 EDT 2011


    [ https://issues.jboss.org/browse/RF-11347?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12630090#comment-12630090 ] 

Lukáš Fryč commented on RF-11347:
---------------------------------

There are three localized settings:
(1) textarea (hidden)
(2) iframe contentsEditable (WYSIWYG editor area itself)
(3) internationalization of interface (buttons, popups, etc.)

Since (1) and (2) are affected by @lang directly,

(3) is derived from browser settings, that's why you are seeing span[lang=en].
@lang attribute is actually used as defaultLocale if no locale is determined from browser.

You can still influence the defaultLocale by forcing editor to use your prefered one,
and it is using configuration: @config="language: 'fr'".

> Editor: add @lang attribute
> ---------------------------
>
>                 Key: RF-11347
>                 URL: https://issues.jboss.org/browse/RF-11347
>             Project: RichFaces
>          Issue Type: Enhancement
>      Security Level: Public(Everyone can see) 
>          Components: component-input
>    Affects Versions: 4.1.0.Milestone1
>            Reporter: Lukáš Fryč
>            Assignee: Lukáš Fryč
>             Fix For: 4.1.0.Milestone2
>
>
> This attribute will configure:
> * textarea at lang
> * editor.config.language

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the richfaces-issues mailing list