Y
Yu Co
Hi all,
I want to add multilanguage support in a select box. There is a file
with all the translations. The entries look like
"
...
l.store "Mr", "Herr"
l.store "Ms", "Frau"
...
"
Then I want to import these declarations in my rhtml file
"<td><%=select "customer", "salutation", [ _ 'Mr' , _ 'Ms' ] %></td>"
Unfortunately I get a SyntaxError. If I change this line to
"<td><%=select "customer", "salutation", [ _ 'Mr' ] %></td>"
Then it works fine.
Any suggestions?
I want to add multilanguage support in a select box. There is a file
with all the translations. The entries look like
"
...
l.store "Mr", "Herr"
l.store "Ms", "Frau"
...
"
Then I want to import these declarations in my rhtml file
"<td><%=select "customer", "salutation", [ _ 'Mr' , _ 'Ms' ] %></td>"
Unfortunately I get a SyntaxError. If I change this line to
"<td><%=select "customer", "salutation", [ _ 'Mr' ] %></td>"
Then it works fine.
Any suggestions?