Computing.Net > Forums > Web Development > Bilingual Website- Best Way?

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Bilingual Website- Best Way?

Reply to Message Icon

Name: agvkrioni
Date: January 2, 2009 at 19:32:42 Pacific
OS: NA
CPU/Ram: NA
Product: N/a / NA
Subcategory: General
Comment:

I am designing a website for a nonprofit organization that wants it in both English and Spanish. We have someone to translate the text (which is currently 100% in Spanish). What would be the best way to do this so that when the user clicks the right button the text reverts to their language?

I only know HTML and some CSS. As a last resort I could just create two separate websites with the same main page where the user would click one link for Spanish and one for English. But then updating the website would require fixing two pages for every one page of content (one for English and one for Spanish). Is that the normal thing to do? How do professional web site designers deal with this problem?



Sponsored Link
Ads by Google

Response Number 1
Name: RTAdams89
Date: January 2, 2009 at 21:57:10 Pacific
Reply:

I would imagine most websites use PHP (or another server side scripting language) and a database. If you don't know how to do that, then I suppose having two html pages would be your best bet. Perhaps name them as "pagename.en.html" and "pagename.es.html". Just be careful when linking to pages to be sure that English pages only link to the English version of other pages.

-Ryan Adams
Free Computer Tips and more:http://RyanTAdams.com

Paid Tech Support: Black Diamond


0

Response Number 2
Name: Michael J (by mjdamato)
Date: January 4, 2009 at 22:39:36 Pacific
Reply:

Many CMS type site (e.g PHP nuke) code the "content" of the pages with placeholders and pull the actual text from "language" files. This would require a server-side language such as PHP.

If you ONLY have to have 2 languages, then just sticking with flat HTML pages is an option. But, even with two languages it can still be problematic when updating. If you were to have more than two then you definitely need to look into a server-side language.

Michael J


0

Response Number 3
Name: Radix-64
Date: March 16, 2009 at 14:34:49 Pacific
Reply:

Hi, if you know that you are only maintaining two languages, then the solution that you proposed is a common one for web designers. If there is a lot of translated content and anticipate frequent content updates, then you might consider implementing a CMS (Content Management System) for your website for easier site maintenance.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Web Development Forum Home


Sponsored links

Ads by Google


Results for: Bilingual Website- Best Way?

Best way to redirect www.computing.net/answers/webdevel/best-way-to-redirect/3346.html

Best Way To Format A Resume www.computing.net/answers/webdevel/best-way-to-format-a-resume/3708.html

Archiving My Old Website www.computing.net/answers/webdevel/archiving-my-old-website/2471.html