Skip to content

How to have an array of values in a localized variable? #1009

Answered by djbe
naiduGrit asked this question in Q&A
Discussion options

You must be logged in to vote

You'll need to create that list yourself.

  • You could write a custom template to generate this list for you if you want. For example to only generate it for all keys with a certain prefix?
  • Another option is to use code generation tools like Sourcery, it can easily handle cases like these.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by naiduGrit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants