Skip to content

Adding Català language #3477

@Cyril30

Description

@Cyril30

Description

Hello,

I was looking for adding Català language to nuxt ui v3. However, i am not used to pull requests but also, the 'ca' code may be confusing with Canada one (and may be others?)

Can someone help me on that way so I will be able to use the locale in the UApp componente :) ?

Thank you very much !


import { defineLocale } from '../composables/defineLocale'

export default defineLocale({
  name: 'Català',
  code: 'ca',
  messages: {
    inputMenu: {
      noMatch: 'No hi ha dades coincidents',
      noData: 'Sense dades',
      create: 'Crear "{label}"'
    },
    calendar: {
      prevYear: 'Any anterior',
      nextYear: 'Any següent',
      prevMonth: 'Mes anterior',
      nextMonth: 'Mes següent'
    },
    inputNumber: {
      increment: 'Incrementar',
      decrement: 'Decrementar'
    },
    commandPalette: {
      placeholder: 'Escriu una ordre o cerca...',
      noMatch: 'No hi ha dades coincidents',
      noData: 'Sense dades',
      close: 'Tancar'
    },
    selectMenu: {
      noMatch: 'No hi ha dades coincidents',
      noData: 'Sense dades',
      create: 'Crear "{label}"',
      search: 'Cerca...'
    },
    toast: {
      close: 'Tancar'
    },
    carousel: {
      prev: 'Anterior',
      next: 'Següent',
      goto: 'Anar a la diapositiva {slide}'
    },
    modal: {
      close: 'Tancar'
    },
    slideover: {
      close: 'Tancar'
    },
    alert: {
      close: 'Tancar'
    },
    table: {
      noData: 'Sense dades'
    }
  }
})

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestv3#1289

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions