Treceți la conținut

Arabic (Saudi Arabia) (ar-SA)

Complete reference for the ar-SA locale — live Intl API output, CLDR plural rules, and framework config snippets.

Referință locale

Arabic (Saudi Arabia)

Metadate locale

Cod BCP 47ar-SA
Nume nativالعربية (المملكة العربية السعودية)
Nume în englezăArabic (Saudi Arabia)
Limbăar
RegiuneSA
ScriereArab
Direcția textuluiDe la dreapta la stânga (RTL)
Categorii de plural CLDRzero, one, two, few, many, other
Vorbitori estimați~35,000,000

Intl API Live Output

DateTimeFormat

Short٣١‏/١٠‏/٢٠٢٦
Medium٣١‏/١٠‏/٢٠٢٦
Long٣١ أكتوبر ٢٠٢٦
Fullالسبت، ٣١ أكتوبر ٢٠٢٦

NumberFormat

Decimal١٬٢٣٤٬٥٦٧٫٨٩
Currency (USD)‏٩٫٩٩ US$
Percent٧٥٪؜
Compact١٫٢ مليون

RelativeTimeFormat

قبل ٣ أيام

Output for: -3 days ago

ListFormat

apples وoranges وbananas

Conjunction list: apples, oranges, bananas

CLDR Plural Rules

Categories supported by ar-SA: zero, one, two, few, many, other

zeroExample number: 0
→ zero
oneExample number: 1
→ one
twoExample number: 2
→ two
fewExample number: 3
→ few
manyExample number: 11
→ many
otherExample number: 100
→ other

Framework Config Snippets

next-intl
// 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: ['ar-SA', 'en'],
  defaultLocale: 'en',
});
react-intl
// react-intl configuration
import { IntlProvider } from 'react-intl';
import messages from './messages/ar-SA.json';

function App() {
  return (
    <IntlProvider locale="ar-SA" messages={messages}>
      {/* your app */}
    </IntlProvider>
  );
}
i18next
// i18next configuration
import i18n from 'i18next';
import { initReactI18next } from 'react-i18next';

i18n
  .use(initReactI18next)
  .init({
    lng: 'ar-SA',
    fallbackLng: 'en',
    resources: {
      'ar-SA': {
        translation: require('./locales/ar-SA/translation.json'),
      },
    },
  });

export default i18n;

Related Locales

Arabic (Saudi Arabia) is supported by Better I18N

Add ar-SA to your project in seconds — no manual config required.

Start free trial

Alte instrumente

Instrumente gratuite pentru restul fluxului tău i18n: date despre locale, mesaje ICU, formate de fișiere și hreflang.

Sunteți gata să expediați la nivel global?

Alăturați-vă sutelor de echipe care utilizează Better I18N pentru a furniza traduceri mai rapide, în funcție de context.

Deja în producție cu Better I18N