Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
message('cloud.size')
message('cloud.size', :default => 'Cloud')
message('with.arguments', :params => ['First', 'Two'])
message('with.arguments', :params => ['First', 'Two'], :default => 'Not found')

Of course the Rails framework provides other formatting methods like :

Code Block

# localize dates or datetimes
l(date_or_time)

GWT API

GWT provides its own mechanisms to internationalize components. The static technique is the most efficient and must be used into Sonar GWT extensions. Read the Google documentation for more details.

Note
No I18n API for batch extensions
No I18n API for batch extensions

Release 2.10 supports i18n only in server extensions. Batch extensions can not access to bundles.

How to contribute

How to add a language to a plugin

...