Import lang files and how to change languages of the app? #1294
Replies: 1 comment
-
🚨 Bot is not sure about this answer. Please verify. 🚨 Based on the knowledge sources provided, I don't have enough specific information to fully answer your question about importing lang files and changing languages in Backpack 6.7 with the translation-manager package. However, I can provide some general guidance based on the available information:
'locale' => 'it',
'fallback_locale' => 'en', Replace 'it' with your desired language code.
Replace {language} with your desired language code.
composer require --dev laravel-lang/common
php artisan lang:add it Replace 'it' with your desired language code. Unfortunately, the knowledge sources don't provide specific information about the "language_lines" table you mentioned or about changing the order of flags in language editors. For more detailed information about these specific features and how they work with Backpack 6.7 and the translation-manager package, you might need to consult the documentation for those specific packages or reach out to their support channels. ℹ️ Please note our AI Bot does not reply to follow-ups, this will be the only AI answer in this thread. If the AI helped you find the answer, please mark it as answered or write details below so it can learn. Then close the conversation. If not, please give more information for when a human reads this. ℹ️ Relevant sources: Github Issue (closed): [Request] Republish Lang command |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I have installed backpack/crud: ^6.7 and backpack/translation-manager ^1.0
into fresh laravel 11.31 app and having empty “language_lines” table I copied some lang files under
“lang” subdirectory. After that a lot of keys in “translation lines”, but “language_lines” table is still empty.
Are there options :
a) Import lang files into db ?
b) Export lines of “language_lines” table into lang files ?
c) Where can I change languages and order of flag in langs editors?
Beta Was this translation helpful? Give feedback.
All reactions