quick-survey icon indicating copy to clipboard operation
quick-survey copied to clipboard

Any plans for RTL support?

Open mrphs opened this issue 8 years ago • 5 comments

Quick Survey is a great quick tool for surveys indeed. But only for Left-to-Right languages. Do you've any plans to support RTL languages like Farsi, Arabic and Hebrew?

mrphs avatar Mar 02 '17 17:03 mrphs

I didn't have any plans for this but that's largely because I have no idea how to do this. If you have any suggestions @mrphs I would love to hear them.

I don't have enough time to work on Quick Survey at the moment, but more than welcome anyone else willing to take this on.

simonv3 avatar Mar 02 '17 18:03 simonv3

I haven't had a chance to actually take a deep look at the code base. Is there a way to create templates?

mrphs avatar Mar 02 '17 23:03 mrphs

There isn't. There's this, but I don't think this is what you have in mind.

I've had some thoughts about this and I can imagine using internationalization / locale detection to detect a language. I think the admin should be able to select a supported language from a dropdown, and that would affect the display of the text and set a "universal" language for the template.

I don't know if it makes sense for quick-survey to default to the user's locale, because the questions won't be automatically translated if they're not written in the right format.

https://github.com/simonv3/quick-survey/issues/14

simonv3 avatar Mar 02 '17 23:03 simonv3

I think it should be in the hands of survey admin to pick the language (or text-direction). Mostly because when you create a survey, the assumption is that you know your audience, and you probably know what language they speak. Even more so, even if the platform is translated, the question wont be.

I think we're potentially talking about two things here:

  1. Localization of quick survey, which needs more thought and consideration and perhaps more work.

  2. Giving the option to the admin to input RTL content. on css or html level, it's literally just changing the page direction. though of course you can get more detailed to make things look better.

mrphs avatar Mar 03 '17 01:03 mrphs

For 2, how do you see the admin toggling the "let me input RTL"?

simonv3 avatar Mar 03 '17 15:03 simonv3