Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

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

Posted on 2004-11-16
3
Medium Priority
?
196 Views
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.
0
Comment
Question by:pventura
1 Comment
 
LVL 15

Accepted Solution

by:
dualsoul earned 1000 total points
ID: 12602433
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: http://www.experts-exchange.com/Web/Web_Languages/XML/Q_21163705.html

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

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Browsing the questions asked to the Experts of this forum, you will be amazed to see how many times people are headaching about monster regular expressions (regex) to select that specific part of some HTML or XML file they want to extract. The examp…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
Enter Foreign and Special Characters Enter characters you can't find on a keyboard using its ASCII code ... and learn how to make a handy reference for yourself using Excel ~ Use these codes in any Windows application! ... whether it is a Micr…
Suggested Courses

572 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