OZONE Asylum
Forums
Stupid Basic HTML
Web page in 2 languages
This page's ID:
27287
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
[quote] [b]divinechaos said:[/b] When I read the question, I wondered whether you couldn't include both languages in the markup and specify the visible one via CSS. [/quote] I don't know if it's possible using [b]only[/b] CSS, and even if it is, you'd have to rely on cookies (for consistency) and figure out what to do if someone (for example) sent a URL to someone else. How would you know which language to display? I think the best bet here would be to go the route Blaise outlined (that is, server-side scripting). I want to add that the site doesn't necessarily have to be database-driven for this to work. You could store the content in text files and include them in the appropriate locations. Menu items, etc. could be built into the code and triggered based on the language variable. It wouldn't be much more difficult to accomplish than a single-language PHP (or whatever) driven site. After all, the different language versions are just different content. (Tangent: as a translator, I look at this problem from a semantic point of view, and I just wanted to make sure you realize that the different language versions are indeed different content, not just different versions of the same content. By that I mean your content will (or at least should) change depending on your audience, so keep that in mind as you translate. Apologies if that's already obvious to you. End tangent.) ___________________________ Suho: [url=http://www.liminality.org]www.liminality.org[/url] | [url=http://www.ozoneasylum.com/4837]Cell 270[/url] | [url=http://www.ozoneasylum.com/5689]Sig Rotator[/url] | [url=http://www.ozoneasylum.com/22173]the Fellowship of Sup[/url]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »