This is the cl-locale Reference Manual, version 0.1.1, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Dec 15 05:07:23 2024 GMT+0.
The main system appears first, followed by any subsystem dependency.
cl-locale
Simple i18n library for Common Lisp
Eitarow Fukamachi
LLGPL
# CL-Locale - Simple i18n library for Common Lisp
[![Build Status](https://travis-ci.org/fukamachi/cl-locale.svg?branch=master)](https://travis-ci.org/fukamachi/cl-locale)
[![Coverage Status](https://coveralls.io/repos/fukamachi/cl-locale/badge.svg?branch=master)](https://coveralls.io/r/fukamachi/cl-locale?branch=master)
## Usage
(cl-locale:enable-locale-syntax)
(define-dictionary schedule
(:ja-JP #p"i18n/ja_JP/message.lisp")
(:fr-FR #p"i18n/fr_FR/message.lisp"))
(define-dictionary lisp
(:ja-JP #p"i18n/ja_JP/message.lisp"))
(setf (current-dictionary) :schedule)
#i"Schedule"
;=> "Schedule"
(i18n "Schedule" :locale :ja-JP)
;=> "予定"
(let ((*locale* :fr-FR))
#i"Schedule")
;=> "Calendrier"
#i("Comments: ~A" 10)
;=> "コメント: 10個"
## What the difference
* cl-i18n: Does nit support loading multiple locales at the same time.
* cl-l10n: No reader macro predefined. No tools to automatically generate localizable files / language files.
## Dictionary Resource
; ja_JP/message.lisp
(("Schedule" . "予定")
("Lisping" . "舌足らず"))
; fr_FR/message.lisp
(("Schedule" . "Calendrier"))
## License
Copyright (c) 2011 Eitarow Fukamachi
Licensed under the LLGPL License.
0.1.1
anaphora
(system).
arnesi
(system).
cl-annot
(system).
cl-syntax
(system).
cl-syntax-annot
(system).
src
(module).
Modules are listed depth-first from the system components tree.
cl-locale/src
cl-locale
(system).
locale.lisp
(file).
core.lisp
(file).
reader.lisp
(file).
syntax.lisp
(file).
Files are sorted by type and then listed depth-first from the systems components trees.
cl-locale/cl-locale.asd
cl-locale/src/locale.lisp
cl-locale/src/core.lisp
cl-locale/src/reader.lisp
cl-locale/src/syntax.lisp
cl-locale/src/locale.lisp
core.lisp
(file).
reader.lisp
(file).
syntax.lisp
(file).
src
(module).
cl-locale/src/core.lisp
src
(module).
*default-locale*
(special variable).
*dictionary-tables*
(special variable).
*locale*
(special variable).
current-dictionary
(function).
(setf current-dictionary)
(function).
define-dictionary
(macro).
i18n
(function).
i18n-unformatted
(function).
register-dictionary
(method).
register-dictionary
(method).
%define-dictionary
(function).
*dictionary*
(special variable).
ensure-dictionary
(function).
ensure-hash-table
(function).
slurp-file
(function).
cl-locale/src/reader.lisp
core.lisp
(file).
src
(module).
enable-locale-syntax
(macro).
i18n-reader
(function).
i18n-unformatted-reader
(function).
%enable-locale-syntax
(function).
cl-locale/src/syntax.lisp
reader.lisp
(file).
src
(module).
locale-syntax
(special variable).
Packages are listed by definition order.
cl-locale.core
anaphora
.
cl-syntax
.
common-lisp
.
*default-locale*
(special variable).
*dictionary-tables*
(special variable).
*locale*
(special variable).
current-dictionary
(function).
(setf current-dictionary)
(function).
define-dictionary
(macro).
i18n
(function).
i18n-unformatted
(function).
register-dictionary
(generic function).
%define-dictionary
(function).
*dictionary*
(special variable).
ensure-dictionary
(function).
ensure-hash-table
(function).
slurp-file
(function).
cl-locale.syntax
common-lisp
.
locale-syntax
(special variable).
cl-locale.reader
cl-locale.core
.
cl-syntax
.
common-lisp
.
enable-locale-syntax
(macro).
i18n-reader
(function).
i18n-unformatted-reader
(function).
%enable-locale-syntax
(function).
cl-locale
locale
cl-locale.core
.
cl-locale.reader
.
cl-locale.syntax
.
common-lisp
.
Definitions are sorted by export status, category, package, and then by lexicographic order.
Read a specified file and return the content as a sequence.
Jump to: | %
(
C D E F G I M R S |
---|
Jump to: | %
(
C D E F G I M R S |
---|
Jump to: | *
L S |
---|
Jump to: | *
L S |
---|
Jump to: | C F L M P R S |
---|
Jump to: | C F L M P R S |
---|