11
T00N2009
Re: Language Specific Themes (Multilangual Website)
  • 2010/11/16 17:46

  • T00N2009

  • Just popping in

  • Posts: 37

  • Since: 2009/5/12


hello ghia

here is an example of how i edit the the specific html files of modules and the css files of the module.

the module has it own css file.
in the html file I post the follwoing css values
<head>
[ar]<style type="text/css">
<!--
#artiPoster {

font-family: Georgia, "Times New Roman", Times, serif;
font-size: 1.2em;
}

#artiText{

font-family: "Arial", Helvetica, sans-serif;
font-size: 1.25em;
text-align: right;
font-weight: bold;
word-spacing: 0.09em;
direction: rtl;

}
-->
</style>
[/pa]
[en]<style type="text/css">
<!--
#artiPoster {

font-family: Georgia, "Times New Roman", Times, serif;
font-size: 1.2em;
}

#artiText{

font-family: "Arial", Helvetica, sans-serif;
font-size: 1.0em;
text-align: left;
font-weight: bold;
word-spacing: 0.09em;
direction: ltr;

}
-->
</style>
[/en]


in the css file of the module I put the following values which are shared by both arabic and english versions.

#artiPoster {

color: #334038;
font-weight: bold;
margin: 0px 5px 0px 5px
}


#artiText{

color: #272623;
text-indent: 1.25em;
margin: 5px 7px 5px 7px;
padding: 15px 10px 15px 10px;

min-height:110px;
background-color: #FFFFFF;
}

as you might see the directions are defined but still the dot signs goes to left in english version and to right in arabic version.

"عهثصه سیشل سصش لی غلغعص غثعغ شس."
".collecting relevant articles to build a special series inside a category"


12
T00N2009
Re: Language Specific Themes (Multilangual Website)
  • 2010/11/16 17:48

  • T00N2009

  • Just popping in

  • Posts: 37

  • Since: 2009/5/12


btw that [/pa] should be [/ar} ignore that mistake.

13
ghia
Re: Language Specific Themes (Multilangual Website)
  • 2010/11/16 21:42

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Not at home in this kind of problems.

If you are mixing scripts, this could be a side effect of the bidirectional algorithm.

Login

Who's Online

244 user(s) are online (115 user(s) are browsing Support Forums)


Members: 0


Guests: 244


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits