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

Translate "Week" long text in French #7144

Closed
1 task done
ebiton-eig opened this issue Jan 12, 2023 · 3 comments
Closed
1 task done

Translate "Week" long text in French #7144

ebiton-eig opened this issue Jan 12, 2023 · 3 comments

Comments

@ebiton-eig
Copy link

Reduced Test Case

https://codepen.io/ebiton/pen/MWBmxxQ

Do you understand that if a reduced test case is not provided, we will intentionally delay triaging of your ticket?

  • I understand

Which connector are you using (React/Angular/etc)?

Angular

Bug Description

When you set the title to display only the week followed by its number, the word week is not translated unlike other date formats.

locale: 'fr', titleFormat: { week: 'long' },

@acerix
Copy link
Member

acerix commented Jan 12, 2023

You need to load the locale file for that:

https://fullcalendar.io/docs/locale

@acerix acerix closed this as completed Jan 12, 2023
@acerix
Copy link
Member

acerix commented Jan 12, 2023

I just realized this translation is missing for French, so it could be added as it is for other locales, eg.:

https://github.com/fullcalendar/fullcalendar/blob/main/packages/core/src/locales/sv.ts#L35

@acerix acerix reopened this Jan 12, 2023
@acerix acerix changed the title "Week" not translate in the title Translate "Week" long text in French Jan 12, 2023
@arshaw arshaw added this to the v6.1.0 milestone Jan 25, 2023
@arshaw
Copy link
Member

arshaw commented Jan 30, 2023

@arshaw arshaw closed this as completed Jan 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

3 participants