Skip to content

Conversation

@rami-elementor
Copy link
Member

@rami-elementor rami-elementor commented Jan 22, 2026

✨ PR Description

Purpose: Fix internalization issue by changing plugin initialization hook from plugins_loaded to init to ensure textdomain is loaded at the correct timing for just-in-time translation mechanism.

Main changes:

  • Changed action hook from plugins_loaded to init in constructor to defer plugin initialization and allow proper textdomain loading
  • Updated documentation comment to reflect the corrected hook name for clarity and maintainability

Generated by LinearB AI and added by gitStream.
AI-generated content may contain inaccuracies. Please verify before using.
💡 Tip: You can customize your AI Description using Guidelines Learn how

@rami-elementor rami-elementor requested a review from a team January 22, 2026 09:17
@rami-elementor rami-elementor changed the title [APP-2382] Fix internalization issue in textdomain just in time mecha… [APP-2382] Fix internalization issue in textdomain just in time mechanism Jan 22, 2026
@rami-elementor rami-elementor merged commit 59c275b into develop Jan 22, 2026
73 checks passed
@rami-elementor rami-elementor deleted the APP-2382-i18n-jit branch January 22, 2026 09:56
rami-elementor added a commit that referenced this pull request Jan 22, 2026
rami-elementor added a commit that referenced this pull request Jan 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants