Jump to content
basmati

Again Trouble With Translation In Pl 2.3.8

Recommended Posts

basmati

sorry that i have to come up with the same thing over and over.

 

but it happens to be that every new version of PL has problems with the translation...

in pagelines 2.3.8 the mo/po files from here are not working for the PL backend (placed in: pagelines/language).

Moreover the "Edit" link is translated in the po file (as you can see in the attached screenshot from poedit) - but seems to be untranslated in the frontend.

 

i know its hard to fit all needs for all those languages but now its realy getting on my nervs - because in every project i work hours to find solutions for the same little problem. at least i'm picking up the php file and change the term "Edit" or "Search" into german - but that can't be the solution for a pro framework!?

 

please, any solutions???

greetings, peter

 

 

 

 

 

post-9549-0-01181100-1355852212_thumb.pn

Share this post


Link to post
Share on other sites
Rob

Peter,

 

Can you attach your po/mo files?  Which language are you using? 

 

I'll have our senior developer take a look at them to see if he can find any irregularities.

 

To upload, just click the "More Reply Options" button below, while writing your reply.


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
basmati

it's german language from the PL translation site.

but i can't upload mo/po files with "Attach Files" in this forum - filetype not allowed: "You aren't permitted to upload this kind of file".

actually i use exactly those two files as mentioned abow.

 

Share this post


Link to post
Share on other sites
basmati

@ Simon_P: thanks for the hint, but Rob said:

"To upload, just click the "More Reply Options" button below, while writing your reply."

in other words - its not possible to upload mo and po files in the forum.

here are the used mo and po files

Share this post


Link to post
Share on other sites
Simon

Your translation files work fine, you just forgot to rename them.

 

If the lang is set to de_DE in wp-config then the mo file HAS to be de_DE.mo

Share this post


Link to post
Share on other sites
basmati

thanks simon, but: 

wp-config language is set to de_DE

the language files are renamed to de_DE.mo and de_DE.po

language files are placed in: pagelines/language

as you can see in the attached screenshot (from PoEdit) in my first post above - the term "Edit" is translated.

 

in the last version of PL the translation worked well in the backend - but on the front the "edit" link was still in EN

because there was no solution in the forum for that problem i changed the term manualy in the PageLines php file from "edit" to german "bearbeiten".

 

in the latest new PL Version the translation files are not working for the backend and still the term "Edit" seems to be untranslatable.

 

would be nice to find a solution - or do we have do edit the php files in every new PL version manualy???

Share this post


Link to post
Share on other sites
basmati

sorry, but something must be wrong here

i took some screenshots to show the settings

i'm using the same translation files

 

ftp folder with mo po files: -- is this the right folder??? you are using the customize folder within a plugin! that could cause the problem. is it necessary to use the pl customiziation plugin? EDIT: i just installed the customization plugin but that changed nothing!

post-9549-0-40017000-1356088585_thumb.pn

pagelines backend in english - some german phrases "Bild hochladen" (with german trans. files)

post-9549-0-52453900-1356088595_thumb.pn

wp-config wplang settings:

post-9549-0-46120100-1356088596_thumb.pn

 

greetings and have a nice christmas time!

Share this post


Link to post
Share on other sites
Danny

Please bear in mind that I can only read and write in one language and therefore, I have never attempted to use any other language in Wordpress.

 

However, Installing the language files as far as I am aware, should only be placed in either the child theme or customize plugin, so that upon an update your language files are not removed.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
basmati

i made a collection of terms that i can not translate from pagelines:

 

File:            class.post.php
Line:             263  "Tagged with" and 425 "Link To" and 669 "No results for"

 

File:            class.objects.php
Line:             158  "Edit"

 

File:            library.templates.php
Line:            632     "Next Entries"  "Prev Entries"

 

 

Path:          sections/postinfo/
File:            section.php
Line:           27    "Search results for" an 29 "Currently viewing the category:" and 31 "Currently viewing the tag:"


 

sorry that i have to come up with the same stuff over and over but to tell you the truth - its getting on my nervs and its a lot of time to deal with this untranslatable terms, so i really would appreciate a working solution for that problem. 

 

by the way i always use a child theme for development and have the latest framework version.

Share this post


Link to post
Share on other sites
Simon

Again we dont monitor all old topics, we BEG people to open new topics.

But to answer your question, i downloaded the latest po file from the translation center...

#: includes/class.posts.php:263
msgid "<span class='note'>Tagged with &rarr;</span> "
msgstr "<span class='note'>Gelabeld met &rarr;</span>"

#: includes/library.templates.php:632
msgid "&larr; Previous Entries"
msgstr "&larr; Eerdere berichten"

#: includes/library.templates.php:635
msgid "Next Entries &rarr;"
msgstr "Volgende berichten &larr;"

#: sections/postsinfo/section.php:27
msgid "Search results for"
msgstr "Zoekresultaten voor"

#: sections/postsinfo/section.php:29
msgid "Currently viewing the category:"
msgstr "U bekijkt momenteel de categorie:"

#: sections/postsinfo/section.php:31
msgid "Currently viewing the tag:"
msgstr "U bekijkt momenteel de tag:"

 

Not sure what class.objects.php is.

Share this post


Link to post
Share on other sites
basmati

Hi Simon, that pretty language is Dutch ;) i would use it - because it sounds good - but people in germany are like british people - they speak first of all the common language :)

 

i asume you are using the customize plugin? or the pagelines language folder?

i use the pagelines language folder, because i customize via child theme.

can i use the customize plugin additionaly to the child theme  - just for the DE language files - or will they overwrite the child theme settings?

 

*  class.objects.php = http://screencast.com/t/DeIOT5XD6

Share this post


Link to post
Share on other sites
Simon
#: includes/class.objects.php:158
msgid "edit"
msgstr "wijzigen"
 
Im not sure what you mean by overwrite child theme settings.
 
The framework will use either: the main framework language dir OR pagelines-customize/language/

Share this post


Link to post
Share on other sites
basmati

so it makes no difference whether i'm using pagelines-customize/language/ or the main framework language folder?

Share this post


Link to post
Share on other sites
Rob

I believe that if you replace files in the main language folder of PageLines, instead of a child theme or PageLines Customize, there's a high probability your changed files will be overwritten with the next PageLines update.  I'd recommend the Customize plugin or a child theme to avoid the risk of overwrite.


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
basmati

hi Rob, i always use Child themes - but as far as i know its not possible to use the language folder inside the child theme - right?

I was wondering whether i could use language folder inside child theme or not????

it would be great to have the ability to use the language folder inside of a child theme...

that would be good because using less plugins saves resources.

greetings peter

Share this post


Link to post
Share on other sites
Rob

Peter,

 

Right.  You want to use the PageLines Customize plugin and create a language folder there via FTP.  You can then apply your .po/.mo files there. That's the appropriate place for them.

 

No, you cannot use a language folder in the child theme. The PageLines Customize Plugin places no burden on resources. It will not cause any delays or reduce the speed of your site.  All it's doing is providing a receptacle for things like customized site-wide functions, languages, etc. It doesn't process anything unless called upon, thus has no load time.

  • Like 1

Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×