Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
10.1145/1145581.1145650acmconferencesArticle/Chapter ViewAbstractPublication PagesicweConference Proceedingsconference-collections
Article

Web application internationalization and localization in action

Published: 11 July 2006 Publication History

Abstract

A template engine that strictly enforces model-view separation has been shown to be at least as expressive as a context free grammar allowing the engine to, for example, easily generate any file describable by an XML DTD. When faced with supporting internationalized web applications, however, template engine designers have backed off from enforcing strict separation, allowing unrestricted embedded code segments because it was unclear how localization could otherwise occur. The consequence, unfortunately, is that each reference to a localized data value, such as a date or monetary value, replicates essentially the same snippet of code thousands of times across hundreds of templates for a large site. The potential for cut-and-paste induced bugs and the duplication of code proves a maintenance nightmare. Moreover, page designers are ill-equipped to deal with code fragments. But the difficult question remains: How can localization be done without allowing unrestricted embedded code segments that open the door to model-view entanglement? The answer is simply to automate the localization of data values, thus, avoiding code duplication, making it easier on the developer and designer, and reducing opportunities for the introduction of bugs--all-the-while maintaining the sanctity of strict model-view separation. This paper describes how the StringTemplate template engine strictly enforces model-view separation while handily supporting internationalized web application architectures. Demonstrations of page text localization, locale-specific site designs, and automatic data localization are provided.

References

[1]
How We Made the Web Site International and Accessible: A Case Study. Maria Gabriela Alvarez, Leonard R. Kasday, and Steven Todd 4th Conference on Human Factors & the Web. June 1998.
[2]
Enhydra. XMLC. http://xmlc.enhydra.org/project/aboutProject/index.html
[3]
FreeMarker. http://freemarker.sourceforge.net.
[4]
JSP. http://java.sun.com/products/jsp.
[5]
Sing Li. Create internationalize JSP applications. http://www-128.ibm.com/developerworks/java/library/j-jspapp March 2005.
[6]
MonoRail http://www.castleproject.org/index.php/MonoRail
[7]
Terence Parr. Enforcing Strict Model-View Separation in Template Engines. In WWW2004 Conference Proceedings p. 224, May 17-20 2004, New York City.
[8]
Govind Seshadri. Internationalize JSP-based Websites. http://www.javaworld.com/jw-03-2000/jw-03-ssj-jsp.html, March 2000.
[9]
De Troyer, O. and Casteleyn, S. (2004). Designing localized web sites. In 5th International Conference on Web Information Systems Engineering (WISE 2004), volume 3306, pages 547558. Springer.
[10]
Velocity. http://jakarta.apache.org/velocity/index.html {11} A Framework for the Support of Multilingual Computing Environments, Yip Chi Technical report TR-97-02 University of Hong Kong.

Cited By

View all
  • (2022)Automated Localization Testing of Mobile Applications MethodInternational Journal of Software Engineering and Knowledge Engineering10.1142/S021819402250028032:05(769-790)Online publication date: 26-May-2022
  • (2021)Automated Visual Testing of Application User Interfaces Using Static Analysis of ScreenshotsInternational Journal of Software Engineering and Knowledge Engineering10.1142/S021819402150004231:02(167-191)Online publication date: 2-Mar-2021
  • (2018)On the Use of Metaprogramming and Domain Specific LanguagesProceedings of the VII Brazilian Symposium on Software Components, Architectures, and Reuse10.1145/3267183.3267194(102-111)Online publication date: 17-Sep-2018
  • Show More Cited By

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Conferences
ICWE '06: Proceedings of the 6th international conference on Web engineering
July 2006
384 pages
ISBN:1595933522
DOI:10.1145/1145581
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

Sponsors

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 11 July 2006

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. internationalization
  2. localization
  3. model-view-controller
  4. template engines
  5. web applications

Qualifiers

  • Article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)14
  • Downloads (Last 6 weeks)0
Reflects downloads up to 03 Oct 2024

Other Metrics

Citations

Cited By

View all
  • (2022)Automated Localization Testing of Mobile Applications MethodInternational Journal of Software Engineering and Knowledge Engineering10.1142/S021819402250028032:05(769-790)Online publication date: 26-May-2022
  • (2021)Automated Visual Testing of Application User Interfaces Using Static Analysis of ScreenshotsInternational Journal of Software Engineering and Knowledge Engineering10.1142/S021819402150004231:02(167-191)Online publication date: 2-Mar-2021
  • (2018)On the Use of Metaprogramming and Domain Specific LanguagesProceedings of the VII Brazilian Symposium on Software Components, Architectures, and Reuse10.1145/3267183.3267194(102-111)Online publication date: 17-Sep-2018
  • (2018)DataGrid Module for Nette Framework2018 IEEE 22nd International Conference on Intelligent Engineering Systems (INES)10.1109/INES.2018.8523852(000139-000144)Online publication date: Jun-2018
  • (2012)The Approach and Research of Localization for Student Response SystemLearning with Mobile Technologies, Handheld Devices, and Smart Phones10.4018/978-1-4666-0936-5.ch008(123-146)Online publication date: 2012
  • (2010)Internationalization aspects in developing web applications for central and east europe2010 6th Central and Eastern European Software Engineering Conference (CEE-SECR)10.1109/CEE-SECR.2010.5783163(130-134)Online publication date: Oct-2010
  • (2007)A double-model approach to achieve effective model-view separation in template based web applicationsProceedings of the 7th international conference on Web engineering10.5555/1770588.1770634(442-456)Online publication date: 16-Jul-2007

View Options

Get Access

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media