Add textile into rails-i18n
I need to add some sort of markup in my localization files of my rails project. I want something like this:
en:
开发者_开发知识库 hello: **Hello** world!
it:
hello: ciao **mondo**!
and for example **word**
could be converted with <strong>word</strong>
. For example I'd like to add the textile support.
I've found r18n plugin that's is very nice, but it's way too different from the i18n-rails framework and has several features I don't actually need.
Do you know any plugin that could help me? I've not found anything so far. Do you have any suggestion about tutorial I can use to extend i18n and add this feature by my self. Is anyone interested in such functionality?
Are you saying that
RedCloth.new(t(:hello)).to_html
doesn't work?
精彩评论