Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author aheadzen

    (@aheadzen)

    Hi Pier,

    We have added localization settings.

    you should add PO & MO file in below folder

    “plugins/woocommerce_advanced_cod/languages/”

    Thanks

    Thread Starter piersert

    (@piersert)

    Hi,

    I meant we need the translation of the content (field) of ‘Message for extra charges’ not the admin title.

    Please let me know.

    Kind regards
    Pier Serta

    Thread Starter piersert

    (@piersert)

    Hi again,

    I have received any answer again.

    We need to know how to translate input field of ‘Message for extra charges’

    KInd regards
    Pier

    Plugin Author aheadzen

    (@aheadzen)

    Hi Pier,

    Get Download latest plugin and you need to generate new language file as per your local language. Get PO file and translate as per your language and generate MO file.

    Download the plugin which help you to localization from below link : http://www.code-styling.de/english/development/wordpress-plugin-codestyling-localization-en

    Let me know if still have problem.

    Thanks

    Thread Starter piersert

    (@piersert)

    Hi again,

    Sorry but I’m not able to reproduce that field for translation.

    Here is a screenshot with the field ‘COD charges’ that I can not translate: http://imgur.com/oVOqeKp

    Please let me know.

    Kind regards
    Pier

    Thread Starter piersert

    (@piersert)

    Are you able to scan that field and add it to the .po file?

    Regards
    Pier

    Thread Starter piersert

    (@piersert)

    Hi again,

    Unfortunately, I am not able to scan that field in order to add to .po file.

    Please let me know step by step how to do or better if you can update your original .po with that field.

    Kind regards
    Pier

    Solved it! Tested with WPML and string scanning.

    1. Open plugin’s backend page and leave message field blank.
    2. Open woocommerce_advanced_cod.php and change these lines:

    line 555

    if(!$extra_charges_msg){$extra_charges_msg = __('COD Charges');}

    and line 121

    $form_fields['extra_charges_msg'] = array(
    'title'			=> __('Message for extra charges','askoracle'),
    'type'			=> 'text',
    'description'	=> __('Message for extra charges while applied on checkout','askoracle'),
    'default'		=> __('COD Charges'),
    'desc_tip'		=> '',
    );
Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘translation’ is closed to new replies.