2 Replies Latest reply: May 5, 2010 9:19 AM by 843810 RSS

    Direction of middle eastern languages in properties file

    843810
      Hi,

      I am hoping someone can point me to an authoritative source or document specifying which direction the Hebrew / Arabic / Farsi text should be entered in java properties files. That is, does it follow the natural direction of the script (right-to-left) or does it follow the direction of key (left-to-right)? I have tried searching without much luck.

      For example:
      sample.properties
      # english properties file
      sample.text=hello
      sample_he.properties (for the purposes of demonstration I am using english characters, in reality this would be the Hebrew and escaped)
      # hebrew properties file using the natural direction (right-to-left)
      sample.text=molahs
      OR is it
      # hebrew properties file using the english direction (left-to-right)
      sample.text=shalom
      thanks in advance,
      Ben