mlemgroup / mlem

Mlem for Lemmy
https://lemmy.ml/c/mlemapp
GNU General Public License v3.0
182 stars 31 forks source link

French localisation #1124

Open pylapp opened 5 months ago

pylapp commented 5 months ago

Introduction

Today the app provides only english texts. All the strings are hardcoded and not extracted in localizables files. I propose ot bring localizaiton for both english and french by:

  1. extracting all hard-coded strings to a localizable strings dict
  2. add french translations

Requirements

Discussion

Could be quite easy, I can do it in one evening.

What I Need

Nothing particular, just get your agreement before starting dev, it can induce conflcits between branches so I need to ship this evolution fast.

WDYT @buresdv @EricBAndrews?

Sjmarf commented 5 months ago

Hey there! Full localisation is something we'd love to support at some stage.

At the moment, we're busy rewriting our entire codebase on the dev2 branch. The next major update will be Mlem v2.0, which will use this new codebase. Mlem on the dev2 branch is only partially implemented, and many UI components are missing. You're welcome to localise what we've got so far, if that appeals to you. Alternatively, I can let you know when Mlem v2.0 is finished so that you can add the French translations. I don't think it would be worth adding translations to the v1 codebase on the dev branch at this stage, as it will be replaced with dev2 in the next month or two.

pylapp commented 5 months ago

Sounds interesting, maybe it could be more efficient indeed if the v2 code base is ready ; waiting for such version will be better because we will be able to add French translations in one time for all the views.

Feel free to ping me when you think the code base can be pulled so as to get my French wording 😁

Sjmarf commented 5 months ago

Sure, I'll let you know when it's ready then :D

pylapp commented 5 months ago

Nice 👌 

pylapp commented 2 months ago

Do you think the codebase is ready? ;)

Sjmarf commented 2 months ago

Hey! The v2 codebase contains all of the core features at this point, but we're still working on adding moderation features back in.

If you would like, you're welcome to localize what we've got so far - we've set up a Localizable file. Because we haven't finished certain features yet, you'd have to come back and localize those features closer to the final Mlem v2 release.

Alternatively, we can let you know when we're approaching the v2 release so that you can do them all at once, which you might prefer.

pylapp commented 2 months ago

Ok so maybe it will be more efficient if I wait for a finalized v2 version to not forget any wording :)

Sjmarf commented 2 months ago

Yeah that's more efficient :) I'll let you know when we're close to releasing.