Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author RealMag777

    (@realmag777)

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

    Thread Starter szemcse

    (@szemcse)

    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="https://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:
    https://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

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Translation other languages – plugin’ is closed to new replies.