Provide tools for translation and display of text in multiple languages and support for regionalization/localization for dates, numbers, currency, measurement, or other local contexts.
Collaborative online annotation offers a new kind of reading experience: instead of making notes in the margin of a book, readers can now share their reactions instantaneously and build a body of c
This module provides the Date formater option that enables the year in a date to be displayed as Japanese era name. For example the year 2012 is the 24th year of the Heisei era and this module provides an option that would display it as "平成24".
Features
Introduces the "E" option to be used inside the Format string when creating a new Date and Time format (Configuration > Regional and language > Date and time > Formats, or visit /admin/config/regional/date-time/formats)
When displaying the date the "E" part outputs the Japanese era name in Japanese alphabet followed by the year number within the era, for example the year 2012 would be displayed as "平成24"
Japanese era names are configurable in this module settings (Configuration > Date API >
Japanese Era, or visit /admin/config/date/japanese_era). Several eras are already set and come with the module but can be changed, and new eras can be added.
It only works on Date fields so far, because it depends on Date API, so it's not recommended to use it in the built-in Date types Long, Medium and Short (so you don't get malformatted "Submitted by" text or similar non-field dates). Instead create a new Date type to use with the format that has the "E" option.
This is similar to the simple content boxes provided by the Boxes module itself, except that this type of box displays different content depending on the language of the current page.
FILE: .../all/modules/pareview_temp/test_candidate/plugins/simple_i18n_boxes.inc
--------------------------------------------------------------------------------
FOUND 5 ERROR(S) AND 1 WARNING(S) AFFECTING 5 LINE(S)
--------------------------------------------------------------------------------
11 | ERROR | Class name must begin with a capital letter
11 | ERROR | Class name must use UpperCamel naming without underscores
15 | ERROR | Public method name "simple_i18n_boxes::options_defaults" is not
| | in lowerCamel format, it must not contain underscores
31 | ERROR | Public method name "simple_i18n_boxes::options_form" is not in
| | lowerCamel format, it must not contain underscores
38 | WARNING | Line exceeds 80 characters; contains 92 characters
86 | ERROR | Public method name "simple_i18n_boxes::options_submit" is not