Browse Prior Art Database

A method for web user interfaces National Language Support enabling

IP.com Disclosure Number: IPCOM000028840D
Original Publication Date: 2004-Jun-04
Included in the Prior Art Database: 2004-Jun-04

Publishing Venue

IBM

Abstract

Local (Java) GUIs have a standardized method for internationalization based on Java resource bundles, typically stored as plain text files edited by translators with their codepage, and later on converted to ASCII format before packaging. The character set environment for Web UIs is more complex, since available codepages depend on the connected client, and where therefore is desirable working with a universal character set as UTF-8. The method described below allows Web User Interfaces based on the MVC design pattern and whose view is implemented with XSL transformations (XSLT) to be easily and quickly localized without having to take care of codepages. The basic idea is to individualize localizable resources within the style sheets (XSL files responsible to produce the HTML stream) and store them into XML dictionaries, making the generic style sheets maintain references to the externalized resources. This way localizable resources are stored together into dictionaries, divided by both resource type (labels, headings, etc., etc.) and languages. Being dictionaries XML files, they are in UTF-8 format, which means no native codepage to ASCII post-translation processing.