Support » Plugin: Header Footer Code Manager » Please Fix Localization Issues

  • Alex Lion

    (@alexclassroom)


    Hi,

    I found some localization issues; fixing them will be more helpful for plugin users.

    1. Please complete the translation project (Development and Stable) on https://translate.wordpress.org/projects/wp-plugins/header-footer-code-manager/. When the translation project is ready for all languages, then you don’t need to package PO and MO files into plugin ZIP file.

    2. Some strings can be translated but not showing. I list them the following (includes\hfcm-add-edit.php):
    2.1. Line 250
    Original: $larray = array( 'header' => 'Header', 'before_content' => 'Before Content', 'after_content' => 'After Content', 'footer' => 'Footer' );
    Suggestion: $larray = array( 'header' => __( 'Header', '99robots-header-footer-code-manager' ), 'before_content' => __( 'Before Content', '99robots-header-footer-code-manager' ), 'after_content' => __( 'After Content', '99robots-header-footer-code-manager' ), 'footer' => __( 'Footer', '99robots-header-footer-code-manager' ) );

    2.2. Line 252
    Original: $larray = array( 'header' => 'Header', 'footer' => 'Footer' );
    Suggestion: $larray = array( 'header' => __( 'Header', '99robots-header-footer-code-manager' ), 'footer' => __( 'Footer', '99robots-header-footer-code-manager' ) );

    2.3. Line 271
    Original: <?php $devicetypearray = array( 'both' => 'Show on All Devices', 'desktop' => 'Only Desktop', 'mobile' => 'Only Mobile Devices' ) ?>
    Suggestion: <?php $devicetypearray = array( 'both' => __( 'Show on All Devices', '99robots-header-footer-code-manager' ), 'desktop' => __( 'Only Desktop', '99robots-header-footer-code-manager' ), 'mobile' => __( 'Only Mobile Devices', '99robots-header-footer-code-manager' ) ) ?>

    2.4. Line 272
    Original: <?php $statusarray = array( 'active' => 'Active', 'inactive' => 'Inactive' ) ?>
    Suggestion: <?php $statusarray = array( 'active' => __( 'Active', '99robots-header-footer-code-manager' ), 'inactive' => __( 'Inactive', '99robots-header-footer-code-manager' ) ) ?>

    Regards,

    Alex Lion

Viewing 1 replies (of 1 total)
  • Plugin Support 99robotsteam

    (@99robotsteam)

    Thank you @alexclassroom for updating us on this!! – We are in the process of making updates to the plugin and these are certainly on the To-Do list!

    Thank you again!

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.