Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author Merv Barrett

    (@mervb1)

    WordPress now has much better translation tools for plugins which you can find here.

    You can download the po file or translate using glotpress, or from the link above.

    Once the translation gets to a threshold of complete, we remove the .mo file from the plugin and it will be served from the plugin directory automatically.

    Thread Starter Gendows

    (@gendows)

    Oh, Thank you. that would be great for helping in translating this plugin.
    that way i won’t be worry about any loss when auto update the plugin.

    what about adding a new currency?

    Plugin Author Merv Barrett

    (@mervb1)

    Which currency? there is support for 22 currently, we can add additional currency to the core or you can add any using the epl_get_currencies filter.

    Thread Starter Gendows

    (@gendows)

    i want to use the egypt pound.

    // Add currency 'Egypt Pound' with the html character £
    function my_extra_epl_currencies_special_character( $currencies ) {
    	$currencies['£'] = __('Egypt Pound', 'my_domain');
    
    	return $currencies;
    }
    add_filter('epl_get_currencies', 'my_extra_epl_currencies_special_character');

    so, what file do i need to edit?

    Thread Starter Gendows

    (@gendows)

    ok found a link to download epl_filters plugin

    installed and activated, where is its settings?

    anyway, i edited it directly on the plugin php file. now the important thing, where can i make the arabic translation ??

    Plugin Author Merv Barrett

    (@mervb1)

    There are no settings for the filters plugin, You copy/ paste code into it and they will take effect. There are a huge number of possible filters so no GUI to modify the plugin. Also this is a far greater performance benefit to the site and you can re-use your filters on other projects in your region.

    We have a library of code snippets on Github that you can copy and paste to implement.

    Thread Starter Gendows

    (@gendows)

    it looks like it will take more time for waiting the translation update

    i tried to download the po file from the translation project but it have a bad codding cause i get this errors

    “the file may be either corrupted or in a format not recognized by poedit”
    “failed to convert file (file path) to unicode”

    can u please provide the po file which i can edit? i realy need to use the site soon ??

    or at least give me a desktop application that i can use the generated file with ??

    Plugin Author Merv Barrett

    (@mervb1)

    Try using the .po file in the /languages folder

    Thread Starter Gendows

    (@gendows)

    i did, but then i need to start from the beginning!

    Thread Starter Gendows

    (@gendows)

    I used the Loco Translate plugin and it’s working fine

    Plugin Author Merv Barrett

    (@mervb1)

    Great find. Will keep it I mind for other translators.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘how to edit Arabic translation’ is closed to new replies.