Skip to content

Update / replace translation files #10

Closed

Description

@jeffpaul

As noted in Plugin Translations for All Plugins from 2015, plugins on WP.org are able to benefit from translations available and maintained via GlotPress. As such, we should confirm that the translations listed in https://github.com/mailchimp/wordpress/tree/main/po properly exist on the plugin's GlotPress instance and if so then ensure that all strings are marked as translatable in the code and then remove the po directory and its contents as no longer necessary.

Activity

  1. added
    type:enhancement
    on May 29, 2024
  2. added this to the 1.6.0 milestone on May 29, 2024
  3. noraconley commented on Jun 24, 2024

    @noraconley
    Contributor

    I'm working through updating the po files and ensuring everything is up to date. In our formatting and linting updates, many translation had to be updated to account for placeholders, and translation help text has been added.

    This will need to be uploaded to translate.wordpress.org, I will provide a zip of po files. Ex: https://translate.wordpress.org/locale/es/default/wp-plugins/mailchimp/

    cc @vikrampm1

  4. jeffpaul commented on Jun 26, 2024

    @jeffpaul
    CollaboratorAuthor

    @nateconley note that we'll want to make sure any strings (new, updated, old) are properly translatable per https://developer.wordpress.org/plugins/internationalization/how-to-internationalize-your-plugin/.

  5. noraconley commented on Jun 28, 2024

    @noraconley
    Contributor

    Since the previous "Text Domain" (mailchimp_i18n) did not match the plugin slug (mailchimp), the current .org translate page appears broken: https://translate.wordpress.org/projects/wp-plugins/mailchimp/

    A user identified as a plugin author should be able to import the existing .po files, attached here, and use the CLPTE process to import: https://make.wordpress.org/polyglots/handbook/plugin-theme-authors-guide/pte-request/#cross-locale-project-translation-editor I would assume this will have to be done after the 1.6.0 release, as no strings in the actual plugin codebase exist on the .org GlotPress instance.

    I did run through the existing code base and updated the translators comments, double checked strings for translatability (globally searched for __( and _e(). The initial linting work caught a few cases of variables inside of translation strings.

    mailchimp-po.zip

  6. jeffpaul commented on Jun 28, 2024

    @jeffpaul
    CollaboratorAuthor

    I've downloaded the PO ZIP file and will coordinate with Mailchimp post 1.6.0 release to upload to GlotPress.

  7. jeffpaul commented on Jun 28, 2024

    @jeffpaul
    CollaboratorAuthor

    @nateconley are we otherwise good to move the link PR to code review or is there still more in-progress work here?

  8. noraconley commented on Jun 28, 2024

    @noraconley
    Contributor

    @jeffpaul Good to move to code review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

type:enhancement

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions