Skip to content

fix(locale): complete and correct romanian translations - #23262

Open
vicuts wants to merge 1 commit into
vuetifyjs:masterfrom
vicuts:fix/locale-ro
Open

vicuts wants to merge 1 commit into
vuetifyjs:masterfrom
vicuts:fix/locale-ro

Conversation

@vicuts

@vicuts vicuts commented Oct 10, 2026

Copy link
Copy Markdown

Description

Some strings in the Romanian locale (ro.ts) were still in English, and a few others did not match what the English string says. This PR translates the missing ones and fixes the rest.

Key English Before After
open Open Open Deschide葲i
dismiss Dismiss Dismiss 脦nchide葲i
calendar.today Today Today Ast膬zi
timePicker.minute Minute Minute Minut
timePicker.second Second Secunde Secund膬
rules.exclude The {0} character is not allowed Caracterele {0} nu sunt permise Caracterul {0} nu este permis
hotkey.shortcut Keyboard shortcut: {0} Comand膬 rapid膬 tastatur膬: {0} Comand膬 rapid膬 de la tastatur膬: {0}

Notes:

  • open uses the same form as the existing close: '脦nchide葲i', since the two are the open/close labels of the menu toggle.
  • dismiss is the default button text of VSnackbarQueue. "脦nchide葲i" is the usual Romanian label for dismissing a notification.
  • calendar.today matches the existing datePicker.ariaLabel.currentDate: 'Ast膬zi, {0}'.
  • timePicker.minute and timePicker.second are field labels. "Minute" and "Secunde" are plural in Romanian, so they now use the singular, like hour: 'Or膬' and like English.
  • rules.exclude always receives a single character (see composables/rules/rules.ts), so the message is now singular.
  • hotkey.shortcut was missing the preposition. "Comand膬 rapid膬 de la tastatur膬" is the standard Romanian term.

Left as is on purpose: confirmEdit.ok, timePicker.am, timePicker.pm and the key names in hotkey (Ctrl, Command, Shift, Alt, Option, Enter, Escape, Backspace, plus) are the same as in English, which is what Romanian keyboards and UIs use.

Checked that ro.ts still has the same 137 keys as en.ts, that every {0} and {1} placeholder is kept, and that tsc --noEmit passes on the file.

Markup:

Open the playground with ?locale=ro (for example http://localhost:8090/?locale=ro).

<template>
  <v-app>
    <v-container>
      <v-autocomplete :items="['Unu', 'Doi']" label="Autocomplete" />

      <v-time-picker variant="input" use-seconds />

      <v-hotkey keys="ctrl+k" />

      <v-btn @click="messages.push('Mesaj salvat')">Show snackbar</v-btn>

      <v-snackbar-queue v-model="messages" closable />
    </v-container>
  </v-app>
</template>

<script>
  import { ref } from 'vue'

  export default {
    name: 'Playground',
    setup () {
      const messages = ref([])

      return { messages }
    },
  }
</script>

@J-Sek J-Sek added this to the v4.2.x milestone Oct 10, 2026
@J-Sek J-Sek added the i18n Internationalization issue label Oct 10, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

i18n Internationalization issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants