Internationalization¶
Topics
Summary¶
Why intra-mart Accel Platform supports internationalization ?¶
By system internationalization, it means that the people with various languages and in diffrent regions can use the system that match with their languages and time zones.People with different languages and in different regions will work collaboratively in the enterprises that promote globalization, their systems also need to support internationalization.
Elements and Reasons for Internationalization¶
intra-mart Accel Platform supports internationalization on language, time zone, and date and time format.
- Multi-Language
If unfamiliar language is displayed on the screen, users may not be able to understand the contents, may execute tasks less efficiently, or may make more mistakes. It is necessary that the language the user is familiar with is displayed.
- Time Zone
Users work and act based on the time in their region. Therefore, the date and time data users access should be the date and time data in user’s time zone.
- Date and Time Format
Format of date and time varies depending on cultural zones and regions. It is necessary to have the format for user’s region.Unless the format that is suitable for the region is provided, there would be a risk of unexpected misunderstanding.For example, the date denoted by [12/09/10] has different meanings in different regions.
Region Displayed Result Japan Year2012 Month9 Day10 UK Year2010 Month9 Day12 USA Year2010 Month12 Day9
Internationalization Programming Sample¶
- Get Message in Multi-Language Form
- Utilize User Time Zone and Date and Time Format
- Assumptions
- Store Date and Time sent from the Screen to DB
- Store Date sent from the Screen to DB
- Display Date and Time stored on DB to User Screen
- Display Date stored on DB to User Screen
- Create 3-days dates from today of user time zone on the client side, and send the last date to the server side.
- Receive character string sent from the client side as Date using @AccountDateFormat annotation.
- Receive character string sent from the client side as Date using Data binding.
- Set JSON to the response and set the format of Date type property for return.