WordPress.org

Forums

Edit Flow
[resolved] Difficulties with the translation plugin (9 posts)

  1. Ivan Volkov
    Member
    Posted 2 years ago #

    Decided to translate the plugin into Russian. Translation began to do in Poedit software from edit-flow.pot
    Translated more than 30% of the text, but in the admin displays only about 10% of the Russian text.

    http://wordpress.org/extend/plugins/edit-flow/

  2. Ivan Volkov
    Member
    Posted 2 years ago #

  3. Daniel Bachhuber
    Hand Built
    Plugin Author

    Posted 2 years ago #

    Have you been able to track down why the admin only displays 10% of the text?

    Also, mind submitting this as a pull request?

  4. Ivan Volkov
    Member
    Posted 2 years ago #

    I'm not a programmer.
    Now ready to translate 60%. A few days later I finished the translation and give it to you.

  5. Ivan Volkov
    Member
    Posted 2 years ago #

    I tried to trace the undiscrepancy linguistic variables ru-RU.mo file and the corresponding lines php files, but could not find. It seems that everything has to work - but there is no translation.

  6. Ivan Volkov
    Member
    Posted 2 years ago #

    May be I think I understand why this is happening! Not translated strings that are in the array.
    For exaple: title, short_description and extended_description displayed in English, even though they have been translated into Russian

    $args = array(
    			'title' => __( 'Custom Statuses', 'edit-flow' ),
    			'short_description' => __( 'Create custom post statuses to define the stages of your workflow.', 'edit-flow' ),
    			'extended_description' => __( 'Create your own post statuses to add structure your publishing workflow. You can change existing or add new ones anytime, and drag and drop to change their order.', 'edit-flow' ),
    			'module_url' => $this->module_url,
    			'img_url' => $this->module_url . 'lib/custom_status_s128.png',
    			'slug' => 'custom-status',
    			'default_options' => array(
    				'enabled' => 'on',
    				'default_status' => 'pitch',
    				'always_show_dropdown' => 'off',
    				'post_types' => array(
    					'post' => 'on',
    					'page' => 'on',
    				),
    			),
  7. Daniel Bachhuber
    Hand Built
    Plugin Author

    Posted 2 years ago #

    Oh, I think I see what the problem. Those strings are loaded before the text domain is loaded. I've filed an issue to see about fixing it up in the next release.

  8. Ivan Volkov
    Member
    Posted 2 years ago #

    Please note, this is not the only place where the strings are not translated. I really liked this plugin, and I plan to use it with, but the authors of posts speak and write only in Russian.
    I have translated more than 80%. After the end of where to send the language files?

  9. Daniel Bachhuber
    Hand Built
    Plugin Author

    Posted 2 years ago #

    I have translated more than 80%. After the end of where to send the language files?

    You can submit them via a pull request, or upload them somewhere I can download.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Edit Flow
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.