-
Notifications
You must be signed in to change notification settings - Fork 955
feat(locale): add English (United Kingdom) language #5561
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
base: v4
Are you sure you want to change the base?
Conversation
|
@hywax Following up on #5552 (comment) here. I meant the translations are exactly the same as the |
commit: |
|
Well, actually, there will be some differences in each locale. For example, we can take:
there aren't that many differences If you are confused by the 98% of literals in the copy, you can do the following. But I repeat, the words are insignificant, they may differ. import type { Messages } from '../types'
import { defineLocale } from '../composables/defineLocale'
import en from './en'
export default defineLocale<Messages>({
name: 'English (British)',
code: 'en-GB',
messages: en.messages
}) |
Co-authored-by: Benjamin Canac <canacb1@gmail.com>
|
I think we should keep Nuxt UI's built-in locales at the language level only ( Although I'd recommend using |

π Linked issue
Resolves #5552 (comment)
β Type of change
π Description
π Checklist