WordPress.org

Ready to get started?Download WordPress

Forums

Mealingua Posts and Pages Translations
[resolved] Translation other languages - plugin (3 posts)

  1. szemcse
    Member
    Posted 1 year ago #

    Translated the Hungarian language this plugin.
    Error can not find the .mo file in the PHP.
    In Index.php modify this:

    public static function init() {
    
            //load_plugin_textdomain(PLUGINUSNET_PLUGIN_MEALINGUA2_NAME, false, PLUGINUSNET_PLUGIN_MEALINGUA2_PATH . 'languages/');
    
    load_plugin_textdomain( 'mealingua2', false, dirname( plugin_basename( __FILE__ ) ) . '/languages' );

    2. Error: expressions can not be translated:
    -Posts:
    -Pages:
    -Page Links To
    -Point this content to:
    -Its normal WordPress URL
    -An alternate URL
    -Open this link a new window
    ----------------------------
    Join to the translators. Terms and steps:

    1. You need to create an account, or if you have one, you need to sign in:

    Log in:

    https://accounts.google.com/ServiceLogin

    Account creation here:

    https://accounts.google.com/newaccount?hl=en

    2. Send me an e-mail to the szemcse@freemail.hu adress.

    The subject of the letter: MealinguaPostsAndPageTranslationsPlugin

    Describe in the letter what is the google account name (which he entered in the Section 1.)

    Also, what kind of developer is. For example (English, Russian language translator)

    Suggested translation plugin:
    http://www.code-styling.de/english/development/wordpress-plugin-codestyling-localization-en

    Translators already here waiting with love: http://www.translators.hunstart.hu/projects/mealingua

    More WordPress Plugin Translations: http://code.google.com/u/szemcse1@gmail.com/
    http://www.hunstart.hu

    http://wordpress.org/extend/plugins/mealingua/

  2. RealMag777
    Member
    Plugin Author

    Posted 1 year ago #

    Hello Viktor. In version 2.0.2 I fixed this trouble... many thanks. Changes were described here: http://pluginus.net/mealingua-2-0-2-release/

  3. szemcse
    Member
    Posted 1 year ago #

    Translated the Hungarian language this plugin.
    Error can not find the .mo file in the PHP.
    In setup.php modify this:

    <div style="display: none;">
    
        <div id="mannual_plugin_installation_on_front">
    
            <?php _e("Sometimes when plugin doesn work in some themes, it is better to set 'Manual plugin installation on front'.<br />
    
            For this you need to edit two files in theme: single.php and page.php or content.php and content-page.php in twentytwelve(v.2.0.2).<br />", 'mealingua') ?>
    
            <a href="http://pluginus.net/mealingua/" target="_blank"><?php _e("Video look here", 'mealingua') ?></a><br />
    
            <?php _e("Instead:", 'mealingua') ?><br />
    
            <pre class="brush: php">
    
                the_title();
    
            </pre> <?php _e("In page heading set:", 'mealingua') ?><br />
    
            <pre class="brush: php">
    
                if (class_exists('PluginusNet_Mealingua')) {
    
                    PluginusNet_Mealingua::draw_post_title();
    
                } else {
    
                    the_title();
    
                }
    
            </pre><br />
    
            <br />
    
            <?php _e("Instead:", 'mealingua') ?><br />
    
            <pre class="brush: php">
    
               the_content(); 
    
            </pre> <?php _e("Set next:", 'mealingua') ?><br />
    
            <pre class="brush: php">
    
                //flag panel
    
                 if (class_exists('PluginusNet_Mealingua')) PluginusNet_Mealingua::draw_flags_panel()
    
                if (class_exists('PluginusNet_Mealingua')) {
    
                    PluginusNet_Mealingua::draw_post_content();
    
                } else {
    
                    the_content();
    
                }
    
            </pre>
    
        </div>
    
    </div>
    
    <script type="text/javascript">
    
        jQuery(function() {
    
            SyntaxHighlighter.all();
    
        });
    
    </script>

    And posts_selector_meta_box.php file modify here:
    In line 12 and 24

    <?php _e("Posts:", 'mealingua') ?><br />
    <?php _e("Pages:", 'mealingua') ?><br />

    This based on the language file(s) have been updated here:
    http://www.translators.hunstart.hu/projects/mealingua
    This is one more expression in syntaxhighlighter 'Close' I do not know how to include it in the source terms include in .po

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.