Closed ctf0 closed 4 years ago
@ctf0 maybe you should use a placeholder like this
__("Hello :variable", ['variable' => $var])
This way it should extract
"Hello :variable": "Hello :variable"
i dont think json supports placeholders https://laravel.com/docs/6.x/localization#replacing-parameters-in-translation-strings
i dont think json supports placeholders https://laravel.com/docs/6.x/localization#replacing-parameters-in-translation-strings
great, thanx, will try it then
Hi @ctf0, Thanks for your question.
As @andreich1980 suggested, it's better to use placeholders instead of inline variables.
If it doesn't work for you, you may try persistent strings https://github.com/kkomelin/laravel-translatable-string-exporter#persistent-strings
Hope it helps.
perfect, thanx again for your support
ex.
atm we will also get
is there a way to ignore such a case ?