https://github.com/patch/cldr-list-pm6
CLDR::List (Perl 6)
https://github.com/patch/cldr-list-pm6
cldr i18n perl6 unicode
Last synced: 5 months ago
JSON representation
CLDR::List (Perl 6)
- Host: GitHub
- URL: https://github.com/patch/cldr-list-pm6
- Owner: patch
- Created: 2013-11-02T00:06:00.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2017-04-25T15:06:24.000Z (about 8 years ago)
- Last Synced: 2025-01-31T07:51:26.880Z (5 months ago)
- Topics: cldr, i18n, perl6, unicode
- Language: Perl
- Homepage:
- Size: 15.6 KB
- Stars: 5
- Watchers: 6
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README

# NAME
CLDR::List - Localized list formatters using the Unicode CLDR
# SYNOPSIS
use CLDR::List;
my $list = CLDR::List.new(locale => 'en');
my @fruit = ;say $list.format(@fruit); # apples, oranges, and bananas
$list.locale = 'en-GB'; # British English
say $list.format(@fruit); # apples, oranges and bananas$list.locale = 'zh-Hant'; # Traditional Chinese
say $list.format('1'..'4'); # 1、2、3和4# DESCRIPTION
Localized list formatters using the Unicode CLDR.
## Attributes
- locale
## Methods
- format
# SEE ALSO
- [List Patterns in UTS \#35: Unicode
LDML](http://www.unicode.org/reports/tr35/tr35-general.html\#ListPatterns)
- [Perl Advent Calendar:
CLDR TL;DR](http://perladvent.org/2014/2014-12-23.html)
- [Unicode beyond just characters: Localization with the
CLDR](http://patch.codes/talks/localization-with-the-unicode-cldr/) (video and
slides)# AUTHOR
Nova Patch
# COPYRIGHT AND LICENSE
© 2013–2015 Nova Patch
This library is free software; you can redistribute it and/or modify it under
the same terms as Perl itself.