Delta Theme does not load bg_BG translation files correctly
« on: January 23, 2026, 01:33:07 PM »
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.

Re: Delta Theme does not load bg_BG translation files correctly
« Reply #1 on: January 24, 2026, 08:41:34 PM »
all is ok i fix it.

*

MB Themes

Re: Delta Theme does not load bg_BG translation files correctly
« Reply #2 on: January 26, 2026, 10:10:36 AM »
Thanks for confirmation ;)
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots