Overview of Bidi support in  Dojo 1.4 Tomer Mahlin Bidi Development Lab Jerusalem
Agenda <ul><li>Bidirectional scripts support – what is it ? </li></ul><ul><li>Aspects of Bidi support in Dojo </li></ul><u...
Bidirectional scripts support – what is it ? <ul><li>A multitude of people use languages that are written in scripts which...
Aspects of Bidi support in Dojo <ul><li>Basic Bidi support </li></ul><ul><ul><li>Support for proper display, typing, shapi...
Configuration of Bidi support in Dojo 1.4 <ul><li>Support for proper display of structured text including Bidi characters ...
Configuration of Bidi support in Dojo 1.4 <ul><li>Support for national calendars (1.b) </li></ul><ul><ul><li>The support i...
Configuration of Bidi support in Dojo 1.4 <ul><li>Support for national calendars (1.b) </li></ul>lang =  en lang =  he  (n...
Configuration of Bidi support in Dojo 1.4 <ul><li>Support for proper GUI mirroring </li></ul><ul><ul><li>Controlled by dir...
What works well ? <ul><li>Support for typing and display of Bidi text as part of Dojo widgets </li></ul><ul><li>Support fo...
What is in development ? <ul><li>Mirroring of complex widgets –  dojox.charting.* </li></ul>Not mirrored chart  Mirrored c...
What is in development ? <ul><li>Mirroring of complex widgets –  dojox.grid </li></ul>Not mirrored grid   Mirrored grid
What is in development ? <ul><li>Support for GUI orientation on the widget level </li></ul>1 2 3 4
What is in development ? <ul><li>Controlling  base text direction  independently from  GUI orientation </li></ul>Displayin...
References <ul><li>Bidirectional script support: A primer:  An introduction to the concepts and peculiarities of bidirecti...
Contacts <ul><li>GCoC –  Globalization Center of Competence </li></ul><ul><ul><li>Israel Gidali ( [email_address] ) – Mana...
The END תודה רבה ! Thank you !
Upcoming SlideShare
Loading in...5
×

Bidi Support In Dojo1.4

3,737

Published on

Overview of Bidi support in Dojo 1.4. Bidi features developed and integrated into Dojo by Bidi development lab.

Published in: Education, Business, Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
3,737
On Slideshare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
32
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Bidi Support In Dojo1.4

  1. 1. Overview of Bidi support in Dojo 1.4 Tomer Mahlin Bidi Development Lab Jerusalem
  2. 2. Agenda <ul><li>Bidirectional scripts support – what is it ? </li></ul><ul><li>Aspects of Bidi support in Dojo </li></ul><ul><li>Configuration of Bidi support in Dojo </li></ul><ul><li>What works well ? </li></ul><ul><li>What is in development ? </li></ul><ul><li>References </li></ul><ul><li>Contacts </li></ul>
  3. 3. Bidirectional scripts support – what is it ? <ul><li>A multitude of people use languages that are written in scripts which are bidirectional. </li></ul><ul><li>In bidirectional scripts the text is written from right to left while embedded numbers or segments of text in &quot;western&quot; scripts (Latin based ones such as English or French, Cyrillic based, or Greek) are written from left to right. </li></ul><ul><ul><li>jerusalem NI EVIL I </li></ul></ul><ul><li>The languages with a bidirectional script can be divided in two distinct groups using either the Arabic or the Hebrew script (there are a few more additional bidirectional scripts although with less users). </li></ul><ul><li>Bidi support stands for support for Arabic and Hebrew (and a few more) languages having bidirectional scripts. </li></ul>
  4. 4. Aspects of Bidi support in Dojo <ul><li>Basic Bidi support </li></ul><ul><ul><li>Support for proper display, typing, shaping (Arabic specific) and editing of Bidi text (leveraging the Unicode Bidi algorithm). </li></ul></ul><ul><ul><ul><li>Support for controlling base text direction of text (LTR, RTL, Contextual) </li></ul></ul></ul><ul><ul><ul><li>Support for proper display of structured text including Bidi characters (i.e. File path, SQL query etc.) </li></ul></ul></ul><ul><ul><li>Support for national calendars (i.e. Hebrew, Hijri Islamic) </li></ul></ul><ul><li>Bidi enablement for translation to languages with bidirectional scripts </li></ul><ul><ul><li>Support for proper GUI mirroring </li></ul></ul><ul><ul><ul><li>Controlling component orientation on the widget level </li></ul></ul></ul>
  5. 5. Configuration of Bidi support in Dojo 1.4 <ul><li>Support for proper display of structured text including Bidi characters (1.a.ii) </li></ul><ul><ul><li>The support is available via dojox.string.BidiComplex </li></ul></ul>dojo.require(&quot;dojox.string.BidiComplex&quot;); var originalString = &quot;c:ABCDEF&quot; ;       var displayString = dojox.string.BidiComplex.createDisplayString(originalString, &quot;FILE_PATH&quot;); Static case dojo.require(&quot;dojox.string.BidiComplex&quot;); … dojox.string.BidiComplex.attachInput(document.getElementById(&quot;ctext&quot;), &quot;FILE_PATH&quot;); Dynamic case Before: After: Before: After:
  6. 6. Configuration of Bidi support in Dojo 1.4 <ul><li>Support for national calendars (1.b) </li></ul><ul><ul><li>The support is available via </li></ul></ul><ul><ul><ul><li>dojox.date.hebrew.Date – calendar logic </li></ul></ul></ul><ul><ul><ul><li>dojox.date.hebrew.locale – parsing and formatting </li></ul></ul></ul><ul><ul><ul><li>dojox.date.hebrew.numerals – support for Hebrew numerals </li></ul></ul></ul>dojo.require(&quot;dojox.date.hebrew&quot;); dojo.require(&quot;dojox.date.hebrew.Date&quot;); dojo.require(&quot;dojox.date.hebrew.locale&quot;); dojo.require(“dojox.date.hebrew.numerals”); <input id=&quot;hebcal“ name=&quot;noDOMvalue“ value=&quot;2009-03-23“ type=&quot;text“ dojoType=&quot;dijit.form.DateTextBox“ datePackage = &quot;dojox.date.hebrew “ lang=&quot;en&quot; >
  7. 7. Configuration of Bidi support in Dojo 1.4 <ul><li>Support for national calendars (1.b) </li></ul>lang = en lang = he (not mirrored GUI)
  8. 8. Configuration of Bidi support in Dojo 1.4 <ul><li>Support for proper GUI mirroring </li></ul><ul><ul><li>Controlled by dir attribute in the body </li></ul></ul><body dir = ltr > <body dir = rtl >
  9. 9. What works well ? <ul><li>Support for typing and display of Bidi text as part of Dojo widgets </li></ul><ul><li>Support for proper GUI mirroring </li></ul><ul><ul><li>Simple widgets (tree, slider etc.) are properly mirrored </li></ul></ul>Not mirrored slider Mirrored slider
  10. 10. What is in development ? <ul><li>Mirroring of complex widgets – dojox.charting.* </li></ul>Not mirrored chart Mirrored chart
  11. 11. What is in development ? <ul><li>Mirroring of complex widgets – dojox.grid </li></ul>Not mirrored grid Mirrored grid
  12. 12. What is in development ? <ul><li>Support for GUI orientation on the widget level </li></ul>1 2 3 4
  13. 13. What is in development ? <ul><li>Controlling base text direction independently from GUI orientation </li></ul>Displaying Bidi text in the not mirrored GUI Displaying English text in the mirrored GUI
  14. 14. References <ul><li>Bidirectional script support: A primer: An introduction to the concepts and peculiarities of bidirectional scripts in computing systems, which forms a basis for understanding how those scripts are implemented in specific systems (http://www.ibm.com/developerworks/websphere/library/techarticles/bidi/bidigen.html). </li></ul><ul><li>Design document for display of complex expressions containing bidirectional text: A general design document created by Bidi architect Mati Allouche provides a way to resolve overwhelming majority of various types of expressions with a complex internal structure. https://bugs.eclipse.org/bugs/attachment.cgi?id=63835 </li></ul><ul><li>Unicode Bidirectional Algorithm: The layout transformations use a bidirectional implicit algorithm that conforms to the Unicode Bidirectional Algorithm. http://www.unicode.org/reports/tr9/ </li></ul><ul><li>Hebrew national calendar: Documentation of Hebrew national calendar in Dojo 1.4 is available from : http://docs.dojocampus.org/dojox/date/hebrew </li></ul><ul><li>Support for complex expressions: Documentation of support for complex expressions is available from http://api.dojotoolkit.org/jsdoc/1.3/dojox.string.BidiComplex </li></ul>
  15. 15. Contacts <ul><li>GCoC – Globalization Center of Competence </li></ul><ul><ul><li>Israel Gidali ( [email_address] ) – Manager of GCoC Complex Text Languages </li></ul></ul><ul><ul><li>Matitiahu Allouche ( [email_address] ) – Bidi architect </li></ul></ul><ul><ul><li>Waleed Oransa ( [email_address] ) – Technical team lead </li></ul></ul><ul><ul><li>Mohamed Mohie( [email_address] ) - Technical team lead </li></ul></ul><ul><li>BDL – Bidi development lab (Jerusalem) </li></ul><ul><ul><li>Eli Shapurov ( [email_address] ) – Manager of HCG </li></ul></ul><ul><ul><li>Tomer Mahlin ( [email_address] ) – HCG Architect </li></ul></ul><ul><li>ACGC – Arabic Competence and Globalization Center (Cairo) </li></ul><ul><ul><li>Tarek Abou Aly( [email_address] ) – Manager of ACGC </li></ul></ul>
  16. 16. The END תודה רבה ! Thank you !
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×