Page MenuHomePhabricator

Wikinewsie i18n
Open, In Progress, MediumPublic3 Estimated Story PointsFeature

Description

Feature summary (what you would like to be able to do and where):

Capability to internationalize the interface in multiple languages.

Use case(s) (list the steps that you performed to discover that problem, and describe the actual underlying problem which you want to solve. Do not describe only a solution):

Wikinewsie currently loads articles from multiple language Wikipedias, but the interface so far is only in English. The interface actually only uses a few words so far, so it should be relatively easily to add new languages, once a basic internationalization infrastructure is set up.

Benefits (why should this be implemented?):

More use by non-English speakers.

Details

Related Changes in GitLab:
TitleReferenceAuthorSource BranchDest Branch
T432938: Add interface language switcher with i18n loading mechanismtoolforge-repos/wikinewsie!9chimaifeanyi29i18n-language-switchermain
Customize query in GitLab

Related Objects

Event Timeline

Would it be possible to use translatewiki.net?
Reference: Translating:New project

Well, the first step is to add the right structure to the code, ideally by having an i18n/ directory containing at least two files, en.json and qqq.json. After that, it's certainly possible that the translatewiki.net people could be convinced to add this project in to their system.

I added an en.json file here, with all the text messages I could find in App.vue and ArticleModal.vue:

https://gitlab.wikimedia.org/toolforge-repos/wikinewsie/-/blob/main/i18n/en.json

I'm not sure what to do at this point - I assume it requires adding the vue-i18n plugin. If/when that's set up, the next step will presumably be to replace all the hardcoded English text in App.vue and ArticleModal.vue with calls to these messages.

Thank you for tagging this task with good first task for Wikimedia newcomers!

Newcomers often may not be aware of things that may seem obvious to seasoned contributors, so please take a moment to reflect on how this task might look to somebody who has never contributed to Wikimedia projects.

A good first task is a self-contained, non-controversial task with a clear approach. It should be well-described with pointers to help a completely new contributor, for example it should clearly point to the codebase URL and provide clear steps to help a contributor get set up for success. We've included some guidelines at https://phabricator.wikimedia.org/tag/good_first_task/ !

Thank you for helping us drive new contributions to our projects <3

Hello! I'd like to work on this task.

As I'm a new contributor, my GitLab account (Rohitpal08) is still pending approval, so I'm currently unable to submit a Merge Request. Could you please let me know if there's anything I need to do?

Thank you!

Hello! I'd like to work on this task.

As I'm a new contributor, my GitLab account (Rohitpal08) is still pending approval, so I'm currently unable to submit a Merge Request. Could you please let me know if there's anything I need to do?

Thank you!

Lovely! Kindly check the GitLab Account and Merge Request documentations for reference.
It appears that you are not under the Trusted Contributors group, so feel free to submit a ticket for GitLab permissions.
Let me know if you have any furthur questions.

ZhaoFJx triaged this task as Medium priority.Mon, Aug 10, 3:15 AM
ZhaoFJx set the point value for this task to 3.
ZhaoFJx moved this task from Low-hanging-fruit bugs to Triaged on the Tool-wikinewsie board.

I am working on this. please assign it to me.

I am working on this. please assign it to me.

Feel free to assign the task on your own next time! Kindly refer to Phabricator/Help for some thoughts.

ZhaoFJx changed the task status from Open to In Progress.Thu, Aug 27, 5:39 PM
ZhaoFJx moved this task from Triaged to Doing on the Tool-wikinewsie board.
ZhaoFJx changed the status of subtask T435739: Add Wikinewsie to translatewiki.net from In Progress to Open.