Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add support for lists of strings #29

Open
personalnadir opened this issue Nov 1, 2019 · 0 comments
Open

add support for lists of strings #29

personalnadir opened this issue Nov 1, 2019 · 0 comments

Comments

@personalnadir
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant