add support for lists of strings
personalnadir opened this issue · 0 comments
personalnadir commented
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