Advertisement:

Author Topic: [FIX] Editing PO file doesn't work with Repurpose theme  (Read 1035 times)

volunteer

  • Full Member
  • ***
  • Posts: 241
[FIX] Editing PO file doesn't work with Repurpose theme
« 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

tomshaft

  • Hero Member
  • *****
  • Posts: 862
  • Osshaft for Osclass - Add 650 posts to my total
Re: [FIX] Editing PO file doesn't work with Repurpose theme
« Reply #1 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

volunteer

  • Full Member
  • ***
  • Posts: 241
Re: [FIX] Editing PO file doesn't work with Repurpose theme
« Reply #2 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