Pashto (Afghanistan) (ps-AF)
Complete reference for the ps-AF locale — live Intl API output, CLDR plural rules, and framework config snippets.
Referencia de la locale
Pashto (Afghanistan)
Metadatos de la locale
Intl API Live Output
DateTimeFormat
NumberFormat
RelativeTimeFormat
Output for: -3 days ago
ListFormat
Conjunction list: apples, oranges, bananas
CLDR Plural Rules
Categories supported by ps-AF: one, other
1100Framework Config Snippets
// next-intl configuration
// next.config.ts
import createNextIntlPlugin from 'next-intl/plugin';
const withNextIntl = createNextIntlPlugin();
export default withNextIntl({});
// i18n/routing.ts
import { defineRouting } from 'next-intl/routing';
export const routing = defineRouting({
locales: ['ps-AF', 'en'],
defaultLocale: 'en',
});// react-intl configuration
import { IntlProvider } from 'react-intl';
import messages from './messages/ps-AF.json';
function App() {
return (
<IntlProvider locale="ps-AF" messages={messages}>
{/* your app */}
</IntlProvider>
);
}// i18next configuration
import i18n from 'i18next';
import { initReactI18next } from 'react-i18next';
i18n
.use(initReactI18next)
.init({
lng: 'ps-AF',
fallbackLng: 'en',
resources: {
'ps-AF': {
translation: require('./locales/ps-AF/translation.json'),
},
},
});
export default i18n;Related Locales
Pashto (Afghanistan) is supported by Better I18N
Add ps-AF to your project in seconds — no manual config required.
Más herramientas
Más herramientas i18n gratuitas
Herramientas gratuitas para el resto de tu flujo de trabajo i18n: datos de locales, mensajes ICU, formatos de archivo y hreflang.
ICU Playground
Test ICU message syntax with live preview, multi-locale output, and error explanations
File Converter
Convert between JSON, PO, XLIFF, ARB, YAML, CSV, Android XML, iOS Strings, and Properties
Cost Calculator
Estimate localization costs with side-by-side comparison of human, AI, and Better I18N pricing
Hreflang Generator
Generate and validate hreflang tags for multilingual SEO in HTML, XML sitemap, or HTTP headers