Hello,
I am using Osclass with the Delta theme.
Osclass core is fully translated using the official bg_BG language pack
The site language is set to Bulgarian (bg_BG) from the admin panel
Core Osclass strings are translated correctly
Only the Delta theme is not fully loading its bg_BG translations
Current setup:
Translation files exist in
oc-content/themes/delta/languages/bg_BG/theme.po
oc-content/themes/delta/languages/bg_BG/theme.mo
The .mo file is compiled and not empty
Folder and file names are correct (bg_BG, theme.po, theme.mo)
However:
Some theme strings remain in English
Switching language in admin panel does not fully affect the theme
The theme appears to rely on osc_current_user_locale() instead of osc_current_locale(), or has hardcoded English strings
Question:
What is the correct and recommended way for the Delta theme to load translations for bg_BG when Osclass core language is already set to Bulgarian?
Is there a required hook or recommended modification to ensure the theme properly respects osc_current_locale()?
Thank you in advance.