bluesky-social / social-app

The Bluesky Social application for Web, iOS, and Android
https://bsky.app
MIT License
11.76k stars 1.5k forks source link

Updated fr locale and added fr_CA locale #6570

Open lra opened 1 day ago

lra commented 1 day ago

This is an attempt to solve the issue where some people want to use gender-neutral french, and others prefer to use academic french, by giving everyone the choice to pick their locale.

Summary of the changes:

This will give the choice for anyone to use the locale they want.

Thanks.

Signez commented 1 day ago

I won't argument on what looks to be (and to anyone having followed the previous pull request on that matter) a quite obvious circumvention of @gaearon response about reverting our work to fix #2425 — it would be "unfixed" by this pull request.

I’ll just point out that:

Because I don't think there is much value to maintain a specific translation for our friends in Canada at this stage in Bluesky's product life, and because it's quite an undertaking to maintain another locale with so few differences (yet so many, cf. those subtle typographic rules changes), and because I don't think it would make sense to create a fr-ca without creating fr-be and fr-ch if it's only a matter of following local rules about non-gender neutral language, and, at last, because I think that this is mainly a way to circumvent a decision made by core team members literally yesterday, I suggest this pull request to be closed.

lra commented 1 day ago

This pull request would be very hard to review anyway, as you only offer one commit that does a lot: bumping locale strings in fr, removing gender neutral forms that uses point médian in fr, and indeed creating the fr-ca locale.

You can see the main diff in src/locale/locales/fr/messages.po, the other file has only a few diffs with the main one.

This pull request is removing non-breaking spaces in the fr locale, but those are mandated by the typographic rules commonly used in French written in France (see: Lexique des règles typographiques en usage à l'Imprimerie nationale (2002), p. 147-149). Of course, it's not only a matter of some authority source — those are actually followed by most UI software translations.

TIL, I'll bring them back, thanks: https://github.com/bluesky-social/social-app/pull/6570/commits/7ce96de405afa7575166824054b8f4074a09617c

This pull request is keeping spaces before some punctuations (like :, ! or ?) when there should not be any, according to the Vitrine Linguistique of the Office québcquois de la langue française. Again, not a matter of authority, it's just the main difference between fr-fr and fr-ca in other softwares too.

Thanks, I'll include those changes: https://github.com/bluesky-social/social-app/pull/6570/commits/7ce96de405afa7575166824054b8f4074a09617c

Again, my intentions are to try to make the platform as welcoming as possible, giving the option for anyone to use what they prefer, locally.

lra commented 1 day ago

Bringing the translation up to date to 100% is not "no work". I don't know the rules regarding gender-neutral french, so I added the new translated locales the way everything else was translated, even being careful to keep the same wording based on past PRs (e.g. pseudo, post).

Your are free to PR this PR, or to PR later on main to improve this.

i don't see how splitting french in two benefits anyone

It benefits the platform, being more welcoming for anyone that's more comfortable reading french.

Edit: The comment I was replying to has been deleted.

Guillawme commented 14 hours ago

I saw a link to this PR on Mastodon and just wanted to drop by to say: you might not want to blindly rely on the Académie française's dictionary (which you mention both here and in #6512), and might want to exercise some critical thinking about it first.

Why? you ask. For example because its latest edition added the word "négroïde" without any mention of its racist origin and meaning. This is not an old entry simply being neglected or forgotten and not updated: this word is not present in the 1935 edition nor any of the older ones. This is not the only such example, more info here: https://social.sciences.re/@tract_linguistes/113511025814431129

If this isn't enough reason to distance yourself from this dictionary, I don't know what is.

This collective holds more reasonable views on today's French language: https://www.tract-linguistes.org

(In case this is relevant: I am a French native speaker.)

eevee commented 13 hours ago

It benefits the platform, being more welcoming for anyone that's more comfortable reading french.

i suspect this is already obvious to anyone reading, but: it is deeply cynical and distasteful to frame this as some magnanimous attempt to be "more welcoming", when the only person you've shown to have an issue is you, and the thing you have an issue with is an existing attempt to be more inclusive of other people.

lra commented 12 hours ago

It's not a debate about the legitimacy or not of this language, GitHub is not the place for it and nobody is going to solve it here, there are plenty of statements showing it is a divisive subject, e.g. the french government banned it from official documents.

This is about giving the users the choice to pick the locale they want, and not forcing it on them one way or another.

This PR is not removing anything to anyone, but adding the choice in a local setting.

taniki commented 12 hours ago

@lra I apologize, but you are selectively quoting official notes. A few years later, the French government also emphasized inclusiveness as one of the three primary principles in addressing the public.

https://www.info.gouv.fr/marque-de-letat/comment-s-adresser-aux-citoyens#inclusion

lra commented 11 hours ago

@lra I apologize, but you are selectively quoting official notes. A few years later, the French government also emphasized inclusiveness as one of the three primary principles in addressing the public.

https://www.info.gouv.fr/marque-de-letat/comment-s-adresser-aux-citoyens#inclusion

Everybody is, your link is not related to "ecriture inclusive" used here. And again, that's not the point of this PR which is adding an option, and not removing anything.

taniki commented 11 hours ago

Additionally, I would like to highlight an article published in 2011 by the former executive director of Wikimedia Foundation on the negative impact of exclusionary language:

8) Some women whose primary language has grammatical gender find being addressed by Wikipedia as male off-putting.

https://suegardner.org/2011/02/19/nine-reasons-why-women-dont-edit-wikipedia-in-their-own-words/

meow10811 commented 6 hours ago

It frankly doesn’t seem like you’ve done that much research into actually making this a proper fr_CA localization — for instance, I would expect “courriel” (which is common even in casual speech in Québec) to be used in place of “e-mail”, at the bare minimum.

Given the context of your previous issue, this doesn’t seem like a genuine attempt to provide a Canadian French localization.

lra commented 6 hours ago

Fixed, thanks: https://github.com/bluesky-social/social-app/pull/6570/commits/198b51d05f78e1aa6c6ef1a95ae86df9a0b38958

tchoutri commented 6 hours ago

@lra Your PR is full of Frenchisms that Canadian speakers (who are not all Québecois, New-Brunswick is also Francophone), do not use. Please do your homework when you try to weaponise Canadian francophones for your weird little crusade, if you must.

zopieux commented 5 hours ago

Since the Bluesky maintainers cannot be expected to have background context on French institutions & history, and to complement Guillawme's point above, I'll point out that the Académie française, which the PR author loves to quote as an "academic" reference and de facto source for the correct use of French, is self-declared as the official ruler of some abstract "correct use" of French, but is in no way recognized as such by French people and ofc even less so by other French speaking cultures. In fact, it is often mocked for its out-of-touch, arbitrary rulings. The institution promotes a prescriptive understanding of the language, which clashes with the descriptive nature of a linguist' job: capturing the language as it is employed by its current speakers, not as it should be per some abstract and arbitrary standard which, in Académie française's case, is deeply rooted in elitism and conservatism.

For context, it took the Académie française 345 years and some public outcry to finally let in its first female members, of which there are 6 out of 40 seats today. It employs zero linguists — you know, the people whose job it is to analyze a language and capture it in a forever-evolving dictionary.

This PR is motivated by a personal crusade rather than an actual issue. The proposed changes are backed by highly controversial references and of dubious quality according to native Canadians. In fine, this will induce undue i18n maintainance load.