Basic examples (2)
o1 = new stzLocale("de-DE")
? o1.Abbreviation()de_DE
run on 2026-10-02 04:23 inside the library at commit 0e72e2e2c; taken from 02_abbreviation.ring(opens in a new tab)
o1 = new stzLocale("ar-TN")
? o1.Abbreviation()ar_TN
run on 2026-10-02 04:23 inside the library at commit 0e72e2e2c; taken from 39_abbreviation.ring(opens in a new tab)
Scope (8)
o1 = new stzLocale([ :Language = :Spanish, :Country = :Spain ]) ? o1.Abbreviation()
es_ES
run on 2026-10-02 04:23 inside the library at commit 0e72e2e2c; taken from 38_abbreviation.ring(opens in a new tab)
? IsLocaleList([ :Country = :Tunisia ]) ? StzLocaleQ([ :Country = :Tunisia ]).Abbreviation()
1 ar_TN
run on 2026-10-02 04:23 inside the library at commit 0e72e2e2c; taken from 41_islocalelist.ring(opens in a new tab)
o1 = new stzLocale("en-US")
? o1.Abbreviation()
? o1.Abbreviation()
? o1.Country()en_US en_US united_states
run on 2026-10-02 04:23 inside the library at commit 0e72e2e2c; taken from 84_abbreviation.ring(opens in a new tab)
o1 = new stzLocale([ :Country = "Niger" ]) ? o1.Abbreviation() ? o1.LanguageName() ? o1.CountryName()
fr_NE french niger
run on 2026-10-02 04:23 inside the library at commit 0e72e2e2c; taken from 72_abbreviation.ring(opens in a new tab)
o1 = new stzLocale("pt_Latn_BR")
? o1.Abbreviation()
? o1.language()
? o1.Script()
? o1.Country()pt_BR portuguese latin brazil
run on 2026-10-02 04:23 inside the library at commit 0e72e2e2c; taken from 69_abbreviation.ring(opens in a new tab)
o1 = new stzLocale("en-Latn-US")
? o1.Abbreviation()
? o1.TimeShortFormat()
? o1.TimeLongFormat()
? o1.TimeNarrowFormat()en_US h:mm AP h:mm:ss AP t h:mm AP
run on 2026-10-02 04:23 inside the library at commit 0e72e2e2c; taken from 85_abbreviation.ring(opens in a new tab)
o1 = new stzLocale([ :Language = "portuguese", :Script = "Latn", :Country = "BR" ]) ? o1.Abbreviation() ? o1.LanguageName() ? o1.CountryName() ? o1.CountryNumber()
pt_BR portuguese brazil 30
run on 2026-10-02 04:23 inside the library at commit 0e72e2e2c; taken from 70_abbreviation.ring(opens in a new tab)
o1 = new stzLocale([ :Language = "romanian" ]) ? o1.Abbreviation() ? o1.Abbreviation() + NL ? o1.LanguageNumber() ? o1.LanguageName() + NL ? o1.CountryNumber() ? o1.CountryName()
ro_RO ro_RO 95 romanian 177 romania
run on 2026-10-02 04:23 inside the library at commit 0e72e2e2c; taken from 71_abbreviation.ring(opens in a new tab)
The extensions of this method
Each extension, and whether it exists for this method; an extension that exists combines with the others (FindSTCS).
Every example is a test file of the library, run inside the library for this page; only those whose output kept every promise their file wrote are shown.
See also
- The class stzLocale
- The area's reference: Internationalization
- The other methods in these examples: stzLocale.CountryName · stzLocale.CountryNumber · stzLocale.LanguageName · stzLocale.LanguageNumber · stzLocale.ScriptName · stzLocale.TimeLongFormat · stzLocale.TimeNarrowFormat · stzLocale.TimeShortFormat

