Add Hawaiian (ʻŌlelo Hawaiʻi) language to l.d.o

Created on 26 January 2023, over 1 year ago
Updated 1 February 2023, over 1 year ago

Problem/Motivation

Problem

I've started learning Hawaiian, and wanted to say so on my d.o profile, but there's no such option. Perhaps I'll start mentoring some folks here, and if I got anyone interested enough to try to contribute and create a d.o account, if that's not a choice for your language, it'd be very alienating.

I started digging, and it's not just d.o. Drupal itself doesn't provide this as a possible option in the core language selector (e.g. during site installation). 😢 I found LanguageManager::getStandardLanguageList(), which I was planning to patch, then saw that it references needing to first create the language on l.d.o. 😅

Motivation

Since the U.S. Marines overthrew the royal family and installed a government that would agree to join the US as the 50th state, many people in Hawai'i consider this an illegitimate, colonial occupation. After decades of repression, in the last ~30 years there's been a resurgence of traditional Hawaiian language and cultural practices. There are now Hawaiian language immersion schools, and a growing number of people, both Kānaka Maoli (so-called "Native Hawaiians") and haoles (outsiders) like me, are learning to read, write and speak ʻŌlelo Hawaiʻi.

Steps to reproduce

  1. Use any language selector related to Drupal.
  2. Try to pick "Hawaiian" (or "ʻŌlelo Hawaiʻi")

Proposed resolution

Add 'Hawaiian' as a language you could translate into.

Language info

English title: Hawaiian
Translation: ʻŌlelo Hawaiʻi
ISO code: haw
Plural form: nplurals=3; plural=n==1 ? 0 : n==2 ? 1 : 2;

Team info

Admin: dww (https://localize.drupal.org/user/14)
Other members: TBD?

Remaining tasks

  1. Confirm the plural form.
  2. See if anyone else wants to join the team.
  3. Create the language + group.
  4. Unblock child issues.
📌 Task
Status

Fixed

Version

2.0

Component

New language request

Created by

🇺🇸United States dww

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @dww
  • Status changed to Needs review over 1 year ago
  • 🇺🇸United States dww

    I'll be the team leader for now. I'm https://localize.drupal.org/user/14. My knowledge of the language is still very small, but it's growing. Hopefully we can find other folks who want to work on this together. 🙏

    Needs review seems appropriate. Do we need any other info here before we can proceed?

    Thanks!
    -Derek

  • Status changed to Needs work over 1 year ago
  • 🇺🇸United States dww

    From 📌 Add Yoruba language to l.d.o Active I see we need info on the plural forms. Sadly, there's no info at https://docs.translatehouse.org/projects/localization-guide/en/latest/l1... yet for Hawaiian.

    My understanding is still quite limited, but so far, I've only encountered that the article in front of a word determines if it's singular or plural, and there's only ever a single way to express "more than 1" as the plural form. What article you need to use might vary on the word being translated, but I've never seen more than 2 plurals. I don't yet know how 0 works. 😅 But tentatively, I believe we can use nplurals=2; plural=(n != 1);.

  • 🇺🇸United States dww

    Oh right, I forgot that there's a distinction between us (only 2 people) and we (3 or more total people). E.g.

    "Ua hele ʻoe i ke kula?" => Did you (one person) go to school?
    "Ua hele ʻolua i ke kula?" => Did you two go to school?
    "Ua hele ʻoukou i ke kula?" => Did you (three or more people) go to school?

    So I guess we need at least:
    nplurals=3; plural=n==1 ? 0 : n==2 ? 1 : 2;

  • 🇺🇸United States dww

    I don't think this will impact the plural form for interface translation 😅, but this is pretty interesting:

    https://hawaiian-grammar.org/current/#h.3fwokq0

    Nā Papani (Pronouns)
    Personal

    "Hawaiian distinguishes between singular, dual, and plural. The dual pronouns refer to groups of two people (we two, you two, they two). The plural pronouns refer to groups of three or more... Hawaiian distinguishes between inclusive and exclusive pronouns in the first person dual and plural. There are four Hawaiian pronouns where English uses one word, 'we'." (Hopkins 1992:31).

    Meaning of first person plural types:
    Dual Inclusive: You and me
    Dual Exclusive: We two (not including you)
    Plural Inclusive: All of us
    Plural Exclusive: We, but not you

  • Status changed to Needs review over 1 year ago
  • 🇺🇸United States dww

    Here's a very preliminary haw.po with the updated plural forms.

  • 🇭🇺Hungary Gábor Hojtsy Hungary

    Hah, great! Do you know anyone else who would be interested in contributing to this?

  • 🇺🇸United States dww

    Don’t have anyone else, yet. But I aspire to find some interested folks and try to foster collaboration and contribution…

  • Status changed to Fixed over 1 year ago
  • 🇺🇸United States dww

    Fabulous, thanks!

  • Automatically closed - issue fixed for 2 weeks with no activity.

Production build 0.69.0 2024