template auto detect when language english to arabic

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

    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

    #2
    Maybe something like this?
    http://coding-talk.com/f46/php-gum-t...ate-api-11593/
    <!DOCTYPE html PUBLIC "-//WAPFORUM.RS

    Comment


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

      Comment


        #4
        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.
        <!DOCTYPE html PUBLIC "-//WAPFORUM.RS

        Comment


          #5
          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?

          Comment


            #6
            when you select arabic set $is_arabic = true;
            when you select english set $is_arabic = false;

            Comment

            Working...
            X