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'm trying to add translation to Arabic project, in arabic there are 6 versions of the same word that is variable of both gender and count for example:
the above works fine only if I passed the value of $membersCount variable to the term (i.e. {-add-text-male(count: 2)}) but when I use the variable name it doesn't work, I tried to search in the docs on how to reference variable in terms but I didn't find anything.
So my question is, is it possible achieve the result I'm after using the dynamic value of $membersCount in terms? if so, what is the correct syntax?
If not possible how similar result could be achieved?
The text was updated successfully, but these errors were encountered:
I'm trying to add translation to Arabic project, in arabic there are 6 versions of the same word that is variable of both gender and count for example:
the FTL I used to achieve the result:
the above works fine only if I passed the value of
$membersCount
variable to the term (i.e.{-add-text-male(count: 2)}
) but when I use the variable name it doesn't work, I tried to search in the docs on how to reference variable in terms but I didn't find anything.So my question is, is it possible achieve the result I'm after using the dynamic value of
$membersCount
in terms? if so, what is the correct syntax?If not possible how similar result could be achieved?
The text was updated successfully, but these errors were encountered: