Comments (8)
@MarekPatyna It seems that the full locale name is ukUA
from my understanding. That's what Material UI itself names their locale. And usually its fine to just refer to it by the first 2 letters, unless there are multiple dialects.
I always refer to this website when checking: https://saimana.com/list-of-country-locale-code/
from material-react-table.
Thank you for your reply. Unfortunately but I did not see that Ukrainian was created because I was sure that "uk" corresponds to United Kingdom. In my opinion and from what I checked on the internet the ISO abbreviation for Ukrainian is UA or possibly UKR but not UK.
https://www.andiamo.co.uk/resources/iso-language-codes/
https://laendercode.net/en/country/ua
https://www.iso.org/obp/ui/#iso:code:3166:UA
https://en.wikipedia.org/wiki/ISO_3166-2:UA
from material-react-table.
@MarekPatyna Your translations seem to be a lot different than the current uk locale in MRT. Which one is more correct? The existing one or yours?
from material-react-table.
Yeah for sure, just make a PR in the same format as the current uk
locale`.
https://github.com/KevinVandy/material-react-table/blob/v2/packages/material-react-table/src/locales/uk.ts
btw, what's the difference between uk
and ua
?
from material-react-table.
I don't speak Ukrainian at b2/c1+ level, so I would personally suggest leaving the current translation. Thanks for the quick replies and good luck with MRT development!
from material-react-table.
I always refer to this website when checking: https://saimana.com/list-of-country-locale-code/
And if a language isn't there, its more comprehensive source is https://iso639-3.sil.org/code_tables/639/data.
from material-react-table.
Thank you for your reply. Unfortunately but I did not see that Ukrainian was created because I was sure that "uk" corresponds to United Kingdom. In my opinion and from what I checked on the internet the ISO abbreviation for Ukrainian is UA or possibly UKR but not UK.
https://www.andiamo.co.uk/resources/iso-language-codes/
https://laendercode.net/en/country/ua
https://www.iso.org/obp/ui/#iso:code:3166:UA
https://en.wikipedia.org/wiki/ISO_3166-2:UA
@MarekPatyna To clarify, the ISO 3166-2 code you were seeing for Ukraine (UA) is the country code, not the language code: https://en.wikipedia.org/wiki/ISO_3166#Parts
from material-react-table.
Apologies for writing back so late but I completely forgot about this issue. Thank you again @imnasnainaec @KevinVandy for your help.
Best regards!
from material-react-table.
Related Issues (20)
- Custom filter popover text
- Header Group visibility is always true
- Pinning hidden columns with column virtualization causes error
- Show / hide all buttons don't update header group visibility state
- When using `enableRowVirtualization`, the layout of `filterVariant: 'datetime-range',` behaves improperly
- [UX] Pinning columns to the right pushes item to the bottom of menu
- Table Footer gets cut off in narrow scenarios
- Really strange issue HOT 7
- Localisation of filters does not apply to the filter menu HOT 1
- Show/hide filter triggers onColumnFiltersChange for backend pagination HOT 4
- "Show filter" triggers onColumnFiltersChange for backend pagination
- Mantine Filter Search Does Not Work Correctly and Highlight Words When Turkish Characters Are Used with Capslock On. HOT 2
- Virtualization is not working properly even on the documentation page! HOT 5
- Sticky Pinned Columns Misplacement in Material React Table for RTL Language
- Localization props doesn't work with proxy object HOT 4
- Between Inclusive date-range filter doesn't appear to be working HOT 2
- since 2.5.0: 'top' positionPagination clashes with globalFilters in css HOT 1
- Hiding columns raises - Maximum update depth exceeded HOT 5
- Column Actions and selector going to last on dynamic columns even with defined columnOrder HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from material-react-table.