3 years ago

Translation text ending with ':'

Posted 3 years ago by EliasSoares


I have the following situation:

My language test.phpfile contains:

return [ 'test' => 'To:|To:' ]

And when I do:

trans_choice('test.test', 2)

The string outputed is empty!

If I replace the translation string to: 'Loren:a|Loren:a', it will output a string "a". Looks like a bug, could someone help-me?

Please sign in or create an account to participate in this conversation.