Hey friends,
now i have to ask some ugly thing. The last days my categories are always shown in "bangla" language, no matter what language i set.
I've changed my code to check whether the language is submitted right and it does, my code looks ok and i dont know why it doesn't set right language for categories... All other is translated right, only categories doesn't.
here are my code to show the categories...
...
while (osc_has_categories()) {
$locale = osc_current_user_locale();
$_id = osc_category_id();
$_slug = osc_category_slug();
$_url = html_entity_decode(osc_search_category_url());
$_name = osc_category_field("s_name", $locale);
//$_name = osc_category_name($locale);
$_total_items = osc_category_total_items();
$_icon = classic_category_icon($_id);
$return .= '<li class="menu__item icon">
<a class="menu__link '.$_slug.'" data-submenu="submenu-'.$_id.'" href="'.$_url.'">
<i class="fa fa-'.$_icon.' colors-'.$color.'"></i>
<span>'.$locale.' '.$_name.' ('.$_total_items.')</span>
</a>
<div class="clearfix"><>
</li>';
...
i've prepared the code to show me the used language code, like screenshot one... in my database are all correct, like screenshot two... maybe someone have another idea where i can take a look?