# Test data for Person Name Data
#  Copyright © 1991-2025 Unicode, Inc.
#  For terms of use, see http://www.unicode.org/copyright.html
#  SPDX-License-Identifier: Unicode-3.0
#  CLDR data files are interpreted according to the LDML specification (http://unicode.org/reports/tr35/)
# CLDR person name formatting test data for: ar
#
# Test lines have the following structure:
#
# enum ; <type> ; <value>(', ' <value)
#   For all the elements in <…> below, the possible choices that could appear in the file.
#   For example, <field> could be any of title, given, … credentials.
#   Verify that all of these values work with the implementation.
#
# name ; <field>('-'<modifier>) ; <value>
#   A sequence of these is to be used to build a person name object with the given field values.
#   If the <field> is 'locale', then the value is the locale of the name.
#     That will always be the last field in the name.
#     NOTE: the locale for the name (where different than the test file's locale) will generally not match the text.
#     It is chosen to exercise the person name formatting, by having a different given-surname order than the file's locale.
#
# expectedResult; <value>
#   This line follows a sequence of name lines, and indicates the that all the following parameter lines have this expected value.
#
# parameters; <options>; <length>; <usage>; <formality>
#   Each of these parameter lines should be tested to see that when formatting the current name with these parameters, 
#   the expected value is produced.
#
# endName
#   Indicates the end of the values to be tested with the current name.
#
# =====
# Example:
#     enum ; field ; title, given, given2, surname, surname2, generation, credentials
#     …
#
#     name ; given; Iris
#     name ; surname; Falke
#     name ; locale; de
#
#     expectedResult; Falke, Iris
#
#     parameters; sorting; long; referring; formal
#     parameters; sorting; medium; referring; informal
#
#     endName
#
#     name ; given; Max
#     name ; given2; Ben
#     name ; surname; Mustermann
#     …
# =====

enum ; field ; title, given, given2, surname, surname2, generation, credentials
enum ; modifiers ; informal, allCaps, initialCap, initial, retain, monogram, prefix, core, vocative, genitive
enum ; order ; givenFirst, surnameFirst, sorting
enum ; length ; long, medium, short
enum ; usage ; referring, addressing, monogram
enum ; formality ; formal, informal

# nativeG
name ; given; منير
name ; locale; ar_AQ

expectedResult; منير

parameters; givenFirst; long; referring; formal
parameters; givenFirst; long; referring; informal
parameters; givenFirst; long; addressing; formal
parameters; givenFirst; long; addressing; informal
parameters; givenFirst; medium; referring; formal
parameters; givenFirst; medium; referring; informal
parameters; givenFirst; medium; addressing; formal
parameters; givenFirst; medium; addressing; informal
parameters; givenFirst; short; referring; formal
parameters; givenFirst; short; referring; informal
parameters; givenFirst; short; addressing; formal
parameters; givenFirst; short; addressing; informal
parameters; surnameFirst; long; referring; formal
parameters; surnameFirst; long; referring; informal
parameters; surnameFirst; long; addressing; formal
parameters; surnameFirst; long; addressing; informal
parameters; surnameFirst; medium; referring; formal
parameters; surnameFirst; medium; referring; informal
parameters; surnameFirst; medium; addressing; formal
parameters; surnameFirst; medium; addressing; informal
parameters; surnameFirst; short; referring; formal
parameters; surnameFirst; short; referring; informal
parameters; surnameFirst; short; addressing; formal
parameters; surnameFirst; short; addressing; informal
parameters; sorting; long; referring; formal
parameters; sorting; long; referring; informal
parameters; sorting; medium; referring; formal
parameters; sorting; medium; referring; informal
parameters; sorting; short; referring; formal
parameters; sorting; short; referring; informal

expectedResult; م

parameters; givenFirst; long; monogram; formal
parameters; givenFirst; long; monogram; informal
parameters; givenFirst; medium; monogram; formal
parameters; givenFirst; medium; monogram; informal
parameters; givenFirst; short; monogram; formal
parameters; givenFirst; short; monogram; informal
parameters; surnameFirst; long; monogram; formal
parameters; surnameFirst; long; monogram; informal
parameters; surnameFirst; medium; monogram; formal
parameters; surnameFirst; medium; monogram; informal
parameters; surnameFirst; short; monogram; formal
parameters; surnameFirst; short; monogram; informal

endName

# nativeGS
name ; given; سميرة
name ; surname; النجار
name ; locale; ar_AQ

expectedResult; النجار، سميرة

parameters; surnameFirst; long; referring; formal
parameters; surnameFirst; medium; referring; formal
parameters; sorting; long; referring; formal
parameters; sorting; long; referring; informal
parameters; sorting; medium; referring; formal
parameters; sorting; medium; referring; informal
parameters; sorting; short; referring; formal
parameters; sorting; short; referring; informal

expectedResult; النجار سميرة

parameters; surnameFirst; long; referring; informal
parameters; surnameFirst; medium; referring; informal

expectedResult; سميرة النجار

parameters; givenFirst; long; referring; formal
parameters; givenFirst; long; referring; informal
parameters; givenFirst; medium; referring; formal
parameters; givenFirst; medium; referring; informal

expectedResult; النجار، س.

parameters; surnameFirst; short; referring; formal

expectedResult; س.. النجار

parameters; givenFirst; short; referring; informal

expectedResult; النجار س.

parameters; surnameFirst; short; referring; informal

expectedResult; س. النجار

parameters; givenFirst; short; referring; formal

expectedResult; النجار

parameters; givenFirst; long; addressing; formal
parameters; givenFirst; medium; addressing; formal
parameters; givenFirst; short; addressing; formal
parameters; surnameFirst; long; addressing; formal
parameters; surnameFirst; medium; addressing; formal
parameters; surnameFirst; short; addressing; formal

expectedResult; سميرة

parameters; givenFirst; long; addressing; informal
parameters; givenFirst; medium; addressing; informal
parameters; givenFirst; short; addressing; informal
parameters; surnameFirst; long; addressing; informal
parameters; surnameFirst; medium; addressing; informal
parameters; surnameFirst; short; addressing; informal

expectedResult; ا.س

parameters; surnameFirst; long; monogram; formal
parameters; surnameFirst; long; monogram; informal

expectedResult; س.ا

parameters; givenFirst; long; monogram; formal
parameters; givenFirst; long; monogram; informal
parameters; givenFirst; medium; monogram; formal
parameters; givenFirst; medium; monogram; informal
parameters; givenFirst; short; monogram; informal

expectedResult; ا

parameters; givenFirst; short; monogram; formal
parameters; surnameFirst; medium; monogram; formal
parameters; surnameFirst; short; monogram; formal

expectedResult; س

parameters; surnameFirst; medium; monogram; informal
parameters; surnameFirst; short; monogram; informal

endName

# nativeGGS
name ; given; كمال
name ; given2; مجدي
name ; surname; العامر
name ; locale; ar_AQ

expectedResult; العامر، كمال مجدي

parameters; surnameFirst; long; referring; formal
parameters; sorting; long; referring; formal

expectedResult; كمال مجدي العامر

parameters; givenFirst; long; referring; formal

expectedResult; العامر، كمال م.

parameters; surnameFirst; medium; referring; formal
parameters; sorting; medium; referring; formal
parameters; sorting; short; referring; formal

expectedResult; كمال م. العامر

parameters; givenFirst; medium; referring; formal

expectedResult; العامر، ك. م.

parameters; surnameFirst; short; referring; formal

expectedResult; العامر، كمال

parameters; sorting; long; referring; informal
parameters; sorting; medium; referring; informal
parameters; sorting; short; referring; informal

expectedResult; العامر كمال

parameters; surnameFirst; long; referring; informal
parameters; surnameFirst; medium; referring; informal

expectedResult; كمال العامر

parameters; givenFirst; long; referring; informal
parameters; givenFirst; medium; referring; informal

expectedResult; ك.. العامر

parameters; givenFirst; short; referring; informal

expectedResult; العامر ك.

parameters; surnameFirst; short; referring; informal

expectedResult; ك. العامر

parameters; givenFirst; short; referring; formal

expectedResult; العامر

parameters; givenFirst; long; addressing; formal
parameters; givenFirst; medium; addressing; formal
parameters; givenFirst; short; addressing; formal
parameters; surnameFirst; long; addressing; formal
parameters; surnameFirst; medium; addressing; formal
parameters; surnameFirst; short; addressing; formal

expectedResult; ا.ك.م

parameters; surnameFirst; long; monogram; formal

expectedResult; ك.م.ا

parameters; givenFirst; long; monogram; formal

expectedResult; كمال

parameters; givenFirst; long; addressing; informal
parameters; givenFirst; medium; addressing; informal
parameters; givenFirst; short; addressing; informal
parameters; surnameFirst; long; addressing; informal
parameters; surnameFirst; medium; addressing; informal
parameters; surnameFirst; short; addressing; informal

expectedResult; ا.ك

parameters; surnameFirst; long; monogram; informal

expectedResult; ك.ا

parameters; givenFirst; long; monogram; informal
parameters; givenFirst; medium; monogram; formal
parameters; givenFirst; medium; monogram; informal
parameters; givenFirst; short; monogram; informal

expectedResult; ا

parameters; givenFirst; short; monogram; formal
parameters; surnameFirst; medium; monogram; formal
parameters; surnameFirst; short; monogram; formal

expectedResult; ك

parameters; surnameFirst; medium; monogram; informal
parameters; surnameFirst; short; monogram; informal

endName

# nativeFull
name ; title; السيد
name ; given; أحمد رامي
name ; given-informal; وسام
name ; given2; نجيب محفوظ
name ; surname-prefix; أبو
name ; surname-core; الأغا
name ; surname2; علم الدين
name ; generation; الابن
name ; credentials; النائب
name ; locale; ar_AQ

expectedResult; السيد أحمد رامي نجيب محفوظ أبو الأغا الابن، النائب

parameters; givenFirst; long; referring; formal

expectedResult; أبو الأغا، أحمد رامي نجيب محفوظ

parameters; surnameFirst; long; referring; formal
parameters; sorting; long; referring; formal

expectedResult; السيد أحمد رامي ن. م. أبو الأغا

parameters; givenFirst; medium; referring; formal

expectedResult; أبو الأغا، أحمد رامي ن. م.

parameters; surnameFirst; medium; referring; formal
parameters; sorting; medium; referring; formal
parameters; sorting; short; referring; formal

expectedResult; أبو الأغا، أ. ر. ن. م.

parameters; surnameFirst; short; referring; formal

expectedResult; السيد أ. ر. أبو الأغا

parameters; givenFirst; short; referring; formal

expectedResult; أبو الأغا أ. ر.

parameters; surnameFirst; short; referring; informal

expectedResult; أبو الأغا، وسام

parameters; sorting; long; referring; informal
parameters; sorting; medium; referring; informal
parameters; sorting; short; referring; informal

expectedResult; السيد أبو الأغا

parameters; givenFirst; long; addressing; formal
parameters; givenFirst; medium; addressing; formal
parameters; givenFirst; short; addressing; formal
parameters; surnameFirst; long; addressing; formal
parameters; surnameFirst; medium; addressing; formal
parameters; surnameFirst; short; addressing; formal

expectedResult; أبو الأغا وسام

parameters; surnameFirst; long; referring; informal
parameters; surnameFirst; medium; referring; informal

expectedResult; وسام أبو الأغا

parameters; givenFirst; long; referring; informal
parameters; givenFirst; medium; referring; informal

expectedResult; و.. أبو الأغا

parameters; givenFirst; short; referring; informal

expectedResult; أ.أ.ن

parameters; surnameFirst; long; monogram; formal

expectedResult; أ.ن.أ

parameters; givenFirst; long; monogram; formal

expectedResult; وسام

parameters; givenFirst; long; addressing; informal
parameters; givenFirst; medium; addressing; informal
parameters; givenFirst; short; addressing; informal
parameters; surnameFirst; long; addressing; informal
parameters; surnameFirst; medium; addressing; informal
parameters; surnameFirst; short; addressing; informal

expectedResult; أ.أ

parameters; givenFirst; medium; monogram; formal
parameters; givenFirst; medium; monogram; informal
parameters; givenFirst; short; monogram; informal

expectedResult; أ.و

parameters; surnameFirst; long; monogram; informal

expectedResult; و.أ

parameters; givenFirst; long; monogram; informal

expectedResult; أ

parameters; givenFirst; short; monogram; formal
parameters; surnameFirst; medium; monogram; formal
parameters; surnameFirst; short; monogram; formal

expectedResult; و

parameters; surnameFirst; medium; monogram; informal
parameters; surnameFirst; short; monogram; informal

endName

# foreignG
name ; given; سندباد
name ; locale; ja_AQ

expectedResult; سندباد

parameters; givenFirst; long; referring; formal
parameters; givenFirst; long; referring; informal
parameters; givenFirst; long; addressing; formal
parameters; givenFirst; long; addressing; informal
parameters; givenFirst; medium; referring; formal
parameters; givenFirst; medium; referring; informal
parameters; givenFirst; medium; addressing; formal
parameters; givenFirst; medium; addressing; informal
parameters; givenFirst; short; referring; formal
parameters; givenFirst; short; referring; informal
parameters; givenFirst; short; addressing; formal
parameters; givenFirst; short; addressing; informal
parameters; surnameFirst; long; referring; formal
parameters; surnameFirst; long; referring; informal
parameters; surnameFirst; long; addressing; formal
parameters; surnameFirst; long; addressing; informal
parameters; surnameFirst; medium; referring; formal
parameters; surnameFirst; medium; referring; informal
parameters; surnameFirst; medium; addressing; formal
parameters; surnameFirst; medium; addressing; informal
parameters; surnameFirst; short; referring; formal
parameters; surnameFirst; short; referring; informal
parameters; surnameFirst; short; addressing; formal
parameters; surnameFirst; short; addressing; informal
parameters; sorting; long; referring; formal
parameters; sorting; long; referring; informal
parameters; sorting; medium; referring; formal
parameters; sorting; medium; referring; informal
parameters; sorting; short; referring; formal
parameters; sorting; short; referring; informal

expectedResult; س

parameters; givenFirst; long; monogram; formal
parameters; givenFirst; long; monogram; informal
parameters; givenFirst; medium; monogram; formal
parameters; givenFirst; medium; monogram; informal
parameters; givenFirst; short; monogram; formal
parameters; givenFirst; short; monogram; informal
parameters; surnameFirst; long; monogram; formal
parameters; surnameFirst; long; monogram; informal
parameters; surnameFirst; medium; monogram; formal
parameters; surnameFirst; medium; monogram; informal
parameters; surnameFirst; short; monogram; formal
parameters; surnameFirst; short; monogram; informal

endName

# foreignGS
name ; given; كاثرين
name ; surname; مولر
name ; locale; ja_AQ

expectedResult; مولر، كاثرين

parameters; surnameFirst; long; referring; formal
parameters; surnameFirst; medium; referring; formal
parameters; sorting; long; referring; formal
parameters; sorting; long; referring; informal
parameters; sorting; medium; referring; formal
parameters; sorting; medium; referring; informal
parameters; sorting; short; referring; formal
parameters; sorting; short; referring; informal

expectedResult; كاثرين مولر

parameters; givenFirst; long; referring; formal
parameters; givenFirst; long; referring; informal
parameters; givenFirst; medium; referring; formal
parameters; givenFirst; medium; referring; informal

expectedResult; مولر كاثرين

parameters; surnameFirst; long; referring; informal
parameters; surnameFirst; medium; referring; informal

expectedResult; ك.. مولر

parameters; givenFirst; short; referring; informal

expectedResult; مولر، ك.

parameters; surnameFirst; short; referring; formal

expectedResult; ك. مولر

parameters; givenFirst; short; referring; formal

expectedResult; مولر ك.

parameters; surnameFirst; short; referring; informal

expectedResult; كاثرين

parameters; givenFirst; long; addressing; informal
parameters; givenFirst; medium; addressing; informal
parameters; givenFirst; short; addressing; informal
parameters; surnameFirst; long; addressing; informal
parameters; surnameFirst; medium; addressing; informal
parameters; surnameFirst; short; addressing; informal

expectedResult; مولر

parameters; givenFirst; long; addressing; formal
parameters; givenFirst; medium; addressing; formal
parameters; givenFirst; short; addressing; formal
parameters; surnameFirst; long; addressing; formal
parameters; surnameFirst; medium; addressing; formal
parameters; surnameFirst; short; addressing; formal

expectedResult; ك.م

parameters; givenFirst; long; monogram; formal
parameters; givenFirst; long; monogram; informal
parameters; givenFirst; medium; monogram; formal
parameters; givenFirst; medium; monogram; informal
parameters; givenFirst; short; monogram; informal

expectedResult; م.ك

parameters; surnameFirst; long; monogram; formal
parameters; surnameFirst; long; monogram; informal

expectedResult; ك

parameters; surnameFirst; medium; monogram; informal
parameters; surnameFirst; short; monogram; informal

expectedResult; م

parameters; givenFirst; short; monogram; formal
parameters; surnameFirst; medium; monogram; formal
parameters; surnameFirst; short; monogram; formal

endName

# foreignGGS
name ; given; زيزينيا
name ; given2; هاميش
name ; surname; ستوبر
name ; locale; ja_AQ

expectedResult; ستوبر، زيزينيا هاميش

parameters; surnameFirst; long; referring; formal
parameters; sorting; long; referring; formal

expectedResult; زيزينيا هاميش ستوبر

parameters; givenFirst; long; referring; formal

expectedResult; ستوبر، زيزينيا ه.

parameters; surnameFirst; medium; referring; formal
parameters; sorting; medium; referring; formal
parameters; sorting; short; referring; formal

expectedResult; زيزينيا ه. ستوبر

parameters; givenFirst; medium; referring; formal

expectedResult; ستوبر، زيزينيا

parameters; sorting; long; referring; informal
parameters; sorting; medium; referring; informal
parameters; sorting; short; referring; informal

expectedResult; زيزينيا ستوبر

parameters; givenFirst; long; referring; informal
parameters; givenFirst; medium; referring; informal

expectedResult; ستوبر زيزينيا

parameters; surnameFirst; long; referring; informal
parameters; surnameFirst; medium; referring; informal

expectedResult; ستوبر، ز. ه.

parameters; surnameFirst; short; referring; formal

expectedResult; ز.. ستوبر

parameters; givenFirst; short; referring; informal

expectedResult; ز. ستوبر

parameters; givenFirst; short; referring; formal

expectedResult; ستوبر ز.

parameters; surnameFirst; short; referring; informal

expectedResult; زيزينيا

parameters; givenFirst; long; addressing; informal
parameters; givenFirst; medium; addressing; informal
parameters; givenFirst; short; addressing; informal
parameters; surnameFirst; long; addressing; informal
parameters; surnameFirst; medium; addressing; informal
parameters; surnameFirst; short; addressing; informal

expectedResult; ز.ه.س

parameters; givenFirst; long; monogram; formal

expectedResult; س.ز.ه

parameters; surnameFirst; long; monogram; formal

expectedResult; ستوبر

parameters; givenFirst; long; addressing; formal
parameters; givenFirst; medium; addressing; formal
parameters; givenFirst; short; addressing; formal
parameters; surnameFirst; long; addressing; formal
parameters; surnameFirst; medium; addressing; formal
parameters; surnameFirst; short; addressing; formal

expectedResult; ز.س

parameters; givenFirst; long; monogram; informal
parameters; givenFirst; medium; monogram; formal
parameters; givenFirst; medium; monogram; informal
parameters; givenFirst; short; monogram; informal

expectedResult; س.ز

parameters; surnameFirst; long; monogram; informal

expectedResult; ز

parameters; surnameFirst; medium; monogram; informal
parameters; surnameFirst; short; monogram; informal

expectedResult; س

parameters; givenFirst; short; monogram; formal
parameters; surnameFirst; medium; monogram; formal
parameters; surnameFirst; short; monogram; formal

endName

# foreignFull
name ; title; الدكتور
name ; given; عايدة كورنيليا
name ; given-informal; نيللي
name ; given2; سيزار مارتن
name ; surname-prefix; فون
name ; surname-core; برول
name ; surname2; غونزاليس دومينغو
name ; generation; الإبن
name ; credentials; طبيب وجراح
name ; locale; ja_AQ

expectedResult; الدكتور عايدة كورنيليا سيزار مارتن فون برول الإبن، طبيب وجراح

parameters; givenFirst; long; referring; formal

expectedResult; الدكتور عايدة كورنيليا س. م. فون برول

parameters; givenFirst; medium; referring; formal

expectedResult; فون برول، عايدة كورنيليا سيزار مارتن

parameters; surnameFirst; long; referring; formal
parameters; sorting; long; referring; formal

expectedResult; فون برول، عايدة كورنيليا س. م.

parameters; surnameFirst; medium; referring; formal
parameters; sorting; medium; referring; formal
parameters; sorting; short; referring; formal

expectedResult; الدكتور ع. ك. فون برول

parameters; givenFirst; short; referring; formal

expectedResult; فون برول، ع. ك. س. م.

parameters; surnameFirst; short; referring; formal

expectedResult; الدكتور فون برول

parameters; givenFirst; long; addressing; formal
parameters; givenFirst; medium; addressing; formal
parameters; givenFirst; short; addressing; formal
parameters; surnameFirst; long; addressing; formal
parameters; surnameFirst; medium; addressing; formal
parameters; surnameFirst; short; addressing; formal

expectedResult; فون برول، نيللي

parameters; sorting; long; referring; informal
parameters; sorting; medium; referring; informal
parameters; sorting; short; referring; informal

expectedResult; فون برول ع. ك.

parameters; surnameFirst; short; referring; informal

expectedResult; فون برول نيللي

parameters; surnameFirst; long; referring; informal
parameters; surnameFirst; medium; referring; informal

expectedResult; نيللي فون برول

parameters; givenFirst; long; referring; informal
parameters; givenFirst; medium; referring; informal

expectedResult; ن.. فون برول

parameters; givenFirst; short; referring; informal

expectedResult; ع.س.ف

parameters; givenFirst; long; monogram; formal

expectedResult; ف.ع.س

parameters; surnameFirst; long; monogram; formal

expectedResult; نيللي

parameters; givenFirst; long; addressing; informal
parameters; givenFirst; medium; addressing; informal
parameters; givenFirst; short; addressing; informal
parameters; surnameFirst; long; addressing; informal
parameters; surnameFirst; medium; addressing; informal
parameters; surnameFirst; short; addressing; informal

expectedResult; ع.ف

parameters; givenFirst; medium; monogram; formal
parameters; givenFirst; medium; monogram; informal
parameters; givenFirst; short; monogram; informal

expectedResult; ف.ن

parameters; surnameFirst; long; monogram; informal

expectedResult; ن.ف

parameters; givenFirst; long; monogram; informal

expectedResult; ف

parameters; givenFirst; short; monogram; formal
parameters; surnameFirst; medium; monogram; formal
parameters; surnameFirst; short; monogram; formal

expectedResult; ن

parameters; surnameFirst; medium; monogram; informal
parameters; surnameFirst; short; monogram; informal

endName
