Jump to content
Sign in to follow this  
swissborder

TDOMAIN issue caused by code Error in the latest iBlogPro template?

Recommended Posts

swissborder

I did setup my Blog for German language and found some terms that can not be translated, using the CodeStyling Localization Plugin. The affected section is the footer for posts, that allow to leave a comment. I tried to analyze this issue and found some suspect code in the file _post_footer.php of the iblogpro theme library. There are 3 function calls for e_pagelines() that do not appear in any other script of this theme except in the file _nav.php for the home image. When I change these lines to the common text function call _e('abc',TDOMAIN) it works. The modifications I made in the _post_footer.php file are: <?php //e_pagelines('post_footer_social_text', '');?> <?php _e('If you enjoyed this article, please consider sharing it',TDOMAIN);?> <?php //e_pagelines('post_footer_text', __('View Full Post »',TDOMAIN));?> <?php _e('View Full Post »',TDOMAIN);?> <?php //e_pagelines('post_footer_text',__('Leave A Response', TDOMAIN));?> <?php _e('Leave A Response',TDOMAIN)?> Since I am still a beginner for Wordpress and PageLines, I would like to know if my intend to fix the issue is correct or if there are other options. The current problem is, that any theme update form PageLines will overwrite my changes.

Share this post


Link to post
Share on other sites
Danny
Hi Swissborder, I have flagged your question to the developers so they can review it.

Please search our forums, before posting!

Share this post


Link to post
Share on other sites
swissborder
On a second view, I recognized that my attempt to fix the German text was a mistake. The Text for post comments can be set in the iBlogPro Theme Options, section Pages An Posts. I apologize for accusing a script error!

Share this post


Link to post
Share on other sites
Danny
Hi Swissborder, So you have fixed the error?

Please search our forums, before posting!

Share this post


Link to post
Share on other sites
swissborder
@Danny Yes - Actually it was my error. It is a little bit tricky to find all the settings at the right location. I thought all translation text are made by *.po/*.mo files. In this case the text option of iBlogPro for posts was unusual for me. Thanks for your support anyway! cheers

Share this post


Link to post
Share on other sites
Danny
Hi Swissborder, Thank you for letting us know, I have posted a small guide that may or may not help you. 1. Look up Localization on WordPress: http://codex.wordpress.org/Translating_WordPress 2. Use PoEdit (http://www.poedit.net) to create your translation files. 3. After translating the file by Poedit save the translation. Poedit creates two files for you. One with the extension ".po" and the other one with the extension ".mo". Upload both files to the folder "language" located in PlatformPro folder. Alternatively, you could use another plugin (e.g. Codestyling plugin) to apply the translations. The "Leave a Reply" text and a couple of others are hard-coded into WP and are a bit more tricky to translate.

Please search our forums, before posting!

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  

×