Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to do/add translations? #132

Open
1 task done
GwynethLlewelyn opened this issue Sep 23, 2020 · 4 comments
Open
1 task done

How to do/add translations? #132

GwynethLlewelyn opened this issue Sep 23, 2020 · 4 comments
Assignees
Labels
💻 aspect: code Concerns the software code in the repository ✨ goal: improvement Improvement to an existing feature help wanted Open to participation from the community 🟩 priority: low Low priority and doesn't need to be rushed 🚧 status: blocked Blocked & therefore, not ready for work

Comments

@GwynethLlewelyn
Copy link

GwynethLlewelyn commented Sep 23, 2020

Problem

Apparently, the code for implementing multiple languages is not properly done according to WP best practices, or so is claimed on https://translate.wordpress.org/projects/wp-plugins/creative-commons/

I use the Loco Translate plugin to add translations, which complains about lack of proper internationalisation support (although it still works!), and #109 mentions that the Transifex plugin complains about the same issue.

Description

Well, as said, this probably requires a heavy code refactoring. But allegedly 70% of the plugin is already translated into Spanish, so possibly there is at least some support for translating the plugin...

Alternatives

Right now, I can only recommend the Loco Translate plugin, which does the job. Another alternative is to hack the whole code... which is not an option, obviously.

Additional context

All I can do is to make a modest contribution with a Portuguese (European) translation attached as a ZIP file (GitHub dislikes .mo or .po files). These are generated from within Loco Translate. Maybe there is a way to upload it automatically to the official WordPress translations page

CreativeCommons-pt_PT.zip (obviously I share these to the community under a CC-BY 4.0 International license ;-) )

Implementation

  • I would be interested in implementing this feature.
@GwynethLlewelyn GwynethLlewelyn added ✨ goal: improvement Improvement to an existing feature 💻 aspect: code Concerns the software code in the repository 🚦 status: awaiting triage Has not been triaged & therefore, not ready for work 🟩 priority: low Low priority and doesn't need to be rushed labels Sep 23, 2020
@hugosolar hugosolar added help wanted Open to participation from the community ✨ goal: improvement Improvement to an existing feature 💻 aspect: code Concerns the software code in the repository 🟩 priority: low Low priority and doesn't need to be rushed and removed ✨ goal: improvement Improvement to an existing feature 💻 aspect: code Concerns the software code in the repository 🚦 status: awaiting triage Has not been triaged & therefore, not ready for work 🟩 priority: low Low priority and doesn't need to be rushed labels Oct 12, 2020
@hugosolar
Copy link
Contributor

Thank you so much for flagging this. I'll add it to our sprint to fix this as soon as possible. Thank you for your Portuguese contribution as well, I'll add it to the plugin. ⭐

@Sokiraon
Copy link

Thank you so much for flagging this. I'll add it to our sprint to fix this as soon as possible. Thank you for your Portuguese contribution as well, I'll add it to the plugin. ⭐

I've made a translation of Chinese (China). Could you help me add it to the plugin as well? Thank you!
CreativeCommons-zh_CN.zip

@Sokiraon
Copy link

Thank you so much for flagging this. I'll add it to our sprint to fix this as soon as possible. Thank you for your Portuguese contribution as well, I'll add it to the plugin. ⭐

I've made a translation of Chinese (China). Could you help me add it to the plugin as well? Thank you!
CreativeCommons-zh_CN.zip

@hugosolar

@cc-open-source-bot cc-open-source-bot added 🏷 status: label work required Needs proper labelling before it can be worked on and removed 🏷 status: label work required Needs proper labelling before it can be worked on labels Dec 2, 2020
@cc-open-source-bot cc-open-source-bot added the 🏷 status: label work required Needs proper labelling before it can be worked on label Dec 2, 2020
@cc-open-source-bot cc-open-source-bot added 🏷 status: label work required Needs proper labelling before it can be worked on and removed 🏷 status: label work required Needs proper labelling before it can be worked on labels Dec 3, 2020
@cc-open-source-bot cc-open-source-bot added 🏷 status: label work required Needs proper labelling before it can be worked on and removed 🏷 status: label work required Needs proper labelling before it can be worked on labels Mar 14, 2024
@cc-open-source-bot cc-open-source-bot added 🏷 status: label work required Needs proper labelling before it can be worked on and removed 🏷 status: label work required Needs proper labelling before it can be worked on labels Mar 21, 2024
@cc-open-source-bot cc-open-source-bot added 🏷 status: label work required Needs proper labelling before it can be worked on and removed 🏷 status: label work required Needs proper labelling before it can be worked on labels Mar 28, 2024
@cc-open-source-bot cc-open-source-bot added 🏷 status: label work required Needs proper labelling before it can be worked on and removed 🏷 status: label work required Needs proper labelling before it can be worked on labels Apr 5, 2024
@possumbilities possumbilities added 🚧 status: blocked Blocked & therefore, not ready for work and removed 🏷 status: label work required Needs proper labelling before it can be worked on labels Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💻 aspect: code Concerns the software code in the repository ✨ goal: improvement Improvement to an existing feature help wanted Open to participation from the community 🟩 priority: low Low priority and doesn't need to be rushed 🚧 status: blocked Blocked & therefore, not ready for work
Projects
Status: Backlog
Development

No branches or pull requests

8 participants
@GwynethLlewelyn @TimidRobot @hugosolar @Sokiraon @Cronus1007 @cc-open-source-bot @possumbilities and others