Jump to content


Photo
- - - - -

Child Theme Language And Sections


  • Please log in to reply
11 replies to this topic

#1 jbrouwer

jbrouwer

    Super Member

  • Members
  • 191 posts
  • Country: Country Flag

Posted 05 December 2012 - 11:01 AM

Hi,

 

Just would like to share some feedback regarding the base child theme:

 

- the language files do not work when stored in a child theme languare folder. You either have to keep them in the pagelines language folder or in the plugin customization folder. Keeping it in the pagelines folder is not an option (lost when updating) and having the customization plugin installed when you work with a child theme seems redundant. Ideally, the language files work when stored in a child theme language folder.

 

- When you have the base child theme installed you cannot access to the sections part in the pagelines store (in the admin area). You first have to install the sections plugin. This also seems redundant if you already have the base child theme installed.

 

Keep up the good work!



#2 Simon_P

Simon_P

    Messer

  • Administrators
  • 8388607 posts
  • LocationDevon
  • Framework Version:2.0
  • Country: Country Flag

Posted 05 December 2012 - 02:09 PM

we use the custom plugin for lang as there are 3rd party themes in the store, and if you update that your lang folder is gone again ;)



#3 jbrouwer

jbrouwer

    Super Member

  • Members
  • 191 posts
  • Country: Country Flag

Posted 06 December 2012 - 09:58 AM

Ok. I thought maybe you guys could make it work for the base child theme as well.



#4 butcher

butcher

    Member

  • Members

  • 29 posts
  • Framework Version:DMS
  • Country: Country Flag

Posted 21 January 2013 - 10:52 PM

yeah, it should work in child theme! I have to remember to upload it after every update - and there are many updates lately... if not child theme then maybe another folder for lang ? Its kinda obvious that it has to be done...



#5 Rob

Rob

    One Smart Egg

  • Members
  • 13575 posts
  • LocationEast Coast, USA
  • Framework Version:The Latest, of course
  • Country: Country Flag

Posted 22 January 2013 - 04:47 AM

It should work for anything with our Translation Center.



#6 butcher

butcher

    Member

  • Members

  • 29 posts
  • Framework Version:DMS
  • Country: Country Flag

Posted 22 January 2013 - 10:32 AM

What do you mean ? I did translate some of it by my self (pl_PL)... where should we put it to work outside the pagelines theme ?



#7 basmati

basmati

    Advocate

  • Members
  • 255 posts
  • Framework Version:PageLines Framework (always the latest)
  • Country: Country Flag

Posted 14 March 2013 - 05:55 PM

it would be great to find a solution for this ...



#8 butcher

butcher

    Member

  • Members

  • 29 posts
  • Framework Version:DMS
  • Country: Country Flag

Posted 14 March 2013 - 06:22 PM

There is a solution basmati. Install Pagelines Cusomize plugin and put 'language' folder in it (/wp-content/plugins/pagelines-customize/language) and then your lang file de_DE.mo


  • basmati likes this

#9 Rob

Rob

    One Smart Egg

  • Members
  • 13575 posts
  • LocationEast Coast, USA
  • Framework Version:The Latest, of course
  • Country: Country Flag

Posted 16 March 2013 - 03:26 PM

That's exactly correct. Thanks for your input!.



#10 basmati

basmati

    Advocate

  • Members
  • 255 posts
  • Framework Version:PageLines Framework (always the latest)
  • Country: Country Flag

Posted 18 March 2013 - 01:00 PM

OK understand - thanks to the butcher..

but i have to install the pl customize plugin

and i always use child themes - but its impossible to place the language folder into the child themes folder - right?

i tried inside the child theme but it did not work.

so i have to install customize plugin for that?



#11 Rob

Rob

    One Smart Egg

  • Members
  • 13575 posts
  • LocationEast Coast, USA
  • Framework Version:The Latest, of course
  • Country: Country Flag

Posted 18 March 2013 - 08:52 PM

The PageLines Customize plugin does work with Framework or child themes within it. You may have both the PageLines Customize plugin and child themes providing code at the same time. 

 

The reason you want to use the plugin for the language folder is that it's global.  If you decide to change child themes at some point in future, the language will remain intact. The plugin saves considerable work if you want to change themes. 


  • basmati likes this

#12 basmati

basmati

    Advocate

  • Members
  • 255 posts
  • Framework Version:PageLines Framework (always the latest)
  • Country: Country Flag

Posted 19 March 2013 - 08:55 AM

Thanks Rob!