Severity: Warning
Message: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Los_Angeles' for 'PDT/-7.0/DST' instead
Filename: posts/single.php
Line Number: 6
Am looking into designing/building a site which uses both English and Arabic - any tips or stories?
I’m thinking maybe have a separate stylesheet which reverses the positioning of some elements, as Arabic is read from right to left. But would that extend to the navigation buttons? I suppose it should, really.
Any thoughts?
Severity: Warning
Message: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Los_Angeles' for 'PDT/-7.0/DST' instead
Filename: posts/single.php
Line Number: 52
There’s a CSS property called Direction which is well-supported, I think, but it’s new to me, so I can’t really claim to know!
What does the HTML look like when using Chinese? Off to find out…
Severity: Warning
Message: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Los_Angeles' for 'PDT/-7.0/DST' instead
Filename: posts/single.php
Line Number: 52
Set your HTML element: <html lang=“ar” dir=“rtl”>
As previously stated, set UTF-8: <meta http-equiv=“Content-Type” content=“text/html; charset=utf-8”>
And the CSS:
html, body { direction: rtl; /* Usually ltr */ }
bdo[dir=“ltr”] { direction: ltr; unicode-bidi: bidi-override; }
bdo[dir=“rtl”] { direction: rtl; unicode-bidi: bidi-override; }
*[dir=“ltr”], .western { direction: ltr; unicode-bidi: embed; }
*[dir=“rtl”], .non-western { direction: rtl; unicode-bidi: embed; }
That is what WordPress seems to have settled on, and reading through the logic they give, it makes sense to me.
jQuery UI’s datepicker has some wonderful localization options, as month names and locales have their own preferences for handling dates.
Also look at Wikipedia in Arabic for some ideas.
Severity: Warning
Message: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Los_Angeles' for 'PDT/-7.0/DST' instead
Filename: posts/single.php
Line Number: 52
Nice information richiec - appreciated.
You need to Login or Register to comment. Become a member of this great community because you like to be a rebel and actually learn on a website.
Severity: Warning
Message: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Los_Angeles' for 'PDT/-7.0/DST' instead
Filename: posts/single.php
Line Number: 120
Severity: Warning
Message: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Los_Angeles' for 'PDT/-7.0/DST' instead
Filename: posts/single.php
Line Number: 120
Severity: Warning
Message: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Los_Angeles' for 'PDT/-7.0/DST' instead
Filename: posts/single.php
Line Number: 120
Severity: Warning
Message: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Los_Angeles' for 'PDT/-7.0/DST' instead
Filename: posts/single.php
Line Number: 120
Severity: Warning
Message: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Los_Angeles' for 'PDT/-7.0/DST' instead
Filename: posts/single.php
Line Number: 120
Severity: Warning
Message: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Los_Angeles' for 'PDT/-7.0/DST' instead
Filename: posts/single.php
Line Number: 120
Severity: Warning
Message: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Los_Angeles' for 'PDT/-7.0/DST' instead
Filename: posts/single.php
Line Number: 120
Severity: Warning
Message: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Los_Angeles' for 'PDT/-7.0/DST' instead
Filename: posts/single.php
Line Number: 120
Severity: Warning
Message: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Los_Angeles' for 'PDT/-7.0/DST' instead
Filename: posts/single.php
Line Number: 120
Severity: Warning
Message: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Los_Angeles' for 'PDT/-7.0/DST' instead
Filename: posts/single.php
Line Number: 120
Severity: Warning
Message: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Los_Angeles' for 'PDT/-7.0/DST' instead
Filename: posts/single.php
Line Number: 120
Severity: Warning
Message: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Los_Angeles' for 'PDT/-7.0/DST' instead
Filename: posts/single.php
Line Number: 120
Severity: Warning
Message: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Los_Angeles' for 'PDT/-7.0/DST' instead
Filename: posts/single.php
Line Number: 120
Severity: Warning
Message: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Los_Angeles' for 'PDT/-7.0/DST' instead
Filename: posts/single.php
Line Number: 120
Severity: Warning
Message: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Los_Angeles' for 'PDT/-7.0/DST' instead
Filename: posts/single.php
Line Number: 120
Severity: Warning
Message: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Los_Angeles' for 'PDT/-7.0/DST' instead
Filename: posts/single.php
Line Number: 120
Severity: Warning
Message: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Los_Angeles' for 'PDT/-7.0/DST' instead
Filename: posts/single.php
Line Number: 120
Severity: Warning
Message: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Los_Angeles' for 'PDT/-7.0/DST' instead
Filename: posts/single.php
Line Number: 120
Severity: Warning
Message: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Los_Angeles' for 'PDT/-7.0/DST' instead
Filename: posts/single.php
Line Number: 120
A PHP Error was encountered
Severity: Warning
Message: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Los_Angeles' for 'PDT/-7.0/DST' instead
Filename: posts/single.php
Line Number: 52
I’ve done a few multi-lingual sites which run off of our CMS. The key thing - obviously - is never use images with text in. You need to be able to change every bit of text in the site. Secondly, when coding the site, UTF-8 is your saviour.
The other thing to bear in mind is word length is often very different in different languages. The letter shapes can be very different too - one site I did was in English, Spanish and Chinese. The shape of the Chinese letters made a huge difference. Sometimes it’s not possible to design for every possibility, but it is worth testing the design with real content for that language.
I’ve not had to do an Arabic site yet, but as it is read differently I would suggest trying to follow their traditions there. How do you reverse the text itself?