martinlindhe / laravel-vue-i18n-generator

Generates a vue-i18n compatible include file from your Laravel translations
MIT License
306 stars 207 forks source link

escape_char config for time format '12:00' => '12{00}' #100

Closed yevhenlisovenko closed 4 years ago

yevhenlisovenko commented 4 years ago

Hi everyone, I've spent some time to fix strange thing in my project.

When I convert time from my Laravel localization files I've got the result: '12:00' => '12{00}'

To avoid the issue, you can add to the config file 'escape_char' => '!|\S'

Hope it will save you time 😉