We want to be able to pull the JIRA requests into a SQL database to display requests for Managers and what is in their current queue. What is the best way to do that?
Interesting... do you think this this an HTML problem or an issue with i18n in jira?
How does it look when you view RTL languages in the browser, is it correct?
If it's an HTML issue have you tried using the dir attrib as per http://www.i18nguy.com/markup/right-to-left.html?
If i use
<div dir="rtl"> $m_t_u </div>
in code the text is alligned on the right. I have just tested it.
Using
<div align="right"> $m_t_u </div>
has exactly the same results.
Finally, it was not an HTML problem nor a i18n in JIRA. I was using wrong script in post function. :(
Thanks for the help
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm trying to add a conditional expression in email's body but in email i get printed the conditional expression also.
what i use is the following
content = """\ <% if (issue.getCustomFieldValue( customField_language ).toString() == "Arabic") out << '<div dir="rtl"> $m_t_u </div>' else out << '<div> $m_t_u </div>'%> """
And the email i get is the following
<% if (issue.getCustomFieldValue( customField_language ).toString() == "Arabic") out << ' test tetetest testtesttest ' else out << ' test tetetest testtesttest '%>
Any idea what's wrong in the syntax i use?
Thanx in advance
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think it should be like this:
<% if (issue.getCustomFieldValue( customField_language ).toString() == "Arabic") %>
'<div dir="rtl">$m_t_u
<% else %>
....
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have tried your suggestion but it seems that the way the syntax is ignores the condition. Html works though.
The condition i have used is the following
<% if (issue.getCustomFieldValue( customField_language ).toString() == "Arabic") %>
'<div dir="rtl">$m_t_u</div>
<% else %>
'<div>$m_t_u</div>
The result i get is in the next screenshot

I have tried different modifications, without luck.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.