Skip to content

Commit

Permalink
Document variable 'langMenuAriaLabel'
Browse files Browse the repository at this point in the history
  • Loading branch information
sabicalija committed Mar 6, 2023
1 parent 01dab1d commit c2de74e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/guide/i18n.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,14 @@ export default defineConfig({
locales: {
root: {
label: 'English',
lang: 'en'
lang: 'en',
langMenuAriaLabel: 'Change Language'
},
fr: {
label: 'French',
lang: 'fr', // optional, will be added as `lang` attribute on `html` tag
link: '/fr/guide' // default /fr/ -- shows on navbar translations menu, can be external
langMenuAriaLabel: 'Change de langue'

// other locale specific properties...
}
Expand Down

0 comments on commit c2de74e

Please sign in to comment.