ilosuna / phpsqlitecms

phpSQLiteCMS is a simple and lightweight web content management system based on PHP and SQLite.
phpsqlitecms.net
MIT License
138 stars 75 forks source link

Multilingual site #15

Closed keranski closed 10 years ago

keranski commented 10 years ago

Hello Mark! I see that it's possible to create a multilingual site with your cms (for instance - http://procosara.org/en/). Could you please give us more info about how to do this (or even - to post a multilingual version of the cms here, if this is not a problem). Thanks! Kiril

ilosuna commented 10 years ago

You can set the page type to "Language redirect" (edit page --> Properties --> Type) and define the redirects according to the browser language (type parameter), e.g. "en,index_en;es,index_es;de,index_de". This will redirect the users to index_en, index_es or index_de according to their language settings if their preferred language is available ("Content Negotiation").