Thank you from Blockly!
You're welcome. Regarding the translated version: it seems to be working, but there are a couple of bugs:
- The
.blocklySvg
class needs a CSS rule that saysdirection:rtl
. - "Apps" is not in the list of strings to translate. Currently it shows up as Apps < Blockly < פאזל instead of Blockly > אפליקציות > פאזל.
Thanks, Inkbug. I'll talk to our CSS guy about direction:rtl, and we're currently discussing what to do with the "Apps" string, which I agree looks doubly awful in Hebrew.
Our JavaScript/CSS hacker said you are absolutely right and pointed me to inject.js, which has this comment:
// Sadly browsers (Chrome vs Firefox) are currently inconsistent in laying // out content in RTL mode. Therefore Blockly forces the use of LTR, // then manually positions content in RTL as needed.
We have decided to restructure our site to get rid of "Apps".
Thanks again!
I see (I only tested in Firefox). According to this the direction:rtl;
handling is a bug in Firefox, and I hope it will be fixed soon. Until then, maybe add direction:rtl; text-anchor:end;
to .blocklyText
, and remove the text-anchor:end;
part in Firefox (based on some browser or feature detection script)?