Page 1 of 1

How to define different font for 2 language

Posted: 09 Jun 2014, 12:34
by mahmoud.almasoud
hi ,

i'm using falang component , how i can define 2 font for english and arabic using Phoca Font,
also how i can define it inside JCE editor

Thanks,

Re: How to define different font for 2 language

Posted: 09 Jun 2014, 16:07
by Jan
Hi, unfortunately I don't have any experiences with falang or JCS so cannot give any clue advice, Phoca Font just change the frontend fonts you yours selected but no idea how it can be related to language extension or editor extension :idea:

Jan

Re: How to define different font for 2 language

Posted: 11 Jun 2014, 06:49
by mahmoud.almasoud
hi ,

thanks for reply , the idea is not about falang
consider i have language switcher (joomla language switcher) and it's change the language ,
here is the point ,so how we can fix that if you have any idea

thanks again ,

Re: How to define different font for 2 language

Posted: 11 Jun 2014, 07:02
by mahmoud.almasoud
i mean i want 2 fonts for 2 language

Re: How to define different font for 2 language

Posted: 11 Jun 2014, 16:40
by Jan
Hi, I think, you need to somehow customize the Phoca Font plugin code and add there if clause like:

if some language loaded, load this font, if other load other font :idea:

Re: How to define different font for 2 language

Posted: 12 Jun 2014, 08:30
by mahmoud.almasoud
Thank you again ,

but please can you help me , which file inside phoca font i must change
because you know i'm not senior in php and Joomla extension :|

Re: How to define different font for 2 language

Posted: 12 Jun 2014, 18:58
by Jan
Hi, I didn't do such customization yet, so for me it is hard to give any advice about what I didn't do yet :-(

Jan

Re: How to define different font for 2 language

Posted: 26 Sep 2015, 10:02
by debugger
Jan wrote:Hi, I didn't do such customization yet, so for me it is hard to give any advice about what I didn't do yet :-(

Jan
If in options we can select font for Language like Category,menu,Template ... this problem will solved

Now i create 2 class and use for each Language