Tag Archives: JavaScript

Managing Translatable UI Text in JavaScript with RequireJS

Internationalizing a web application includes the task of extracting user interface text for translations. When text is separated from the rest of your application business logic, you are able to localize and translate it easier. Although the JavaScript language and browser environment don’t prescribe any particular method for creating externalized text resources, many libraries exist… Read More »

JavaScript Internationalization Libraries

Creating a browser-based web application requires a combination of HTML, CSS, JavaScript, and backend services. Creating an internationalized application requires additional techniques and libraries to provide and manage localized data formats and resources. This document focuses just on front-end JavaScript needs. Depending on your application, your internationalization needs will be different. However, common concerns include… Read More »

JavaScript file encodings

All text files have a character encoding regardless of whether you explicitly declare it. JavaScript files are no exception. This article describes both how and why you should declare an encoding when importing script files into an HTML document. JavaScript’s Character Model A JavaScript engine’s internal character set is Unicode. The Ecmascript 5.1 Standard standard… Read More »

Google’s Dart is JavaScript++?

Several years ago, Google was unhappy with the pace of change in the Java language and community. Their solution was to create the Dalvik VM and their Android platform. They were careful to not call it a Java platform, a Java implementation, JVM, or JRE; instead, they said it was the Java language on the… Read More »