template auto detect when language english to arabic

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Rksk
    replied
    when you select arabic set $is_arabic = true;
    when you select english set $is_arabic = false;

    Leave a comment:


  • waptrickir
    replied
    Originally posted by arnage View Post

    something like

    PHP Code:
    echo '<div style="text-align: '.($is_arabic === true 'right' 'left').';"> ... </div>'
    PHP Code:
    echo '<div style="text-align: '.($is_arabic === true 'right' 'left').';"> ... </div>'
    I need something like this. How do I use it?

    Leave a comment:


  • arnage
    replied
    This?

    HTML Code:
    <div style="text-align: right;"> ... </div>
    ... or something like

    PHP Code:
    echo '<div style="text-align: '.($is_arabic === true 'right' 'left').';"> ... </div>'
    Last edited by arnage; 10.09.12, 23:43.

    Leave a comment:


  • waptrickir
    replied
    Originally posted by arnage View Post
    No, it is about style change . Not about how to translate the text

    Leave a comment:


  • arnage
    replied
    Maybe something like this?
    http://coding-talk.com/f46/php-gum-t...ate-api-11593/

    Leave a comment:


  • template auto detect when language english to arabic

    i need code when i select arabic language template auto detect to change or a written change direction from left to right are

    Or if you know CMS that has the capability to introduce
    Click image for larger version

Name:	rtl.jpg
Views:	1
Size:	78.3 KB
ID:	112817
Working...
X