smhg / gettext-parser

Parse and compile gettext po and mo files, nothing more, nothing less
MIT License
158 stars 44 forks source link

multiple references support #29

Open AlexMost opened 7 years ago

AlexMost commented 7 years ago

For now, to be able to pass multiple references for translation i need to concatenate them with \n symbols. Would be great if we could pass those references as array. What do you think? I can create PR with this functionality.

aduth commented 7 years ago

We encountered a need for this as well. What was the reason for closing the issue?

Thanks for the pointer to joining with the newline character. We'll use this as a workaround in the meantime.

AlexMost commented 7 years ago

There was no feedback from the author, so I decided to use workaround with joining strings with \n and close the issue)

smhg commented 6 years ago

It seems that I never received an e-mail about this issue (and some others). What you propose sounds reasonable to me (I adopted the project last year). Feel free to create a PR. Preferable one that doesn't break the existing behavior. Thanks!