2022-09-09 20:41:18 +00:00
|
|
|
<template>
|
|
|
|
<div>
|
2022-12-19 11:57:07 +00:00
|
|
|
<Head>
|
|
|
|
<Title>Locale - PrimeVue</Title>
|
2023-02-28 08:29:30 +00:00
|
|
|
<Meta name="description" content="The Locale API allows setting i18n and l7n options globally for the components." />
|
2022-12-19 11:57:07 +00:00
|
|
|
</Head>
|
|
|
|
|
2023-02-28 08:29:30 +00:00
|
|
|
<div class="doc">
|
|
|
|
<div class="doc-main">
|
|
|
|
<div class="doc-intro">
|
|
|
|
<h1>Internationalization and Localization</h1>
|
|
|
|
<p>The Locale API allows setting i18n and l7n options globally for the components.</p>
|
|
|
|
</div>
|
|
|
|
<DocSections :docs="docs" />
|
|
|
|
</div>
|
|
|
|
<DocSectionNav :docs="docs" />
|
2022-09-09 20:41:18 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
2023-02-28 08:29:30 +00:00
|
|
|
import ApiDoc from '@/doc/locale/ApiDoc';
|
|
|
|
import ImportDoc from '@/doc/locale/ImportDoc';
|
|
|
|
import RepositoryDoc from '@/doc/locale/RepositoryDoc';
|
|
|
|
import SetLocaleDoc from '@/doc/locale/SetLocaleDoc';
|
2022-09-09 20:41:18 +00:00
|
|
|
|
2023-02-28 08:29:30 +00:00
|
|
|
export default {
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
docs: [
|
|
|
|
{
|
|
|
|
id: 'import',
|
|
|
|
label: 'Import',
|
|
|
|
component: ImportDoc
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 'setlocale',
|
|
|
|
label: 'Set Locale',
|
|
|
|
component: SetLocaleDoc
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 'repository',
|
|
|
|
label: 'Repository',
|
|
|
|
component: RepositoryDoc
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 'api',
|
|
|
|
label: 'API',
|
|
|
|
component: ApiDoc
|
|
|
|
}
|
|
|
|
]
|
|
|
|
};
|
|
|
|
}
|
|
|
|
};
|
|
|
|
</script>
|