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
Locale 'ru_RU' doesn't work and throw an error. InitializeDateFormatting has beed used. #433
Comments
It seems like it won't work with intl localisation... initializeDateFormatting conflicting with [ |
I just tried it on the example project - looks like you can safely remove the conflicting |
The problem is not solved with deleting |
@Artem-Sobolev |
@KrillioSokolov So, it seems I have found the root of the problem for myself. The problem was in calling
so the issue isn't actually in this package or something but in my code. Here as you can see I'm trying to cut the string and only take first three letters. And here is the trick: in english you have for example "mon, tue, wed and etc", but in russian you get "пн, вт, ср, чт..." thus you can't take the third letter when taking a substring. It was a bit confusing to find since debug console messages didn't point on this line but after few shenanigans I've finally found it. After I've found this line I went through all similar lines of code and fixed them where it is needed and now everything works fine. |
Have same issue in my project. Tried to use ru_RU in example code. It doesn't work. |
Looks like we copy code from the medium, where table calendars was compared)) because I've the same lines of code)) |
@Tamerlanchiques |
@aleksanderwozniak Just ran table_calendar/example and ru_RU locale works fine for me so never mind. |
But, 2 weeks / week / month selector didn't translated. |
Looks like this can be closed now. @Tamerlanchiques |
@aleksanderwozniak, Russian locale haven't work. I've done all by instruction. I found samples of code for Portuguese and implemented it and It works. But when I try to use Russian or Ukrainian or Belorussia it wont. I've even try Iraq and its work) but not with 'ru_RU'
Originally posted by @KrillioSokolov in #417 (comment)
The text was updated successfully, but these errors were encountered: