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

add Occitan #54

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

add Occitan #54

wants to merge 7 commits into from

Conversation

Mejans
Copy link

@Mejans Mejans commented Aug 22, 2021

No description provided.

@catamphetamine
Copy link
Owner

There doesn't seem to exist any oc language data in CLDR:
https://unpkg.com/browse/[email protected]/main/

That means that you'd have to add the required standard labels types too:

  • long
  • short
  • narrow

There also exists Catalan language under the ca folder:
https://unpkg.com/browse/[email protected]/main/ca/dateFields.json

Also, looking at mini.json, it seems like it could be reduced even further.
For example:

{
    "minute": {
        "one": "{0} minuta",
        "other": "{0} minutas"
    },
    "second": {
        "one": "{0} segonda",
        "other": "{0} segondas"
    }
}

To something like:

{
    "minute": "{0} min",
    "second": "{0} s"
}

@Mejans
Copy link
Author

Mejans commented Aug 23, 2021

Hello, Occitan is in the seed folder of CLDR.
Yes I could reduce it, will try to make the changes today

@catamphetamine
Copy link
Owner

Hello, Occitan is in the seed folder of CLDR.

Not understand.

Yes I could reduce it, will try to make the changes today

Sure, no hurry.

@Mejans
Copy link
Author

Mejans commented Aug 23, 2021

This folder:
https://github.com/unicode-org/cldr/blob/master/seed/main/oc.xml

;)

@catamphetamine
Copy link
Owner

Wow, I don't even know what "seeding" is.
Ok.

@Mejans
Copy link
Author

Mejans commented Aug 23, 2021

I suppose it's like "draft", like the flower is not ready to bloom. Only supposition ^^

@Mejans
Copy link
Author

Mejans commented Aug 23, 2021

So I have to add:
"year-short": { etc

for month, year and week? Or some more?

@catamphetamine
Copy link
Owner

catamphetamine commented Aug 23, 2021

@Mejans

  1. Shorten mini.json labels
  2. Add an oc.json file like this: https://unpkg.com/browse/[email protected]/locale/fr.json . You can put it in locale-more-styles folder.

@Mejans
Copy link
Author

Mejans commented Sep 12, 2021

I hope it's okay now :)

@catamphetamine
Copy link
Owner

@Mejans The oc.json file doesn't look like a JSON file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants