Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other Multilingual Website Reply To: Multilingual Website

#171045
__
Participant

Look up internationalization (or i18n). Generally, what you do is separate all of the text from the html, and then create catalogs of each piece for each language you support. When you serve the page, you check which language the user prefers and insert the appropriate text.

gettext is the most common and complete solution for internationalizing your website, but you could also store your translations in a database, text files, or even in code if there’s not too much of it.