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 use laravel-vue-i18n for my project, which provides translations in vue. This dynamically creates translations in lang/php_*.json.
The translation manager recognizes e.g. php_en as language.
I have provisionally added the following in the Manager.php:
importTranslations($replace = false, $base = null, $import_group = false) in the recognition of the .json files:
...
if (strpos($jsonTranslationFile, 'php_') != false) {
continue;
}
This will skip files with 'php_' in the name. Would be great if this could be customized and made configurable via config.
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
If this issue is still present on the latest version of this library on supported Laravel versions, please let us know by replying to this issue so we can investigate further.
Thank you for your contribution! Apologies for any delayed response on our side.
Hi,
I use laravel-vue-i18n for my project, which provides translations in vue. This dynamically creates translations in lang/php_*.json.
The translation manager recognizes e.g. php_en as language.
I have provisionally added the following in the Manager.php:
importTranslations($replace = false, $base = null, $import_group = false) in the recognition of the .json files:
...
This will skip files with 'php_' in the name. Would be great if this could be customized and made configurable via config.
The text was updated successfully, but these errors were encountered: