amiranagram / localizator

Scan your Laravel project and generate language files ready to translate in language(s) of choosing.
Other
226 stars 28 forks source link

add support for newlines and spaces #35

Closed rexlManu closed 2 years ago

rexlManu commented 2 years ago

When I wrote at #34, I once created a PR with the customized Search Pattern.

With this it is now possible to search for strings in the JS code if they are multiline.

Example:

{{ $t( "A message like stand with ukraine or something else" ) }}

I think this is only a issue with a formater like prettier.

amiranagram commented 2 years ago

Looks great, thanks!

amiranagram commented 2 years ago

https://github.com/amiranagram/localizator/releases/tag/v0.9.0-alpha