Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Translations not loading during the setup wizard #2835

Closed
4 tasks
brianhogg opened this issue Dec 16, 2024 · 0 comments
Closed
4 tasks

Translations not loading during the setup wizard #2835

brianhogg opened this issue Dec 16, 2024 · 0 comments
Assignees
Labels
Status: Has PR This issue has an open pull request

Comments

@brianhogg
Copy link
Contributor

Reproduction Steps

  1. Switch to a different language than English that has translations (ie. Español)
  2. Load the setup wizard via LifterLMS > Status, Tools tab, Run Setup Wizard

Expected Behavior

Text is translated

Actual Behavior

Text not translated, warning shows

Error Messages / Logs

  • Include any relevant error messages or log files
#0 /Users/brianhogg/laravel/lifter2/wp-includes/class-wp-hook.php(326): {closure}('_load_textdomai...')
#1 /Users/brianhogg/laravel/lifter2/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)
#2 /Users/brianhogg/laravel/lifter2/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#3 /Users/brianhogg/laravel/lifter2/wp-includes/functions.php(6003): do_action('doing_it_wrong_...', '_load_textdomai...', 'Translation loa...', '6.7.0')
#4 /Users/brianhogg/laravel/lifter2/wp-includes/l10n.php(1370): _doing_it_wrong('_load_textdomai...', 'Translation loa...', '6.7.0')
#5 /Users/brianhogg/laravel/lifter2/wp-includes/l10n.php(1408): _load_textdomain_just_in_time('lifterlms')
#6 /Users/brianhogg/laravel/lifter2/wp-includes/l10n.php(194): get_translations_for_domain('lifterlms')
#7 /Users/brianhogg/laravel/lifter2/wp-includes/l10n.php(339): translate('LifterLMS Setup...', 'lifterlms')
#8 /Users/brianhogg/laravel/lifter2/wp-content/plugins/lifterlms/includes/admin/class.llms.admin.setup.wizard.php(43): esc_html__('LifterLMS Setup...', 'lifterlms')
#9 /Users/brianhogg/laravel/lifter2/wp-content/plugins/lifterlms/includes/admin/class.llms.admin.setup.wizard.php(259): LLMS_Admin_Setup_Wizard->__construct()
#10 /Users/brianhogg/laravel/lifter2/wp-content/plugins/lifterlms/includes/class-llms-loader.php(371): require_once('/Users/brianhog...')
#11 /Users/brianhogg/laravel/lifter2/wp-content/plugins/lifterlms/includes/class-llms-loader.php(134): LLMS_Loader->includes_admin()
#12 /Users/brianhogg/laravel/lifter2/wp-content/plugins/lifterlms/includes/class-llms-loader.php(456): LLMS_Loader->__construct()
#13 /Users/brianhogg/laravel/lifter2/wp-content/plugins/lifterlms/lifterlms.php(49): require_once('/Users/brianhog...')
#14 /Users/brianhogg/laravel/lifter2/wp-settings.php(538): include_once('/Users/brianhog...')
#15 /Users/brianhogg/laravel/lifter2/wp-config.php(111): require_once('/Users/brianhog...')
#16 /Users/brianhogg/laravel/lifter2/wp-load.php(50): require_once('/Users/brianhog...')
#17 /Users/brianhogg/laravel/lifter2/wp-admin/admin.php(34): require_once('/Users/brianhog...')
#18 /Users/brianhogg/laravel/lifter2/wp-admin/index.php(10): require_once('/Users/brianhog...')
#19 /Users/brianhogg/.composer/vendor/laravel/valet/server.php(110): require('/Users/brianhog...')

This issue has be recreated:

  • Locally
  • On a staging site
  • On a production website
  • With only LifterLMS and a default theme
@ideadude ideadude self-assigned this Dec 16, 2024
@ideadude ideadude moved this to Awaiting Triage in Development Dec 16, 2024
@brianhogg brianhogg moved this from Awaiting Triage to Awaiting Review in Development Dec 16, 2024
@brianhogg brianhogg added the Status: Has PR This issue has an open pull request label Dec 17, 2024
@brianhogg brianhogg assigned brianhogg and unassigned ideadude Dec 17, 2024
@github-project-automation github-project-automation bot moved this from Awaiting Review to Done in Development Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Has PR This issue has an open pull request
Projects
Status: Done
Development

No branches or pull requests

2 participants