Author Topic: Choise the language with the url  (Read 2203 times)

krysh nar

  • Newbie
  • *
  • Posts: 8
Choise the language with the url
« on: April 28, 2011, 02:47:50 pm »
Hi all,

Is possible to choise the language with the url :
For exemple : to see the french version
- www.my_megazine_perso.com/fr
- www.my_megazine_perso.com?language=fr

thank all the responses

Florian Nücke

  • κρύα πόδια
  • Administrator
  • Hero Member
  • *****
  • Posts: 1989
  • MegaZine3 Developer
    • MegaZine3
Re: Choise the language with the url
« Reply #1 on: May 03, 2011, 05:00:18 pm »
Not directly, but if your server supports any kind of scripting language (e.g. PHP) you could work around that by adjusting the book definition on the fly, or embedding a small JavaScript which calls MegaZine.setLanguage on the MegaZine.onJSInit.
For the Snark was a Boojum, you see.

Before you ask a question
          After you get an answer
  • please document your problem with the answer in the Project Wiki. (e.g. in the FAQs)
  • help others out if you can, by answering their questions on the forum.