This is the cl-libre-translate Reference Manual, version 1.0.0, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Jul 13 19:18:49 2025 GMT+0.
The main system appears first, followed by any subsystem dependency.
cl-libre-translate
A Common Lisp client for the Libre Translate API for translating between human languages. See https://github.com/LibreTranslate/LibreTranslate to setup the Libre Translate service.
Jeremiah LaRocco <jeremiah_larocco@fastmail.com>
ISC
1.0.0
alexandria
(system).
st-json
(system).
dexador
(system).
uiop
(system).
trivial-clipboard
(system).
package.lisp
(file).
main.lisp
(file).
cl-libre-translate.lisp
(file).
Files are sorted by type and then listed depth-first from the systems components trees.
cl-libre-translate/cl-libre-translate.asd
cl-libre-translate/package.lisp
cl-libre-translate/main.lisp
cl-libre-translate/cl-libre-translate.lisp
cl-libre-translate/cl-libre-translate.asd
cl-libre-translate
(system).
cl-libre-translate/main.lisp
package.lisp
(file).
cl-libre-translate
(system).
main
(function).
cl-libre-translate/cl-libre-translate.lisp
main.lisp
(file).
cl-libre-translate
(system).
*api-key*
(special variable).
*config-file*
(special variable).
*libre-translate-url*
(special variable).
*verbose-http-stream*
(special variable).
cached-translate
(function).
describe-language
(function).
detect
(function).
frontend-settings
(function).
languages
(function).
load-config
(function).
show-languages
(function).
suggest
(function).
translate
(function).
translate-clipboard
(function).
translate-file
(function).
*cache*
(special variable).
*default-file-source*
(special variable).
*default-file-target*
(special variable).
*default-source*
(special variable).
*default-target*
(special variable).
*language-count*
(special variable).
api-req
(function).
maybe-add-api-key
(function).
Packages are listed by definition order.
cl-libre-translate
lt
alexandria
.
common-lisp
.
st-json
.
*api-key*
(special variable).
*config-file*
(special variable).
*libre-translate-url*
(special variable).
*verbose-http-stream*
(special variable).
cached-translate
(function).
describe-language
(function).
detect
(function).
frontend-settings
(function).
languages
(function).
load-config
(function).
main
(function).
show-languages
(function).
suggest
(function).
translate
(function).
translate-clipboard
(function).
translate-file
(function).
*cache*
(special variable).
*default-file-source*
(special variable).
*default-file-target*
(special variable).
*default-source*
(special variable).
*default-target*
(special variable).
*language-count*
(special variable).
api-req
(function).
maybe-add-api-key
(function).
Definitions are sorted by export status, category, package, and then by lexicographic order.
The API key to use for the connection.
Name of an (optional) config file containing an API key and Libre Translate URL.~
All fields are optional and will override the defaults.~
Allowed keys are "default-source", "default-target", "url" and "api-key".~
Should be JSON like {"url": "http://libretranslate.com", "api-key": "...."}
The URI of Libre Translate host that will be used.
Stream to log HTTP traffic to. t to use stdout, nil to disable.
Like translate, but returns one result, and uses a local cache to avoid API lookups.
Detect the language of text.
Return the list of supported languages.
Read *config-file*, if it exists, and populate *libre-translate-url* and~ and *api-key* parameters if the "url" and "api-key" fields are present.
Write the list of supported languages, one per line, to stream.
Translate text from the source language to the target language.
Like translate, but uses trivial-clipboard to read the clipboard (supports xsel, xclip, and wayland).
Translate a file. If output-file-name is given, save the results to it.
A cache to avoid Libre Translate API requests. Set to nil to disable.
The default source language for file translation.
The default target language for file translation.
The default source language.
The default target language.
The number of supported languages.
Jump to: | A C D F L M S T |
---|
Jump to: | A C D F L M S T |
---|
Jump to: | *
S |
---|
Jump to: | *
S |
---|
Jump to: | C F M P S |
---|
Jump to: | C F M P S |
---|