What is the best way to use xml to translate a web application into different languages?

Posted on 2004-11-16
Last Modified: 2008-03-06
What is the best way to use xml to translate a web application into different languages?
I want to take a web application and translate all of the web pages to about 6 different languages.

The language translation data for the labels on the screen are currently stored in a database.
I need to translate all visible text, and tool tips and all error messages in code.

Considerations: speed of performance of application vs ease of maintenance or translation data vs eas of maintenance of application.

Some thoughts:
1. creating 6 different applications is simple to implement, but a lot of work each time the web pages change.

2. using an xsl style sheet for the application layout of pages, and then transforming it with xml translation data seems to be the way to go. (only 1 copy of the application layout)
Specific questions:
* How many xml files should I have for the translation data?(1 per page, or 1 for the whole app, or 1 for each language per page, or 1 for each language for the whole app)
* Is there a wysiwig way to update the translation data?
* what other considerations should i have.
Thanks for your input.
Question by:pventura
    1 Comment
    LVL 15

    Accepted Solution

    The best will be using technology you have, for localization capability (PHP, ASP, JSP).

    But if you portal have already build on XML, certanly you should it. But if not stop reinventing the wheel.

    check this link, regarding xml localization:

    it should give you an idea to start, and then you can answer your question, and we'll discuss it.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    The Client Need Led Us to RSS I recently had an investment company ask me how they might notify their constituents about their newsworthy publications.  Probably you would think "Facebook" or "Twitter" but this is an interesting client.  Their cons…
    Many times as a report developer I've been asked to display normalized data such as three rows with values Jack, Joe, and Bob as a single comma-separated string such as 'Jack, Joe, Bob', and vice versa.  Here's how to do it. 
    It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
    This video is in connection to the article "The case of a missing mobile phone (". It will help one to understand clearly the steps to track a lost android phone.

    794 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now