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 am interested in adding support for lists of string to i18n.lua. The use case is for in game text where I want to randomly select strings with equivalent meanings to provide some variety. For instance:
comparisons = { "You could buy %{item_count}", "You can afford %{item_count}", "You have enough money for %{item_count}" }
I was curious as to:
a) what would be the best way of implementing this
b) whether this was bad practice and had deliberately not been implemented
The text was updated successfully, but these errors were encountered:
I am interested in adding support for lists of string to i18n.lua. The use case is for in game text where I want to randomly select strings with equivalent meanings to provide some variety. For instance:
comparisons = { "You could buy %{item_count}", "You can afford %{item_count}", "You have enough money for %{item_count}" }
I was curious as to:
a) what would be the best way of implementing this
b) whether this was bad practice and had deliberately not been implemented
The text was updated successfully, but these errors were encountered: