Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Any plans for RTL support? #59

Open
mrphs opened this issue Mar 2, 2017 · 5 comments
Open

Any plans for RTL support? #59

mrphs opened this issue Mar 2, 2017 · 5 comments

Comments

@mrphs
Copy link

mrphs commented Mar 2, 2017

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?

@simonv3
Copy link
Owner

simonv3 commented Mar 2, 2017

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.

@mrphs
Copy link
Author

mrphs commented Mar 2, 2017

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

@simonv3
Copy link
Owner

simonv3 commented Mar 2, 2017

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.

#14

@mrphs
Copy link
Author

mrphs commented Mar 3, 2017

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.

@simonv3
Copy link
Owner

simonv3 commented Mar 3, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants