Advertisement:

Author Topic: OsclassWizard child and language problem  (Read 1644 times)

Alessandro

  • Newbie
  • *
  • Posts: 17
OsclassWizard child and language problem
« on: October 12, 2015, 01:04:24 am »
Hi all,
I have create a child theme from osclasswizards parent theme.
All works fine except the translation. If there isn't issue with the parent, I cannot translate the child theme. Is there a bug o I need to customize the functions.php file?

Igirus

  • Newbie
  • *
  • Posts: 20
Re: OsclassWizard child and language problem
« Reply #1 on: November 05, 2015, 09:20:38 pm »
I tried translate in notepad - didn't work. Used poedit, works very well, so use poedit!

Alessandro

  • Newbie
  • *
  • Posts: 17
Re: OsclassWizard child and language problem
« Reply #2 on: November 06, 2015, 12:34:47 pm »
ciao Igirus,
yes, I use Poedit to translate the theme.

The issue is related to the child theme. Once created, it isn't translated.

calinbehtuk

  • Sr. Member
  • ****
  • Posts: 450
Re: OsclassWizard child and language problem
« Reply #3 on: November 07, 2015, 12:53:13 pm »
Seams to work if you replace in parent theme all the words with the name of you child theme.
I do not know if this it the correct solution but you can  try.

Replace the red word from parent theme

<?php _e('Premium Listings','osclasswizards');?>

With this

<?php _e('Premium Listings','osclasswizards_child');?>

osclasswizards_child = the name of your child theme.

Or you can copy all the files from parent theme in your child theme and you can rename that word only in child theme.
This works for me but how i told you i do not know if this is the correct way.


Alessandro

  • Newbie
  • *
  • Posts: 17
Re: OsclassWizard child and language problem
« Reply #4 on: January 19, 2016, 04:46:16 pm »
Seams to work if you replace in parent theme all the words with the name of you child theme.
I do not know if this it the correct solution but you can  try.

Replace the red word from parent theme

<?php _e('Premium Listings','osclasswizards');?>

With this

<?php _e('Premium Listings','osclasswizards_child');?>

osclasswizards_child = the name of your child theme.

Or you can copy all the files from parent theme in your child theme and you can rename that word only in child theme.
This works for me but how i told you i do not know if this is the correct way.

Thank you for the reply. Unfortunately this isn’t the best way to solve the issue because I will re-apply the modification on every release of the theme.

epboeira

  • Newbie
  • *
  • Posts: 11
Re: OsclassWizard child and language problem
« Reply #5 on: July 07, 2017, 04:50:39 am »
Seams to work if you replace in parent theme all the words with the name of you child theme.
I do not know if this it the correct solution but you can  try.

Replace the red word from parent theme

<?php _e('Premium Listings','osclasswizards');?>

With this

<?php _e('Premium Listings','osclasswizards_child');?>

osclasswizards_child = the name of your child theme.

Or you can copy all the files from parent theme in your child theme and you can rename that word only in child theme.
This works for me but how i told you i do not know if this is the correct way.

Hi. We are in 2017 and still don't have a solution to this. Do you think this will work in 3.7.3?