Joomla 1.6 multilingual function dont change template - joomla

everyone knows that joomla 1.6/1.7 have native multilang feature , so im try to use different template for different langs for some reasons.
I were installed 2 templates and set 1 of them for all languages( the joomla dont get me any other choice , i just can select all ) , and one of them set to fa-IR.
after that i were activated the language filter plugin.
i can change the lang variable in get method between "fa" and "en" but i just can see the en template.
anyone know whats the problem?

Joomla does not natively allow you to set different templates per language. WooDzu's suggestion is the standard way of achieving the same result, by assigning templates per menu item, where each menu item also has a particular language assigned to it. If that approach isn't working, then it's likely that your templates are a bit non-standard [are they using a particular framework like T3?], or there may be a bug in Joomla.
A more direct way of approaching the problem is using Chameleon, which does exactly what you were asking for: it detects the language then sets the template based on that.

Related

Joomla Multilanguage

I created a website in Joomla 3.4, but the Multilanguage feature is just not working for me. I have followed the steps here:
https://www.ostraining.com/blog/joomla/multi-lingual-joomla/
https://www.youtube.com/watch?v=XNI_B3RezgQ
I do not see the flags for my FaLang module and now I have an error about my menu. (my site is salimlawfirm.com/en).
The Spanish site should be at salimlawfirm.com/es but this does not load the website. Instead shows me the root directory.
Any advice will be greatly appreciated!
You might want to give our component a try Neno Translate it has a bunch of features in addition to Falang.
To make it work you have to be very meticulous. The ostraining link tells you how to work with third parties module/compontents. But you can achieve a multi-language website in Joomla with no extra help.
Install the language packages you need
Activate the related language plugins if need be
Create a "main menu" (for example choose the type blog)per language where you set at list one item which is the home page of your website. Select the language of that item in the language dropdown
now you can create content, but set every time the language of the post.
Joomla has a build in language switcher module that you can use. set it. Now if you select a language, only the post of that language will show up in your home page. you will need to set a main menu module per language published in the same position as well.

How to display Joomla 3 urls without numbers?

I am having urls displayed with category and article ids such as http://www.mysite.com/54-mycategory/59-myarticle. In order to remove the numbers, I had to manually create menu items for each article - which then successfully omits the numbers from the urls.
This is perhaps not the right way to create SEF urls as this requires extra work to create the menu items. Does anyone know of a better way to do this? I couldn't find any extensions that can do this effectively.
No, this is how Joomla default routing works in both 2.5 and 3.x versions.
You need to either create a menu item per each article, as you did, or install a 3rd party plugin to handle it.
In your case I guess that most SEF extensions in the Joomla Extension Directory will do. I had good experiences with SH404SEF (a very complete solution) and Simple Custom Router (a very basic plugin - intended for coders)

Language switcher in joomla 3 not showing flags

I'm trying to make the language switcher to work, I have already made all menus for each language I was gonna use, but when I enable this module, It just shows me the name of the module(when I put it to show), not the flags. What should i do?
I lost a full day of my life with this topic.
The issue was that language tag was badly setup in System -> Language Manager -> Content
For example for French I had fr when it should have been fr-FR
After that I had to rebuild/redo all the Language assignments for French on Pages, categories, menus, template.
The flag finally showed up...
It's an old question but, telling from the comments, a recurring problem. Seems like there can be multiple root causes. One thing to check is also that you have marked the default menu item for each language. If not, the corresponding language does not show in the language switcher.
Found that You need to set a default homepage that can be in hidden menu (and redirect from later) to Language "All"
But then also go to each menu and make the page 1 language and also Homepage.
So for me I have now 3 language homepages menu items. All, En, De
How did I discover this:
I needed to turn on a module in the Admin:
Language Status Administrator Module
This makes a small button bottom left in the Admin, and modal points out 3 different topic per language installed, told me I had not any homepages, and so would get no flags. (Thanks to Per on Joomla forum answer from 2016)
Happy fixing.
you need to set up the languages in the Language Manager? under extensions..
and make sure you published the "System - Language Filter" plugin.
Plugins -> System - Language Filter -> Automatic Language Change -> No
This will prevent automatic language changin which is often reason for this

How to achieve dynamism with Joomla?

i'm new to Joomla and i'm considered in the phase of discovering it yet , my problem here is that i'm using Joomla to make a cafe online ordering website , i want the customer to access the website and make his order from it, so i have to provide him with an active menu containing the cafe menu items, so i have to provide a radio buttons(or something like that) in order to give the customer the ability to choose his order items and to confirm his choices at last. i searched a lot about how to make that using Joomla and didn't reach to any thing , so it will be great if anyone can help me in such stuff.
You can not build complex custom forms with Joomla out-of-the-box.
The best solution depends on your needs - especially your further processing of the order.
If you just want to send it by mail to someone or to have it saved in the database, then it would be a enough to use a form extension for joomla. You will find many form extension on JED - they vary a lot in features, usability,flexibility and price. I often use breezingforms because it is very flexible and you can extend it with your own code (mostly).
If you want a full "shop" then you should have a look at the virtueMart extension for joomla. Or even at a shop system instead of joomla.
If you want full control you can write your own HTML and PHP Code and inject it into Joomla by a module such as Sourcerer from nonumber.nl. Or you write your own extension...

how to show the default page with language all?

I'm setting up a multi-language site in Joomla 2.5. Is it possible to show the default page with 'language all'?
open example.com/ ------ choose language en/zh
if 'en'
go to example.com/en/
else if 'zh'
go to example.com/zh/
my problem is ,when i open 'example.com/' it always jump to 'example.com/en/' or 'example.com/zh/' directly.
When multi-language packs are installed, Joomla will redirect to the default one. If you would like more control over your languages and a language selector for the users, then I would recommend installing JoomFish.
I haven't used JoomFish in a fairly long time but there might be a parameter to disable the language code on the end of the url upon entering the site, if not htaccess configuration might be needed.

Resources