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
Hi, Just a suggestion and may need some more input... but if you can detect missing translations, and add the translation key to the database so that it can be translated... why don't the package also just add in a default text as well??
say we have this kind of code __('file.parent.child.key', ['param' => 'example'], 'Default text here as :param')
a cons that I could think of is that this default text would just only be used once in the code, making it something not really that necessary.
The text was updated successfully, but these errors were encountered:
It would help if you used the fallback language. See the docs
Additionally, you may configure a "fallback language," which will be used if the active language does not contain a certain language line. The fallback language is also defined in the app/config/app.php configuration file, as is the default language. 'fallback_locale' => 'en',
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, Just a suggestion and may need some more input... but if you can detect missing translations, and add the translation key to the database so that it can be translated... why don't the package also just add in a default text as well??
say we have this kind of code
__('file.parent.child.key', ['param' => 'example'], 'Default text here as :param')
a cons that I could think of is that this default text would just only be used once in the code, making it something not really that necessary.
The text was updated successfully, but these errors were encountered: