Language direction

General questions regarding the use of languages in Joomla! 3.x.

Moderators: infograf768, General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Post Reply
keianrad
Joomla! Apprentice
Joomla! Apprentice
Posts: 7
Joined: Fri Sep 08, 2017 5:02 am

Language direction

Post by keianrad » Fri Sep 08, 2017 5:29 am

After I update J! 3.7.2 to 3.7.3 language direction doesn't work in my multilingual website (en, fa and ar).
it uses default language direction for all languages. for example if I set English as main language that is LTR, it effects to other languages that are RTL.

I tried with several templates and Joomla default templates but it didn't solved. It seems that it's related to Joomla core.
Last edited by imanickam on Fri Sep 08, 2017 1:15 pm, edited 1 time in total.
Reason: Moved the topic from the forum General Questions/New to Joomla! 3.x to the forum Languages - Joomla! 3.x

User avatar
imanickam
Joomla! Master
Joomla! Master
Posts: 27195
Joined: Wed Aug 13, 2008 2:57 am
Location: Chennai, India

Re: Language direction

Post by imanickam » Fri Sep 08, 2017 1:15 pm

What is your site's URL?

Also, be known that the latest stable version of Joomla! 3.7.5. Please upgrade your site to the latest version. After this update the language packs.

Note:
Make a copy of the site (files and the database content) before upgrading.
Ilagnayeru (MIG) Manickam | இளஞாயிறு மாணிக்கம்
Joomla! - Global Moderators Team | Translations Coordination Team | Tamil (தமிழ்) Translation Team

Eegan - Support the poor and underprivileged

keianrad
Joomla! Apprentice
Joomla! Apprentice
Posts: 7
Joined: Fri Sep 08, 2017 5:02 am

Re: Language direction

Post by keianrad » Fri Sep 08, 2017 7:32 pm

Both are upgraded to latest version.

the website address is: https://my.studyabroadagency.com

keianrad
Joomla! Apprentice
Joomla! Apprentice
Posts: 7
Joined: Fri Sep 08, 2017 5:02 am

Re: Language direction

Post by keianrad » Fri Sep 08, 2017 7:39 pm

I posted the url but I don't know why post is not appear?

User avatar
infograf768
Joomla! Master
Joomla! Master
Posts: 18855
Joined: Fri Aug 12, 2005 3:47 pm
Location: **Translation Matters**

Re: Language direction

Post by infograf768 » Sat Sep 09, 2017 7:14 am

I get for Farsi
<html lang="fa-ir" dir="rtl" data-config='{"twitter":0,"plusone":0,"facebook":0,"style":"farsi"}'>
and display is RTL OK

Arabic does not display at all
Jean-Marie Simonet / infograf · http://www.info-graf.fr
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group

keianrad
Joomla! Apprentice
Joomla! Apprentice
Posts: 7
Joined: Fri Sep 08, 2017 5:02 am

Re: Language direction

Post by keianrad » Sat Sep 09, 2017 6:21 pm

Thank you for look at my website.
The default language is Farsi (RTL). If you look at the English side, you will see that it is RTL too.
English Direction should be LTR but it is RTL.
If I change the default language to English, Farsi side will be LTR.
In other words, the default language direction effects to all other languages and when I switch to other one, direction doesn't change.
I tried with different templates such as joomla default templates but it didn't solve. It seems it's related to joomla core.

User avatar
infograf768
Joomla! Master
Joomla! Master
Posts: 18855
Joined: Fri Aug 12, 2005 3:47 pm
Location: **Translation Matters**

Re: Language direction

Post by infograf768 » Sun Sep 10, 2017 5:04 am

When I user the English flag, I also get a header with fa-IR
<html lang="fa-ir" dir="rtl" data-config='{"twitter":0,"plusone":0,"facebook":0,"style":"bluegray"}'>

This means your my.studyabroadagency.com is not set as should.

1. Display the multilingual status modal in back-end to check if no errors there.
If none, then the problem may be related to one of your extensions. Compare that site to the one which works fine, i.e. fabrik is used in the site with problems

2. If I use https://www.studyabroadagency.com/en/ all languages display correctly
Jean-Marie Simonet / infograf · http://www.info-graf.fr
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group

Skunka
Joomla! Apprentice
Joomla! Apprentice
Posts: 9
Joined: Tue Sep 19, 2017 10:37 pm

Re: Language direction

Post by Skunka » Thu Sep 21, 2017 2:11 pm

keianrad wrote:Thank you for look at my website.
The default language is Farsi (RTL). If you look at the English side, you will see that it is RTL too.
English Direction should be LTR but it is RTL.
If I change the default language to English, Farsi side will be LTR.
In other words, the default language direction effects to all other languages and when I switch to other one, direction doesn't change.
I tried with different templates such as joomla default templates but it didn't solve. It seems it's related to joomla core.
Hello keianrad, how did you solve this problem? Thanks in advance

User avatar
darb
Joomla! Ace
Joomla! Ace
Posts: 1360
Joined: Thu Jul 06, 2006 12:57 pm
Location: Stockholm Sweden
Contact:

Re: Language direction

Post by darb » Fri Sep 22, 2017 2:05 pm

HI

do you also know if you have rtl language and have a menu icon for example a home icon how you can make that set up to the other direction like rtl?

Is there some css etc that you can do with this or what is the trick to also have the menu icon rtl working?
Success in the long run Its not about the code its about the people and community that's make it!
Its not what you say its what you do that matters!

Darb - aka ssnobben

User avatar
infograf768
Joomla! Master
Joomla! Master
Posts: 18855
Joined: Fri Aug 12, 2005 3:47 pm
Location: **Translation Matters**

Re: Language direction

Post by infograf768 » Fri Sep 22, 2017 3:57 pm

Folks, the original poster has solved his issue.
Concerning the menu icon position, let me check what we get here on default Joomla template.
Jean-Marie Simonet / infograf · http://www.info-graf.fr
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group

User avatar
infograf768
Joomla! Master
Joomla! Master
Posts: 18855
Joined: Fri Aug 12, 2005 3:47 pm
Location: **Translation Matters**

Re: Language direction

Post by infograf768 » Fri Sep 22, 2017 4:14 pm

When using Protostar as template and adding an icon to the menu item (below for Persian), the icon is rightfully displayed RTL.
Screen Shot 2017-09-22 at 18.08.20.png
Just make sure you have

Code: Select all

direction: rtl;
in your CSS when you use a RTL language
You do not have the required permissions to view the files attached to this post.
Jean-Marie Simonet / infograf · http://www.info-graf.fr
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group

kmavane
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Thu Nov 02, 2017 10:15 am

Re: Language direction

Post by kmavane » Thu Nov 02, 2017 10:20 am

infograf768 wrote:Folks, the original poster has solved his issue.
Concerning the menu icon position, let me check what we get here on default Joomla template.
I have the latest Joomla 3.8.1 and have the same problem with language direction. Is there any fix to the problem?
Will be grateful for any clue to solve the problem!
Greetings

msabbagh627
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Sun Jun 29, 2014 8:08 pm

Re: Language direction

Post by msabbagh627 » Sun Mar 31, 2019 6:49 pm

infograf768 wrote:
Fri Sep 22, 2017 3:57 pm
Folks, the original poster has solved his issue.
Concerning the menu icon position, let me check what we get here on default Joomla template.
Hi,
Unfortunately I did not see how he fixed the problem??? He said that: I did not fix the problem.
I have the same issue and my joomla website is update at all time.
The same issue is still running and I have the same problem.
How can it be fixed?

User avatar
infograf768
Joomla! Master
Joomla! Master
Posts: 18855
Joined: Fri Aug 12, 2005 3:47 pm
Location: **Translation Matters**

Re: Language direction

Post by infograf768 » Mon Apr 01, 2019 4:40 am

@masbbagh768
The original poster, if I remember well, had issues with the fabrik 3rd party extension.

It is quite impossible to help you without knowing precisely what is your own issue, extensions used, link to your site, language used, template, joomla version, etc.
Jean-Marie Simonet / infograf · http://www.info-graf.fr
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group


Post Reply

Return to “Language - Joomla! 3.x”