Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/patch/cldr-list-pm6
CLDR::List (Perl 6)
https://github.com/patch/cldr-list-pm6
cldr i18n perl6 unicode
Last synced: about 1 month 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 (about 11 years ago)
- Default Branch: master
- Last Pushed: 2017-04-25T15:06:24.000Z (over 7 years ago)
- Last Synced: 2024-09-30T20:05:56.131Z (about 2 months ago)
- Topics: cldr, i18n, perl6, unicode
- Language: Perl
- Homepage:
- Size: 15.6 KB
- Stars: 5
- Watchers: 6
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
![Perl CLDR](https://www.gravatar.com/avatar/656f15a25eff4437f5a82e7c929f41dd?s=96)
# 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.