Skip to content

Commit c08edb5

Browse files
committed
Improved README
Fixes #2
1 parent 6387bd6 commit c08edb5

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,26 +16,32 @@ bin/locale-extract-category < \
1616
glibc_locale_tools/test/data/nl_NL.LC_TIME.actual;
1717
```
1818

19+
__NOTE__: This can be useful because some (web) framework, for instance [CakePHP](http://book.cakephp.org/2.0/en/core-libraries/internationalization-and-localization.html), use `LC_TIME` files to provide localisation.
20+
1921
### locale-decode-category
2022

21-
Decodes a given `LC_*` (category) file.
23+
Decodes a given `LC_*` (category) file to a human readable format.
2224

2325
```sh
2426
bin/locale-decode-category < \
2527
glibc_locale_tools/test/data/nl_NL.LC_TIME.expected > \
2628
glibc_locale_tools/test/data/nl_NL.LC_TIME.decoded;
2729
```
2830

31+
__NOTE__: This can be useful when you want to make changes in for instance `LC_TIME`. Use `locale-encode-category` to re-encode.
32+
2933
### locale-encode-category
3034

31-
(Re)encodes a given `LC_*` (category) file.
35+
(Re)encodes a given `LC_*` (category) file to a machine readable format.
3236

3337
```sh
3438
bin/locale-encode-category < \
3539
glibc_locale_tools/test/data/nl_NL.LC_TIME.decoded > \
3640
glibc_locale_tools/test/data/nl_NL.LC_TIME.encoded;
3741
```
3842

43+
__NOTE__: This can be useful when you want to re-encode for instance `LC_TIME`.
44+
3945
## References
4046

4147
* [Glibc locale files](http://localization-guide.readthedocs.org/en/latest/guide/locales/glibc.html)

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ def readme():
99

1010

1111
setup(name='glibc-locale-tools',
12-
version='0.2.0',
12+
version='0.2.1',
1313
author='Mischa ter Smitten',
1414
author_email='mtersmitten@oefenweb.nl',
1515
maintainer='Mischa ter Smitten',

0 commit comments

Comments
 (0)