Multi language library for messageing.
Underground Resistance – World 2 World
CL-USER> (in-package :w2w)
#<PACKAGE "WORLD2WORLD">
W2W> (add-expression :msg1 :hiroshima "これはテストじゃけぇね。値は ~a よ")
#<EXPRESSION {1006936623}>
W2W> (add-expression :msg1 :en "This is test. value is ~a.")
#<EXPRESSION {10069D6E73}>
W2W> (setf (default-world) :hiroshima)
#<WORLD {100551D4D3}>
W2W> (format* t :msg1 1)
これはテストじゃけぇね。値は 1 よ
NIL
W2W> (setf (default-world) :en)
#<WORLD {10069D0243}>
W2W> (format* t :msg1 1)
This is test. value is 1.
NIL
(ql:quickload :world2world)
+---------------+
| hash-table |
|===============|
| key | package |
|-----+---------|
| val | +----------------------+
+-------| message [object] |-+
|======================| |-+
| code | [keyword] | | |
| default | nil | | |
| worlds | +--------------------+
+-----------| hash-table |
+---------|====================|
+-------| key | +-------------------------+
| | | world [object] |
| | |=========================|
| | | code | [keyword] |
| | | description | [string] |
| | +-------------------------+
|-----+--------------|
| val | +------------------------+
+-------| expression [object] |-+
|========================| |-+
| controller | [string] | | |
| description | [string] | | |
+------------------------+ | |
+------------------------+ |
+-----------------------+
- Satoshi Iwasaki ([email protected])
Copyright (c) 2015 Satoshi Iwasaki ([email protected])
Licensed under the LLGPL License.