You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wish to get a little help. I do not have a long relationship with ruby yet and I am porting a project from php to ruby.
One of my translations have a dynamic part in it.
en.yml:
refs:
refname_01:
info:
name: yamyam
In my haml template I have a variable containing the name of the 2nd level translation leaf:
refname='refname_01'
So I wish to have "yamyam" printed in the template using a dynamically constructed translation reference, something like:
= refs.#{refname}.info.name
Can you please help me find the right solution or direct me to the right forum where I can discuss this matter, please?
Thank you!
The text was updated successfully, but these errors were encountered:
Hello!
I wish to get a little help. I do not have a long relationship with ruby yet and I am porting a project from php to ruby.
One of my translations have a dynamic part in it.
en.yml:
In my haml template I have a variable containing the name of the 2nd level translation leaf:
So I wish to have "yamyam" printed in the template using a dynamically constructed translation reference, something like:
= refs.#{refname}.info.name
Can you please help me find the right solution or direct me to the right forum where I can discuss this matter, please?
Thank you!
The text was updated successfully, but these errors were encountered: