This is the cl-locale Reference Manual, version 0.1.1, generated automatically by Declt version 4.0 beta 2 "William Riker" on Tue Jul 15 04:04:22 2025 GMT+0.
The main system appears first, followed by any subsystem dependency.
cl-localeSimple i18n library for Common Lisp
Eitarow Fukamachi
LLGPL
# CL-Locale - Simple i18n library for Common Lisp
[](https://travis-ci.org/fukamachi/cl-locale)
[](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/srccl-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.asdcl-locale/src/locale.lispcl-locale/src/core.lispcl-locale/src/reader.lispcl-locale/src/syntax.lispcl-locale/src/locale.lispcore.lisp (file).
reader.lisp (file).
syntax.lisp (file).
src (module).
cl-locale/src/core.lispsrc (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.lispcore.lisp (file).
src (module).
enable-locale-syntax (macro).
i18n-reader (function).
i18n-unformatted-reader (function).
%enable-locale-syntax (function).
cl-locale/src/syntax.lispreader.lisp (file).
src (module).
locale-syntax (special variable).
Packages are listed by definition order.
cl-locale.coreanaphora.
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.syntaxcommon-lisp.
locale-syntax (special variable).
cl-locale.readercl-locale.core.
cl-syntax.
common-lisp.
enable-locale-syntax (macro).
i18n-reader (function).
i18n-unformatted-reader (function).
%enable-locale-syntax (function).
cl-localelocale
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 |
|---|