Elxis CMS Forum

Support => Language => Topic started by: benone on October 29, 2009, 23:58:46

Title: Language hassle
Post by: benone on October 29, 2009, 23:58:46
Hi people. Is benone doing something wrong? ;D

My apologies for the newbie question. I'm trying to make my users able to switch language from English to other. So far the only thing I've done is to select Italian and French to see the result. Guess what, anytime I switch to another language all the top menu items don't translate, they just kinda get hidden/disappear. The only items I can see that get translated are under the main menu. "Other menu" does not translate either. I've read topics on language issues but sorry here i come. Any help will be appreciated.

Or do I have to install Elxis over again for each additional language in which I intend to display content? ::)

benone.   
Title: Re: Language hassle
Post by: ks-net on October 30, 2009, 00:06:36
you have to create the translated menu-items(links) that will point to already existent content and to assign each one link to the correct language..

nothing inside menus is auto-translated .. any link that seems to be translated actually is manually created from you or maybe perhaps elxis sample-data(?)

Title: Re: Language hassle
Post by: benone on October 30, 2009, 01:25:34
For example under site languages I found italian.php that has most things translated within it, but in this file you won't find "Other menu", let alone trying to translate it. Btw, I appreciate your help very much, it has clarified my mind. Thanks to you and to the whole Elxis team for your great work.

But if you detect where that "Other menu" phrase is hiding let me know and I'll apply the translation it deserves. :D



benone.
Title: Re: Language hassle
Post by: ks-net on October 30, 2009, 03:59:32
this is about module's multilingual titles.. no effect on links inside menus

there is no "other menu" in  lang-files only "user menu" and  "main menu"
read this to find why some titles auto-translate and why some not
http://wiki.elxis.org/wiki/Troubleshooting#Module_or_Component_Title_not_changing
you can set your own title per lang etc.. 

other menu has no translations.. you have to create them by making module-copies and set a title per-lang
Title: Re: Language hassle
Post by: benone on October 30, 2009, 14:22:31
you have to create the translated menu-items(links) that will point to already existent content and to assign each one link to the correct language..

Under top menu I created "Accueil" which is "Home" in French using Link - Component Item.

For:
 
- Component to Link: I selected Home
- URL: On Click, Open in: Parent Window With Browser Navigation
- Language: French

After I've saved and opened back to check, I found this error message:

mysql Error [1109] : EXECUTE
URI: index2.php?option=com_menus&menutype=topmenu&task=edit&id=114&hidemainmenu=1&type=component_item_link
Message: Unknown table 'a' in where clause
SELECT name FROM elx_menu WHERE a.link = 'index.php?option=com_frontpage'

I also read in this forum "Have the "Smart switch" option enabled in the language module." Where exactly?
                 "Have mosConfig_sef = 0 (non-SEF URLs) or 2 (Elxis SEO pro)" I'm totally lost

Please help and excuse my ignorance.


Title: Re: Language hassle
Post by: ks-net on October 30, 2009, 14:55:55
can you give me a link?
Title: Re: Language hassle
Post by: benone on October 30, 2009, 17:03:59
Notice that the error message is at the back-end not front-end.

I will give you admin access if you want, just tell me where to send it. Thanks again.
Title: Re: Language hassle
Post by: benone on November 01, 2009, 19:04:04
Hi people.

Happy to inform you that the problem has been solved. I rather messed up things due to my poor understanding of the Elxis system.

"Under top menu I created "Accueil" which is "Home" in French using Link - Component Item."
*I was supposed to use Component Item.*  Hope this helps some newbie someday.

Ever thankful to the Elxis team.