You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't like the flash of untranslated text when loading them async, so I do that instead. This part seems to work fine!
What's strange is the exported/loaded translation file looks like this:
Single word translations are set as a constants, and multi word translations are just strings.
This should still work, right?
But it doesn't for some reason.
// these translate fine
{{ $t('Search') }}
{{ $t('Filter') }}
// but these don't - and yes, they are available in the translation file
{{ $t('Confirm Password') }}
{{ $t('Price range') }}
{{ $t('Visit store') }}
Any clue? Am I doing something wrong?
The text was updated successfully, but these errors were encountered:
I have a strange issue where translations that have multiple words don't load. Only single word translations load.
I'm using Vite and the new laravel-vite-plugin like this:
I don't like the flash of untranslated text when loading them async, so I do that instead. This part seems to work fine!
What's strange is the exported/loaded translation file looks like this:
Single word translations are set as a constants, and multi word translations are just strings.
This should still work, right?
But it doesn't for some reason.
Any clue? Am I doing something wrong?
The text was updated successfully, but these errors were encountered: