Osclass forums

Support forums => Themes => Repurpose => Topic started by: volunteer on March 05, 2014, 04:41:24 am

Title: [FIX] Editing PO file doesn't work with Repurpose theme
Post by: volunteer on March 05, 2014, 04:41:24 am
I have been editing my theme.po and uploading the result (theme.mo) without seeing any change in the site, after trying many things finally found the cause of the problem.. nothing to do with PO/MO files or with POeditor

the theme repurpose is a twitter modified but in the code they never changed THAT!!  :o

check this out for example

Code: [Select]
<li><a href="<?php echo osc_contact_url(); ?>"><?php _e('Contact''twitter') ; ?></a>
as soon as u replace 'twitter' for 'repurpose' everything WORKS as it should  :)

hope it helps
Title: Re: [FIX] Editing PO file doesn't work with Repurpose theme
Post by: tomshaft on March 05, 2014, 11:26:30 am
Yep,
I thought I answered that in a another post?

Now though if you changed all references to twitter in all files, you may have other issues. Some had and some didn't. If you do discover new problems for the name change check all js files for latest versions.

Tom
Title: Re: [FIX] Editing PO file doesn't work with Repurpose theme
Post by: volunteer on March 05, 2014, 01:51:27 pm
thanks for your help but ur answer was something different

http://forums.osclass.org/3-3-x/multilanguage-doesn%27t-work/msg88334/#msg88334

Quote
Common texts are used from the core.mo/.po file while numerous texts are used from the THEME language file

Look for the THEME language file of the theme you use (is it Bender Purple or Repurpose or ?)

So look into the /oc-content/themes/MY_THEME/languages/es_ES/ folder for example

the files are called theme.po & .mo

I was modifying /MY_THEME/languages/  from the beginning without results, that was the issue