mamute
mamute copied to clipboard
Support for RTL language
How to add support for right to left languages?
+1
Hi @KnightYusuf, hi@khajavi.
I think that the first thing you can try is to add the direction: rtl;
css property to a custom stylesheet (you can do that creating an css/deps/custom.css
file).
I've tried that, and the result didn't look good. You'll probably need to customise all templates of the default theme. These are the templates that you can customise: https://github.com/caelum/mamute/tree/master/src/main/webapp/WEB-INF/jsp/theme/default
Do you wanna try that? It will be an awesome contribution to Mamute and we can help you with the development.
Hi,
Other than css issue (rtl direction), Mamute have a big issue with writing Persian alphabets. When i try write "جملهٔ فارسی", Mamute show that in "???????????" style!
On Fri, Jul 31, 2015 at 3:07 AM, csokol [email protected] wrote:
Hi @KnightYusuf https://github.com/KnightYusuf, hi@khajavi.
I think that the first thing you can try is to add the direction: rtl; css property to a custom stylesheet (you can do that creating an css/deps/custom.css file).
I've tried that, and the result didn't look good. You'll probably need to customise all templates of the default theme. These are the templates that you can customise: https://github.com/caelum/mamute/tree/master/src/main/webapp/WEB-INF/jsp/theme/default
Do you wanna try that? It will be an awesome contribution to Mamute and we can help you with the development.
— Reply to this email directly or view it on GitHub https://github.com/caelum/mamute/issues/185#issuecomment-126510813.
Milād Khājavi http://blog.khajavi.ir Having the source means you can do it yourself. I tried to change the world, but I couldn’t find the source code.
That's weird, it should always use utf-8 for everything. Can you open another issue for that @khajavi ?
I'm trying to add custom rtl css. Could you help me how can I detect the locale in view (jsp)?