Zend Framework - Nasıl çevirmek ve sağdan sola dil geçiş yapabilirsiniz

0 Cevap php

Nasıl i Arapça dil sola dil hakkımı düzene olabilir. Böylece tüm kaydırma çubuğu, giriş kutusuna, yüklemek tüm düzen aslında sağdan sola olarak gösterilen gerekmektedir dahil sağdan sola başlamak gerekir.

This is my layout:

<?= $this->doctype();// xhtml = strict ?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <?php echo $this->headTitle(); ?>
    <?php echo $this->headMeta(); ?>
    <?php echo $this->headScript(); ?>
    <?php echo $this->headLink()->prependStylesheet('/css/production.css'); ?>
    <link rel="shortcut icon" href="/img/pageicon.png" type="image/x-icon" />
    <link rel="alternate" type="application/rss+xml" title="We care Arab Page"      href="/rss.xml" />
</head>
<body>
!!!!!! everything need right to left, where default page is english (left to right).!!!!!
</body>
</html>

Lütfen tavsiye? :)

Teşekkürler & Selamlar

Follow up:

  • $this->view->headMeta()->appendName('Language','en');
    This is not related to DIR

  • http://www.w3.org/TR/REC-html40/struct/dirlang.html This is a solution actually

  • Çalışıyor

    < html xmlns = "http://www.w3.org/1999/xhtml" lang = "ar" dir = "RTL">

  • ZF-> Bunu nasıl MVC denetleyicisi atarım?

    < html xmlns = "http://www.w3.org/1999/xhtml" lang = "ar" dir = < ? = $ This-> RTL; ? ? >>?

  • 2 öneri denedim

    < body style="direction:rtl;" > OR < html xmlns = "http://www.w3.org/1999/xhtml" lang = "ar" dir = "RTL">

Yön değişimi için herhangi bir fark görmüyorum. Görüntü her şey tam olarak çevirmek, çevirmek değildir.

0 Cevap