• Resolved 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.ww.wp.xz.cn/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)
Viewing 1 replies (of 1 total)

The topic ‘Please Fix Localization Issues’ is closed to new replies.