Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Archive

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Bilingual Site Module


Go to End
Reply

13 Posts   4504 Views

Avatar
Nivanka

12 November 2008 at 6:08pm Community Member, 395 Posts

Hi,

With reference to the Menu customization thread I posted, I said that I will put the codes somewhere on the forum, here you can find them ;)

A little Documentation for that

HOW IT WORKS:
- This module stores a page in two languages and manage a session to switch the site between those two, The menus, Content, Titles, change according to the selected language

INSTALLATION:
- Extract this folder to the root of your website and run a /db/build?flush=1
- Open the backend you will find a new page type called bilingual page.
- Currently I have added the flags of the UK and Spain you can replace them with any other.

HOW TO USE:
- There is nothing to worry about, all are clear fill in the inputs with the relevant language and then view your site. You will see the language selector on the top right hand corner. Select them and see

Would like to hear your comments about this..

Avatar
Stan

17 November 2008 at 1:16pm Community Member, 1 Post

Hi
That's very handy! Just what I was looking for, really.

However, the Breadcrumbs I have in my template don't get translated from one language to the other. Please, help.

Avatar
Nivanka

17 November 2008 at 3:11pm (Last edited: 17 November 2008 3:36pm), Community Member, 395 Posts

I will be do that fix to the next version of this, it is not done yet.

Avatar
itlinux

18 November 2008 at 10:38am Community Member, 40 Posts

well I installed this but I do not see it in the pull down menu. Any suggestions? Thanks. What files should I modify to make it in italian.

Remo

Avatar
Nivanka

18 November 2008 at 3:48pm Community Member, 395 Posts

Try to refresh the admin panel and see.

Avatar
Nivanka

22 November 2008 at 4:11am (Last edited: 26 November 2008 1:46pm), Community Member, 395 Posts

I finished my website project in which I used this code. I thought of posting the URL here as you can get an idea of the codes, and how it works.

[url]http://sitestudio.es[/url]

Avatar
itlinux

22 November 2008 at 11:39am Community Member, 40 Posts

nice my question is how can you link it to a page? example if in main page when I click on the other language it will show the main page info or does it change everything into the other lang? Thanks

remo

Avatar
Nivanka

22 November 2008 at 2:10pm Community Member, 395 Posts

on the bilingual page there are two htmleditor fields, two text fields for title and the menu titie.

Once a user selects a language then the BilingualPage creates a session, after that eash time when it retrieved the bilingual pages check what language is choosed and returns the relevant content in the relevant fields.

thats how it works.

Go to Top