eZ Community » Forums » Developer » Multilingual support
expandshrink

Multilingual support

Multilingual support

Thursday 04 February 2010 1:10:54 pm - 4 replies

Hello,

I ve been looking for a solution to this problem for 2 days...

I've got two siteaccesses on my site : fr and eng.

I want to make a button to switch between both on every content on my site

Ex: i am on "mysite.com/fr/ma voiture"

I want to have a button that will go to "mysite.com/en/my car" (my car and ma voiture being virtual URLs of the same content object). Is there any built-in way to do this? Or must i code it all myself? (tried for 2 days, i failed miserably till now)

Thursday 04 February 2010 1:21:03 pm

What version of ezpublish do you use? Since ezp 4.1 there is a switchlanguage feature. Take a look here >> http://pubsvn.ez.no/nextgen/stabl...c/features/4.1/language_switcher.txt

Modified on Thursday 04 February 2010 1:23:58 pm by Jarosław-- Heba

Thursday 04 February 2010 2:16:58 pm

Hello, thanks for the answer

I use 4.0.3

Damn, so close!

So i guess i have to code it? *sigh*

Thursday 04 February 2010 3:13:00 pm

yes, or consider an upgrade happy.gif Emoticon

Feel free to share your work if you will code such feature for ezp 4.0.x

Kind regards

Jarosław 

Thursday 04 February 2010 9:25:21 pm

There are extensions to let you fetch urls alias in other languages for 4.0 / 3.10.

But It's a bit more work and you should ideally re code it when you upgrade, but less then doing it from scratch, search for "fetchurlalias".

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from