Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Rob Stevenson-Leggett 38 posts 110 karma points
    Apr 12, 2010 @ 21:07
    Rob Stevenson-Leggett
    0

    Arabic and TinyMCE

    Hi,

    We currently have a site running multiple languages. There is a requirement for an Arabic version of the site. I understand that I can create a stylesheet for TinyMCE that handles RTL text direction. I can also swap the <html> element in the base template to handle the frontend. However, I don't want to have to recreate arabic version of all the templates just to swap the rich text editor data type.

    Is there a way to create a datatype that wraps the Rich text editor datatype and decide which TinyMCE stylesheet to use based on the logged in user? If so, any hints on how to go about implementing this?

    I'm fairly well versed in umbraco but haven't coded my own datatype outside of wrapping usercontrols.

    Rob

  • Rob Stevenson-Leggett 38 posts 110 karma points
    Apr 21, 2010 @ 12:03
    Rob Stevenson-Leggett
    0

    Hi I've managed to solve this myself by following the instructions in the thread:

    http://forum.umbraco.org/yaf_postst9084_How-can-we-use-incomplete-xml-langauge-file-in-umbraco.aspx

    However, I'm now thinking about the other elements in the umbraco back end such as text box and simple editor. Any ideas on how to switch these to right to left if the logged in user has the arabic language?

     

  • tarekahf 215 posts 153 karma points
    Nov 12, 2010 @ 15:37
Please Sign in or register to post replies

Write your reply to:

Draft