Organizing the Content of HTML Pages for Translation

Making the user interface available in the local language of the user is one of the fundamental tasks related to globalizing an application. Translatable sources for the content of an HTML page belong to the following categories:

  • Text strings hard-coded in the application code

  • Static HTML files, images files, and template files such as CSS

  • Dynamic data stored in the database

This section discusses externalizing translatable content in the following: