# 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: th
#
# 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; th_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; th_AQ

expectedResult; กล้าหาญ, ไอริณ

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; formal
parameters; surnameFirst; long; referring; informal
parameters; surnameFirst; long; addressing; formal
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

expectedResult; ไอริณ กล้าหาญ

parameters; givenFirst; long; referring; formal
parameters; givenFirst; long; referring; informal
parameters; givenFirst; long; addressing; formal
parameters; givenFirst; medium; referring; formal
parameters; givenFirst; medium; referring; informal
parameters; givenFirst; medium; addressing; formal
parameters; givenFirst; short; referring; formal
parameters; givenFirst; short; referring; informal
parameters; givenFirst; 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; short; addressing; informal

expectedResult; กไ

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; formal
parameters; givenFirst; short; monogram; informal

expectedResult; ก

parameters; surnameFirst; long; monogram; formal
parameters; surnameFirst; medium; monogram; formal

expectedResult; ไ

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

endName

# nativeGGS
name ; given; มานี
name ; given2; ชัยยศ
name ; surname; พิชิตชัย
name ; locale; th_AQ

expectedResult; พิชิตชัย, มานี ชัยยศ

parameters; sorting; long; referring; formal
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; formal
parameters; surnameFirst; long; referring; informal
parameters; surnameFirst; long; addressing; formal
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

expectedResult; มานี ชัยยศ พิชิตชัย

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

expectedResult; พิชิตชัย, มานี

parameters; sorting; long; referring; informal

expectedResult; มานี พิชิตชัย

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

expectedResult; มชัพิ

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

expectedResult; มานี

parameters; givenFirst; long; addressing; informal
parameters; givenFirst; medium; addressing; informal
parameters; givenFirst; short; addressing; informal
parameters; surnameFirst; long; 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

expectedResult; พิ

parameters; surnameFirst; long; monogram; formal
parameters; surnameFirst; medium; monogram; formal

expectedResult; ม

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

endName

# nativeFull
name ; title; คุณ
name ; given; ปรีชา
name ; given-informal; ชาติ
name ; given2; กล้าหาญ
name ; surname-core; แสงระวี
name ; locale; th_AQ

expectedResult; คุณ ปรีชา กล้าหาญ แสงระวี

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

expectedResult; แสงระวี คุณ ปรีชา กล้าหาญ

parameters; surnameFirst; long; referring; formal
parameters; surnameFirst; long; referring; informal
parameters; surnameFirst; long; addressing; formal
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

expectedResult; แสงระวี, ปรีชา กล้าหาญ

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

expectedResult; คุณ ปรีชา แสงระวี

parameters; givenFirst; short; referring; formal

expectedResult; แสงระวี, ชาติ

parameters; sorting; long; referring; informal

expectedResult; ชาติ แสงระวี

parameters; givenFirst; long; referring; informal
parameters; givenFirst; medium; referring; informal
parameters; givenFirst; 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; short; addressing; informal

expectedResult; ปกแ

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

expectedResult; แช

parameters; surnameFirst; long; monogram; informal

expectedResult; ปแ

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

expectedResult; ช

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

expectedResult; แ

parameters; surnameFirst; long; monogram; formal
parameters; surnameFirst; medium; monogram; formal

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; 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; long; addressing; formal
parameters; givenFirst; medium; referring; formal
parameters; givenFirst; medium; referring; informal
parameters; givenFirst; medium; addressing; formal
parameters; givenFirst; short; referring; formal
parameters; givenFirst; short; referring; informal
parameters; givenFirst; short; addressing; formal

expectedResult; มึลเลอร์ เคเทอ

parameters; surnameFirst; long; referring; formal
parameters; surnameFirst; long; referring; informal
parameters; surnameFirst; long; addressing; formal
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

expectedResult; เคเทอ

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

expectedResult; มึเ

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; formal
parameters; givenFirst; short; monogram; informal

expectedResult; มึ

parameters; surnameFirst; long; monogram; formal
parameters; surnameFirst; medium; monogram; formal

expectedResult; เ

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

endName

# foreignGGS
name ; given; ซาซิเลีย
name ; given2; ฮามิช
name ; surname; สโตเบอร์
name ; locale; ja_AQ

expectedResult; สโตเบอร์, ซาซิเลีย ฮามิช

parameters; sorting; long; referring; formal
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; addressing; formal
parameters; givenFirst; medium; referring; formal
parameters; givenFirst; medium; addressing; formal
parameters; givenFirst; short; addressing; formal

expectedResult; สโตเบอร์ ซาซิเลีย ฮามิช

parameters; surnameFirst; long; referring; formal
parameters; surnameFirst; long; referring; informal
parameters; surnameFirst; long; addressing; formal
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

expectedResult; สโตเบอร์, ซาซิเลีย

parameters; sorting; long; referring; informal

expectedResult; ซาซิเลีย สโตเบอร์

parameters; givenFirst; long; referring; informal
parameters; givenFirst; medium; referring; informal
parameters; givenFirst; short; referring; formal
parameters; givenFirst; 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; short; addressing; informal

expectedResult; ซฮส

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

expectedResult; ซส

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

expectedResult; สซ

parameters; surnameFirst; long; monogram; informal

expectedResult; ซ

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

expectedResult; ส

parameters; surnameFirst; long; monogram; formal
parameters; surnameFirst; medium; 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; surnameFirst; long; referring; formal
parameters; surnameFirst; long; referring; informal
parameters; surnameFirst; long; addressing; formal
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

expectedResult; ศ.ดร. เอดา คอร์เนเลีย เซซาร์ มาร์ติน วอน บรืล พ.บ. ท.บ.

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

expectedResult; บรืล, เอดา คอร์เนเลีย เซซาร์ มาร์ติน วอน

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

expectedResult; ศ.ดร. เอดา คอร์เนเลีย วอน บรืล

parameters; givenFirst; short; referring; formal

expectedResult; วอน บรืล, นีเลอะ

parameters; sorting; long; referring; informal

expectedResult; นีเลอะ วอน บรืล

parameters; givenFirst; long; referring; informal
parameters; givenFirst; medium; referring; informal
parameters; givenFirst; 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; short; addressing; informal

expectedResult; วนี

parameters; surnameFirst; long; monogram; informal

expectedResult; เเว

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

expectedResult; นี

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

expectedResult; เว

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

expectedResult; ว

parameters; surnameFirst; long; monogram; formal
parameters; surnameFirst; medium; monogram; formal

endName
