Skip to content

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/cldr-dates-full@39.0.0/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/cldr-dates-full@39.0.0/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/relative-time-format@1.0.5/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