prade3p prade3p - 6 months ago 111
PHP Question

Osclass Category Translation not showing front end

here my website i was installed osclass script.it need to be multilingual so, translated to local Sinhala (si_SI). categories were also updated with both Sinhalese and English language. but at the front end while switch into languages its categories were only shows on English only. was anyone had solution for showing categories also in other languages?


  1. front end with Sinhala Language
    http://i60.tinypic.com/17cy9j.jpg "front end with Sinhala Language"

  2. front end with English Language
    http://i59.tinypic.com/314s1u1.jpg "front end with English Language"


Answer

when you echo the categories in the select element it probably needs to be translation ready. eg <?php _e('categoryName', 'translationName');?>

Translating and editing language files Osclass