Beyond Po: How to Make Django Work... by Cho Garcia & Payam
DjangoCon US 2016 - Beyond Po: How to Make Django Work For Right-To-Left Languages by Cho Garcia & Payam LANGUAGE DETECTION How to address URL based translation and Django language detection easily. RTL LANGUAGE DIRECTION Most of them are speaking in a language which is written right to left so it’s not enough to just translate your app to their language. You should change the style of your app to display them in a correct format. Some graphic elements should be flipped horizontally to make sense for them. CHARACTER ENCODING ISSUES When you are working with a language with completely different form of alphabet and characters there is a huge chance that you face an issue if you don’t abide some encoding standards. CALENDAR SYSTEM Some of those countries have their own calendar which is completely different from gregorian calendar which is used in most of west countries. There are some apps helping you to convert unix timestamp to those different calendar format in both backend and frontend side INTERFACE DESIGN AND PROPER FONTS As their language is RTL some graphic elements need to be mirrored. Although it is true for most of layout parts but there are still some sections that needs to keep their direction, like mathematical equations, multimedia players progress bar, … Using modern frontend tools like SASS mixin to automatically float elements depending on the language direction.