question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Header button "today" doesn´t get translated to locales pt and pt-br

See original GitHub issue

Issue can be easily replicated at https://fullcalendar.io/docs/locale-demo

Looking at locales-all.js file I see the proper translation is there (“Hoje”) but associated with a different property called “currentText”. In other working locales the equivalent property used is called “today”. Please, see highlighted bellow:

var _m48 = { code: "pt-br", buttonText: { prevText: "Anterior", nextText: "Próximo", **currentText**: "Hoje", month: "Mês", week: "Semana", day: "Dia", list: "Compromissos" }, weekLabel: "Sm", allDayText: "dia inteiro", eventLimitText: function (n) { return "mais +" + n; }, noEventsMessage: "Não há eventos para mostrar" };

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:9 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
arshawcommented, Apr 3, 2019

fixed in v4.0.2!

0reactions
dcruz1990commented, Jul 29, 2021

I’m having similar issue, but with ‘es’, ‘de’, ‘tr’, locales. I’ll try the @gongAll solution on this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to fix the Shopify translation missing in your store
Login to your Shopify Admin panel · Go to your Online Store section · Go to the Themes sub-section · You should see...
Read more >
FAQ: How do I read MDN in English? - Mozilla Discourse
Several MDN readers have a similar problem: They want to read MDN content in English, but instead are getting pages in a different...
Read more >
i18next React - Changing language only works after browser ...
On my React page, changing the language only works after browser refresh. Have tried all possible suggestions from previous posts ...
Read more >
Translation | Django documentation
This file is a convenient way for translators to provide the equivalent of the translation strings in the target language. Once the translators...
Read more >
Localization - Pendo Help Center
Guides and the Resource Center can be written in your preferred language, content is then exported as an XLIFF file (the standard format...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found