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 extracted the language codes that are missing. I suggest adding the following to the return of the function getCodeToLanguageMappings in src/Helpers/i18n_helpers.php to complete the code to language mappings:
Description
When adding certain locales in
config/translatable.php
, the ISO language names will appear only as the language code in the edit page.Steps to reproduce
config/translatable.php
, for examplebs
:'locales' => [ 'en', 'bs', ],
Expected result
Correct display of the ISO language name.
Actual result
Missing ISO language name, e.g. in the edit page:
Versions
Twill version: 3.0.0
Laravel version: 9.52
PHP version: 8.2
Suggested fix
I extracted the language codes that are missing. I suggest adding the following to the return of the function
getCodeToLanguageMappings
insrc/Helpers/i18n_helpers.php
to complete the code to language mappings:The text was updated successfully, but these errors were encountered: