Jump to content
Sign in to follow this  
basmati

translation of some few phrases - mission impossible?

Recommended Posts

basmati

I still can't translate some phrases like "Search results for" or the link "edit" to edit the page. The translations with mo and po files from http://pagelines.com/translate/projects/pagelines-framework are in the pagelines language folder - and it works - i can see the changes of most phrases, but some are still in english. How is that possible? Can't give u a link - its under construction.

Share this post


Link to post
Share on other sites
Simon
Well the translation you are downloading, is it 100% complete?

Share this post


Link to post
Share on other sites
basmati
No - its not - 50%. But the thing is i can see the translated phrases in poedit, but after uploading there seems to be a problem with handling the mo and po files!

Share this post


Link to post
Share on other sites
Simon
ok, any chance you'll share with us which lang it is? ;)

Share this post


Link to post
Share on other sites
basmati
yes simon no problem - its german

Share this post


Link to post
Share on other sites
basmati
i have a child base theme but there also is a language folder in the pagelines framework folder. dropping the mo and po files in the base language folder changes nothing - but it should - don't you think so too? Just made a new download from the 72% translated PL language files. i can see "Edit" link is translated to "Bearbeiten" in poedit. but in my child (base) theme i see the english version "edit" (no capital letters)

Share this post


Link to post
Share on other sites
Simon
OK, the (edit) link was not translatable, I have made the change so the next release will have that new string. Make sure the mo file is in pagelines-customize/language/ folder and named de_DE.mo The 'Search results for' string so far is not translated. http://screencast.com/t/89kTqgMqom

Share this post


Link to post
Share on other sites
basmati
is there any chance you share the php file and line where i can translate the "edit" link until the next PL version? :-) good karma to you and the pagelines crew :-)

Share this post


Link to post
Share on other sites
basmati
is there any chance you share the php file and line where i can translate the "edit" link until the next PL version? :-)

Share this post


Link to post
Share on other sites
catrina
I'm not there is any specific PHP file for that Edit link. Where ever a post or page is, the Edit link will be there so you'll need to look into a post template or page template.

Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

Share this post


Link to post
Share on other sites
Simon
The edit is at the bottom of class.objects.php, line 155 [code] $button = sprintf(' (%s) ', $link, __( 'edit', 'pagelines' ) ); [/code] Good luck.

Share this post


Link to post
Share on other sites
basmati
thanks, works! "may the force be ..."

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

Sign in to follow this  

×