{"id":58,"date":"2009-10-19T17:34:40","date_gmt":"2009-10-19T17:34:40","guid":{"rendered":"http:\/\/jobshuk.com\/yirmi\/2009\/10\/19\/developing-multilingual-websites-using-php-part-3-right-to-left-vs-left-to-right\/"},"modified":"2009-10-19T17:34:40","modified_gmt":"2009-10-19T17:34:40","slug":"developing-multilingual-websites-using-php-part-3-right-to-left-vs-left-to-right","status":"publish","type":"post","link":"https:\/\/jobshuk.com\/yirmi\/2009\/10\/19\/developing-multilingual-websites-using-php-part-3-right-to-left-vs-left-to-right\/","title":{"rendered":"Developing multilingual websites using PHP, part 3 \u2013 Right-to-Left vs. Left-to-Right"},"content":{"rendered":"<p style=\"margin: 0in 0in 10pt\" class=\"MsoNormal\"><b><span style=\"font-size: 14pt; line-height: 115%\"><font face=\"Calibri\">The problem <\/p>\n<p>&nbsp;<\/p>\n<p><\/font><\/span><\/b><\/p>\n<p>&nbsp;<\/p>\n<p style=\"margin: 0in 0in 10pt\" class=\"MsoNormal\"><font size=\"3\" face=\"Calibri\">When developing a website for Hebrew and other languages, there is an additional issue to deal with.<span>&nbsp; <\/span>If all the languages are left-to-right, then it is straightforward to use the same template or design with all languages.<span>&nbsp; <\/span>All that needs to be switched when the site is viewed in a different language is the text.<span>&nbsp; <\/span>However, with Hebrew, people are reading the website in the opposite direction.<span>&nbsp; <\/span>Many website designs have something displayed on the right or left side of the page.<span>&nbsp; <\/span>When the page is read in the opposite direction, it is usually advised to put the displays on the opposite sides of the page.<span>&nbsp; <\/span>To do this, one may just change the entire direction of the page from left-to-right to right-to-left by inserting this piece of CSS in the &ldquo;body&rdquo; tag:<\/font><\/p>\n<p style=\"margin: 0in 0in 10pt\" class=\"MsoNormal\"><span style=\"font-family: 'Courier New'\"><font size=\"3\">style=&rdquo;direction:rtl&rdquo; <\/p>\n<p>&nbsp;<\/p>\n<p><\/font><\/span><\/p>\n<p>&nbsp;<\/p>\n<p style=\"margin: 0in 0in 10pt\" class=\"MsoNormal\"><font size=\"3\" face=\"Calibri\">Alternatively, one may put in the CSS file:<\/font><\/p>\n<p style=\"margin: 0in 0in 10pt\" class=\"MsoNormal\"><span style=\"font-family: 'Courier New'\"><font size=\"3\">body { direction:rtl } <\/p>\n<p>&nbsp;<\/p>\n<p><\/font><\/span><\/p>\n<p>&nbsp;<\/p>\n<p style=\"margin: 0in 0in 10pt\" class=\"MsoNormal\"><font size=\"3\" face=\"Calibri\">Still, even after changing the direction of the entire document, there remains an issue &ndash; the border definitions in CSS are also in the opposite direction.<\/font><\/p>\n<p style=\"margin: 0in 0in 10pt\" class=\"MsoNormal\"><font size=\"3\" face=\"Calibri\">For example, if I want to have a blue, solid border separating the left area and the main area, I can assign a class &ldquo;<i>left_area<\/i>&rdquo; to the left area and define the following in CSS:<\/font><\/p>\n<p style=\"margin: 0in 0in 10pt\" class=\"MsoNormal\"><font size=\"3\" face=\"Calibri\">left_area { border-right: solid blue 1px }<\/font><\/p>\n<p style=\"margin: 0in 0in 10pt\" class=\"MsoNormal\"><font size=\"3\" face=\"Calibri\">However, if I change the direction of the document to right-to-left, and the &ldquo;<i>left_area<\/i>&rdquo; is now on the right side of the page, instead of having a border in between the &ldquo;<i>left_area<\/i>&rdquo; and the main page, the CSS definition above will cause the line to be displayed on the right side of the page, and not in between the sections.<\/font><\/p>\n<p style=\"margin: 0in 0in 10pt\" class=\"MsoNormal\"><b><span style=\"font-size: 14pt; line-height: 115%\"><font face=\"Calibri\">Solutions <\/p>\n<p>&nbsp;<\/p>\n<p><\/font><\/span><\/b><\/p>\n<p>&nbsp;<\/p>\n<p style=\"margin: 0in 0in 10pt\" class=\"MsoNormal\"><font size=\"3\" face=\"Calibri\">One possible solution is to make a separate template or CSS file for right-to-left languages.<span>&nbsp; <\/span>The disadvantage is that this causes duplicate code, and if the design is changed, it needs to be changed in twice as many places.<\/font><\/p>\n<p style=\"margin: 0in 0in 10pt\" class=\"MsoNormal\"><font size=\"3\" face=\"Calibri\">My suggestion is to dynamically generate the CSS file using PHP.<span>&nbsp; <\/span>Instead of calling the CSS file <i>style.css<\/i>, I would call it <i>style.css.php<\/i>.<span>&nbsp; <\/span>In the link, one can add a parameter <i>dir<\/i> to indicate the direction of the document.<\/font><\/p>\n<p style=\"margin: 0in 0in 10pt\" class=\"MsoNormal\"><font size=\"3\" face=\"Calibri\">Hence, instead of this link in the HTML header:<\/font><\/p>\n<p style=\"margin: 0in 0in 10pt\" class=\"MsoNormal\"><span style=\"font-family: 'Courier New'\"><font size=\"3\"><span>&nbsp;<\/span><link rel=\"stylesheet\" type=\"text\/css\" href=\"\/admin\/blog_posts\/edit\/id\/style.css\" \/>\n<p>&nbsp;<\/p>\n<p><\/font><\/span><\/p>\n<p>&nbsp;<\/p>\n<p style=\"margin: 0in 0in 10pt\" class=\"MsoNormal\"><font size=\"3\" face=\"Calibri\">One can use the following link instead, where the PHP variable <i>$page_dir<\/i> indicates the direction of the document.<\/font><\/p>\n<p style=\"margin: 0in 0in 10pt\" class=\"MsoNormal\"><span style=\"font-family: 'Courier New'\"><font size=\"3\"><link rel=\"stylesheet\" type=\"text\/css\" href=\"\/admin\/blog_posts\/edit\/id\/style.css.php?dir=&lt;?php echo $page_dir; ?&gt;\" \/>\n<p>&nbsp;<\/p>\n<p><\/font><\/span><\/p>\n<p>&nbsp;<\/p>\n<p style=\"margin: 0in 0in 10pt\" class=\"MsoNormal\"><font size=\"3\" face=\"Calibri\">In the CSS document itself, one would then assign variables the appropriate values for the directions.<\/font><\/p>\n<p style=\"margin: 0in 0in 0pt; line-height: normal\" class=\"MsoNormal\"><span style=\"font-family: 'Courier New'\"><font size=\"3\"><!--p\n\n<p mce_keep=\"true\" mce_keep=\"true\" mce_keep=\"tru-->&nbsp;<\/font><\/span><\/p>\n<p style=\"margin: 0in 0in 0pt; line-height: normal\" class=\"MsoNormal\"><span style=\"font-family: 'Courier New'\"><font size=\"3\"><span>&nbsp;<\/span>$page_dir=isset($_REQUEST[&lsquo;dir&rsquo;])? $_REQUEST[&lsquo;dir&rsquo;]:&rsquo;ltr&rsquo;; <\/p>\n<p>&nbsp;<\/p>\n<p><\/font><\/span><\/p>\n<p>&nbsp;<\/p>\n<p style=\"margin: 0in 0in 0pt; line-height: normal\" class=\"MsoNormal\"><span style=\"font-family: 'Courier New'\"><font size=\"3\"><span>&nbsp;<\/span>$left=($page_dir==&rsquo;ltr&rsquo;)?&rsquo;left&rsquo;:&rsquo;right&rsquo;; <\/p>\n<p>&nbsp;<\/p>\n<p><\/font><\/span><\/p>\n<p>&nbsp;<\/p>\n<p style=\"margin: 0in 0in 0pt; line-height: normal\" class=\"MsoNormal\"><span style=\"font-family: 'Courier New'\"><font size=\"3\"><span>&nbsp;<\/span>$right=($page_dir==&rsquo;ltr&rsquo;)?&rsquo;right&rsquo;:&rsquo;left&rsquo;; <\/p>\n<p>&nbsp;<\/p>\n<p><\/font><\/span><\/p>\n<p>&nbsp;<\/p>\n<p style=\"margin: 0in 0in 0pt; line-height: normal\" class=\"MsoNormal\"><span style=\"font-family: 'Courier New'\"><font size=\"3\">?&gt; <\/p>\n<p>&nbsp;<\/p>\n<p><\/font><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><font size=\"3\" face=\"Calibri\"><\/font><\/p>\n<p style=\"margin: 0in 0in 0pt\" class=\"MsoNormal\"><font size=\"3\" face=\"Calibri\">In the CSS document itself, instead of hard-coded right and left directions, like this:<\/font><\/p>\n<p style=\"margin: 0in 0in 10pt\" class=\"MsoNormal\"><span style=\"font-family: 'Courier New'\"><font size=\"3\">left_area { border-right: solid blue 1px; } <\/p>\n<p>&nbsp;<\/p>\n<p><\/font><\/span><\/p>\n<p>&nbsp;<\/p>\n<p style=\"margin: 0in 0in 0pt\" class=\"MsoNormal\"><font size=\"3\" face=\"Calibri\">One can use the variables to define the directions, like this<\/font><\/p>\n<p style=\"margin: 0in 0in 10pt\" class=\"MsoNormal\"><span style=\"font-family: 'Courier New'\"><font size=\"3\">left_area { border-<!--p echo $right;-->: solid blue 1px; } <\/p>\n<p>&nbsp;<\/p>\n<p><\/font><\/span><\/p>\n<p>&nbsp;<\/p>\n<p style=\"margin: 0in 0in 0pt\" class=\"MsoNormal\"><font size=\"3\" face=\"Calibri\">Doing this, one can design the website for one language and seamlessly have it displayed in a different language in the opposite direction.<\/font><\/p>\n\n\n","protected":false},"excerpt":{"rendered":"<p>The problem &nbsp; &nbsp; When developing a website for Hebrew and other languages, there is an additional issue to deal with.&nbsp; If all the languages are left-to-right, then it is straightforward to use the same template or design with all languages.&nbsp; All that needs to be switched when the site is viewed in a different &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/jobshuk.com\/yirmi\/2009\/10\/19\/developing-multilingual-websites-using-php-part-3-right-to-left-vs-left-to-right\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Developing multilingual websites using PHP, part 3 \u2013 Right-to-Left vs. Left-to-Right&#8221;<\/span><\/a><\/p>\n\n\n","protected":false},"author":375,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[12,14,5,13,15,6,16,17,8],"class_list":["post-58","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-css","tag-direction","tag-fischer","tag-hebrew","tag-left-to-right","tag-php","tag-right-to-left","tag-website","tag-yirmiyahu","entry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Developing multilingual websites using PHP, part 3 \u2013 Right-to-Left vs. Left-to-Right - Yirmi&#039;s World of Web Widgets by Yirmiyahu Fischer<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/jobshuk.com\/yirmi\/2009\/10\/19\/developing-multilingual-websites-using-php-part-3-right-to-left-vs-left-to-right\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Developing multilingual websites using PHP, part 3 \u2013 Right-to-Left vs. Left-to-Right - Yirmi&#039;s World of Web Widgets by Yirmiyahu Fischer\" \/>\n<meta property=\"og:description\" content=\"The problem &nbsp; &nbsp; When developing a website for Hebrew and other languages, there is an additional issue to deal with.&nbsp; If all the languages are left-to-right, then it is straightforward to use the same template or design with all languages.&nbsp; All that needs to be switched when the site is viewed in a different &hellip; Continue reading &quot;Developing multilingual websites using PHP, part 3 \u2013 Right-to-Left vs. Left-to-Right&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/jobshuk.com\/yirmi\/2009\/10\/19\/developing-multilingual-websites-using-php-part-3-right-to-left-vs-left-to-right\/\" \/>\n<meta property=\"og:site_name\" content=\"Yirmi&#039;s World of Web Widgets by Yirmiyahu Fischer\" \/>\n<meta property=\"article:published_time\" content=\"2009-10-19T17:34:40+00:00\" \/>\n<meta name=\"author\" content=\"yirmi\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"yirmi\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/jobshuk.com\\\/yirmi\\\/2009\\\/10\\\/19\\\/developing-multilingual-websites-using-php-part-3-right-to-left-vs-left-to-right\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/jobshuk.com\\\/yirmi\\\/2009\\\/10\\\/19\\\/developing-multilingual-websites-using-php-part-3-right-to-left-vs-left-to-right\\\/\"},\"author\":{\"name\":\"yirmi\",\"@id\":\"https:\\\/\\\/jobshuk.com\\\/yirmi\\\/#\\\/schema\\\/person\\\/3ad2fc75c4041622134d8f0f14a2102e\"},\"headline\":\"Developing multilingual websites using PHP, part 3 \u2013 Right-to-Left vs. Left-to-Right\",\"datePublished\":\"2009-10-19T17:34:40+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/jobshuk.com\\\/yirmi\\\/2009\\\/10\\\/19\\\/developing-multilingual-websites-using-php-part-3-right-to-left-vs-left-to-right\\\/\"},\"wordCount\":561,\"commentCount\":0,\"keywords\":[\"CSS\",\"direction\",\"Fischer\",\"Hebrew\",\"left-to-right\",\"PHP\",\"right-to-left\",\"website\",\"Yirmiyahu\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/jobshuk.com\\\/yirmi\\\/2009\\\/10\\\/19\\\/developing-multilingual-websites-using-php-part-3-right-to-left-vs-left-to-right\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/jobshuk.com\\\/yirmi\\\/2009\\\/10\\\/19\\\/developing-multilingual-websites-using-php-part-3-right-to-left-vs-left-to-right\\\/\",\"url\":\"https:\\\/\\\/jobshuk.com\\\/yirmi\\\/2009\\\/10\\\/19\\\/developing-multilingual-websites-using-php-part-3-right-to-left-vs-left-to-right\\\/\",\"name\":\"Developing multilingual websites using PHP, part 3 \u2013 Right-to-Left vs. Left-to-Right - Yirmi&#039;s World of Web Widgets by Yirmiyahu Fischer\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/jobshuk.com\\\/yirmi\\\/#website\"},\"datePublished\":\"2009-10-19T17:34:40+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/jobshuk.com\\\/yirmi\\\/#\\\/schema\\\/person\\\/3ad2fc75c4041622134d8f0f14a2102e\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/jobshuk.com\\\/yirmi\\\/2009\\\/10\\\/19\\\/developing-multilingual-websites-using-php-part-3-right-to-left-vs-left-to-right\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/jobshuk.com\\\/yirmi\\\/2009\\\/10\\\/19\\\/developing-multilingual-websites-using-php-part-3-right-to-left-vs-left-to-right\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/jobshuk.com\\\/yirmi\\\/2009\\\/10\\\/19\\\/developing-multilingual-websites-using-php-part-3-right-to-left-vs-left-to-right\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/jobshuk.com\\\/yirmi\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Developing multilingual websites using PHP, part 3 \u2013 Right-to-Left vs. Left-to-Right\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/jobshuk.com\\\/yirmi\\\/#website\",\"url\":\"https:\\\/\\\/jobshuk.com\\\/yirmi\\\/\",\"name\":\"Yirmi&#039;s World of Web Widgets by Yirmiyahu Fischer\",\"description\":\"Blog of a PHP Web Programmer\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/jobshuk.com\\\/yirmi\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/jobshuk.com\\\/yirmi\\\/#\\\/schema\\\/person\\\/3ad2fc75c4041622134d8f0f14a2102e\",\"name\":\"yirmi\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/jobshuk.com\\\/yirmi\\\/wp-content\\\/uploads\\\/avatars\\\/375\\\/8c2adaf748317e659d83f249c32af044-bpfull.jpg\",\"url\":\"https:\\\/\\\/jobshuk.com\\\/yirmi\\\/wp-content\\\/uploads\\\/avatars\\\/375\\\/8c2adaf748317e659d83f249c32af044-bpfull.jpg\",\"contentUrl\":\"https:\\\/\\\/jobshuk.com\\\/yirmi\\\/wp-content\\\/uploads\\\/avatars\\\/375\\\/8c2adaf748317e659d83f249c32af044-bpfull.jpg\",\"caption\":\"yirmi\"},\"url\":\"https:\\\/\\\/jobshuk.com\\\/yirmi\\\/author\\\/yirmi\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Developing multilingual websites using PHP, part 3 \u2013 Right-to-Left vs. Left-to-Right - Yirmi&#039;s World of Web Widgets by Yirmiyahu Fischer","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/jobshuk.com\/yirmi\/2009\/10\/19\/developing-multilingual-websites-using-php-part-3-right-to-left-vs-left-to-right\/","og_locale":"en_US","og_type":"article","og_title":"Developing multilingual websites using PHP, part 3 \u2013 Right-to-Left vs. Left-to-Right - Yirmi&#039;s World of Web Widgets by Yirmiyahu Fischer","og_description":"The problem &nbsp; &nbsp; When developing a website for Hebrew and other languages, there is an additional issue to deal with.&nbsp; If all the languages are left-to-right, then it is straightforward to use the same template or design with all languages.&nbsp; All that needs to be switched when the site is viewed in a different &hellip; Continue reading \"Developing multilingual websites using PHP, part 3 \u2013 Right-to-Left vs. Left-to-Right\"","og_url":"https:\/\/jobshuk.com\/yirmi\/2009\/10\/19\/developing-multilingual-websites-using-php-part-3-right-to-left-vs-left-to-right\/","og_site_name":"Yirmi&#039;s World of Web Widgets by Yirmiyahu Fischer","article_published_time":"2009-10-19T17:34:40+00:00","author":"yirmi","twitter_card":"summary_large_image","twitter_misc":{"Written by":"yirmi","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/jobshuk.com\/yirmi\/2009\/10\/19\/developing-multilingual-websites-using-php-part-3-right-to-left-vs-left-to-right\/#article","isPartOf":{"@id":"https:\/\/jobshuk.com\/yirmi\/2009\/10\/19\/developing-multilingual-websites-using-php-part-3-right-to-left-vs-left-to-right\/"},"author":{"name":"yirmi","@id":"https:\/\/jobshuk.com\/yirmi\/#\/schema\/person\/3ad2fc75c4041622134d8f0f14a2102e"},"headline":"Developing multilingual websites using PHP, part 3 \u2013 Right-to-Left vs. Left-to-Right","datePublished":"2009-10-19T17:34:40+00:00","mainEntityOfPage":{"@id":"https:\/\/jobshuk.com\/yirmi\/2009\/10\/19\/developing-multilingual-websites-using-php-part-3-right-to-left-vs-left-to-right\/"},"wordCount":561,"commentCount":0,"keywords":["CSS","direction","Fischer","Hebrew","left-to-right","PHP","right-to-left","website","Yirmiyahu"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/jobshuk.com\/yirmi\/2009\/10\/19\/developing-multilingual-websites-using-php-part-3-right-to-left-vs-left-to-right\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/jobshuk.com\/yirmi\/2009\/10\/19\/developing-multilingual-websites-using-php-part-3-right-to-left-vs-left-to-right\/","url":"https:\/\/jobshuk.com\/yirmi\/2009\/10\/19\/developing-multilingual-websites-using-php-part-3-right-to-left-vs-left-to-right\/","name":"Developing multilingual websites using PHP, part 3 \u2013 Right-to-Left vs. Left-to-Right - Yirmi&#039;s World of Web Widgets by Yirmiyahu Fischer","isPartOf":{"@id":"https:\/\/jobshuk.com\/yirmi\/#website"},"datePublished":"2009-10-19T17:34:40+00:00","author":{"@id":"https:\/\/jobshuk.com\/yirmi\/#\/schema\/person\/3ad2fc75c4041622134d8f0f14a2102e"},"breadcrumb":{"@id":"https:\/\/jobshuk.com\/yirmi\/2009\/10\/19\/developing-multilingual-websites-using-php-part-3-right-to-left-vs-left-to-right\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/jobshuk.com\/yirmi\/2009\/10\/19\/developing-multilingual-websites-using-php-part-3-right-to-left-vs-left-to-right\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/jobshuk.com\/yirmi\/2009\/10\/19\/developing-multilingual-websites-using-php-part-3-right-to-left-vs-left-to-right\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/jobshuk.com\/yirmi\/"},{"@type":"ListItem","position":2,"name":"Developing multilingual websites using PHP, part 3 \u2013 Right-to-Left vs. Left-to-Right"}]},{"@type":"WebSite","@id":"https:\/\/jobshuk.com\/yirmi\/#website","url":"https:\/\/jobshuk.com\/yirmi\/","name":"Yirmi&#039;s World of Web Widgets by Yirmiyahu Fischer","description":"Blog of a PHP Web Programmer","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/jobshuk.com\/yirmi\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/jobshuk.com\/yirmi\/#\/schema\/person\/3ad2fc75c4041622134d8f0f14a2102e","name":"yirmi","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/jobshuk.com\/yirmi\/wp-content\/uploads\/avatars\/375\/8c2adaf748317e659d83f249c32af044-bpfull.jpg","url":"https:\/\/jobshuk.com\/yirmi\/wp-content\/uploads\/avatars\/375\/8c2adaf748317e659d83f249c32af044-bpfull.jpg","contentUrl":"https:\/\/jobshuk.com\/yirmi\/wp-content\/uploads\/avatars\/375\/8c2adaf748317e659d83f249c32af044-bpfull.jpg","caption":"yirmi"},"url":"https:\/\/jobshuk.com\/yirmi\/author\/yirmi\/"}]}},"_links":{"self":[{"href":"https:\/\/jobshuk.com\/yirmi\/wp-json\/wp\/v2\/posts\/58","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jobshuk.com\/yirmi\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jobshuk.com\/yirmi\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jobshuk.com\/yirmi\/wp-json\/wp\/v2\/users\/375"}],"replies":[{"embeddable":true,"href":"https:\/\/jobshuk.com\/yirmi\/wp-json\/wp\/v2\/comments?post=58"}],"version-history":[{"count":0,"href":"https:\/\/jobshuk.com\/yirmi\/wp-json\/wp\/v2\/posts\/58\/revisions"}],"wp:attachment":[{"href":"https:\/\/jobshuk.com\/yirmi\/wp-json\/wp\/v2\/media?parent=58"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jobshuk.com\/yirmi\/wp-json\/wp\/v2\/categories?post=58"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jobshuk.com\/yirmi\/wp-json\/wp\/v2\/tags?post=58"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}