RTL support?

Hello,
Is there a way to have RTL (right to left) language support in zenphoto?
What's needed are RTL buttons in text editing, comments(!) etc.
I hacked something in, using "allowed tags" - allow dir= in p and div tags, and then use them via direct HTML - but this is awkward to use, and can't be asked of users when they comment.
Am I missing something obvious? Is this available, or planned?
(seems like RTL support does exist in zenpage, but I can't find it in zenphoto).
Thanks!

Comments

  • The text editor used by Zenphoto is either tinyMCE or the standard browser window. Comments are standard forms so the CSS for the field would set the direction.
  • doron Member
    Thanks! This is extremely helpful.
    I went on to try and ask tinyMCE to present the ltr/rtl buttons. I found ...zp-core/plugins/tiny_mce/themes/zenphoto/editor_template.js but just adding the ltr and rtl button names to the list of buttons did not do the trick yet. I suspect I need to tell tinyMCE to load its "directionality" plugin, but am still looking for how this would be done (I'm new to both zenphoto and tinyMCE). Any hint would be greatly appreciated.

    Thanks again!
  • doron Member
    Following up on my own post, I have located zp-core/js/editor_config.js and now have the direction buttons. Still needs some fine tweaking but it's getting there.

    Thank you!
  • acrylian Administrator, Developer
    Just to mention Zenpage has a separate TinyMCE config file.
Sign In or Register to comment.