Ticket #405 (closed task: fixed)

Opened 2 years ago

Last modified 4 months ago

Builtin RTL Support

Reported by: gluegadget Assigned to: afz
Priority: high Milestone: 0.8.0
Component: Languages / i10 Stuff Version: SVN
Severity: normal Keywords: RTL
Cc: jaws@mikeseth.com

Description

As all of us know some languages like Farsi and Arabic are RTL (Right To Left), and this makes the Jaws localization a bit harder than just translating the strings. We've a quick but dirty solution for this problem that makes the process more pain, and that's to write another template for all gadgets and put them in a theme, so I think we should to make it built-in and put the value in the Jaws Settings

Attachments

Change History

03/06/06 01:02:45 changed by dufuz

What we should do is inject a CSS in the header if it's a RTL language ... IMHO anyway ... about how we store what language is RTL and what not ... we'll have to find some more elegant solution for that since I don't want to add any extra files or such. I guess we could introduce a define that would handle that part. define('LANG_OPTION_RTL', true); or so in each Global language file and then the HTML Layout thingo does the trick to inject the rtl css if required.

Btw. do you have the Farsi translation ready ?

03/06/06 17:11:01 changed by gluegadget

Problem is a bit more complicated than this, if that was as easy as inject a class that wouldn't hurt.For example in a whole page just some fields required to be RTLed and this make it a bit hard, you can't put the RTL on the top of a page or even a table you should to realize even does this TableRow? requires it or not?

And about the translation files, I've them but they are for 0.5.4 and I should to update them, that would be nice if we had another persian guy here.

03/16/06 18:31:50 changed by pablo

  • version set to SVN.

03/16/06 18:48:24 changed by pablo

  • component changed from Core / Application to Languages / i10 Stuff.

09/11/06 10:20:22 changed by Mike Seth <jaws@mikeseth.com>

One of the things I am planning to do is hebrewization of Jaws, so I will be working with RTL stuff very closely I guess. I don't know the platform well enough yet but this is probably something that should go into my basket later on.

09/11/06 17:24:55 changed by anonymous

  • cc set to jaws@mikeseth.com.

11/21/06 14:52:42 changed by afz

require big changing in jaws then i shift it to 0.8.0

11/21/06 17:02:59 changed by pablo

  • milestone changed from 0.7.0 to 0.8.0.

01/26/07 11:19:50 changed by afz

  • owner changed from jawsbugs@jaws.com.mx to afz.

now we start to support RTL, please help me to complete this feature for 0.8.0.
steps that done:
1. add "DIRECTION" string to global languages.

ex.:
echo _t('DIRECTION'); // display 'rtl' or 'ltr'

2. now we have feature in JawsTemplate?, when language is RTL then try to load rtl.{filename} and if nor exist load {filename}
3. now we have feature in Layout AddHeadLink? function same as point 2
4. in ControlPanel? Layout now we have variable {dir} and automatically set to language direction.
5. main page of ControlPanel? also is RTLed(for view and test).

01/26/07 11:29:53 changed by afz

Piwi library still not support RTL.

02/18/07 15:58:16 changed by afz

notice: DIRECTION changed to GLOBAL_LANG_DIRECTION

03/04/07 02:30:42 changed by afz

now, theme can have dual separate style for rtl and ltr, for example jaws default theme support this feature.
using variable {dir.} pre sytle file name

03/24/07 00:37:37 changed by dufuz

How much do you think you have left to finish this feature?

03/24/07 01:06:10 changed by afz

we have enough time for full implement this feature. ;)

03/25/07 17:33:15 changed by pablo

  • type changed from defect to task.

07/01/07 13:24:43 changed by afz

  • status changed from new to closed.
  • resolution set to fixed.

Jaws RTLed.

05/07/08 14:29:36 changed by stranger

  • status changed from closed to reopened.
  • resolution deleted.

Guys, the language is not called Farsi, it's called Persian!!

05/07/08 14:49:45 changed by afz

  • status changed from reopened to closed.
  • resolution set to fixed.

we use "Persian/Farsi (فارسی)" and only in one place languages\fa\FullName? file.
so lemme to close this ticket.


Add/Change #405 (Builtin RTL Support)




Change Properties
Action