-
Notifications
You must be signed in to change notification settings - Fork 88
local load
Dustin edited this page Mar 26, 2015
·
5 revisions
local-load reads a csv file using (csv-read file) and creates a localization table with the first column as the keys and each other column for a different language. Then when (local-get-text str) is called with a str that matches one of the keys, it returns one of the strings depending on which language was most recently set by (local-index-set! index). If you wish to have the localization csv file embedded directly in your app, list it in the EMBED file.
Parameter | Description |
---|---|
fname | The name of the localization csv file in the application's main directory. |
Example: A csv file is loaded.
./DemoConsole
> (local-load "localization.csv")
See full scenario of procedure calls at local-get-text
-
- accelerometer
- alist
- audio
- audioaux
- base64
- btle-scan
- camera
- cdb
- cgi
- config
- csv
- curl
- digest
- dmtx
- download
- eventloop
- fcgi
- fft
- generalized-arrays
- gps
- graph
- gyro
- hidapi
- hpdf
- html
- httpsclient
- hybridapp
- json
- lmdb
- ln_core
- ln_glcore
- ln_glgui
- ln_store
- localization
- localization_gui
- localnotification
- magnetometer
- mdns
- mqtt
- mqtt-store
- multitouch
- oauth
- orientation
- p256ecdsa
- png
- portaudio
- pregexp
- pressure
- prime
- pushnotification
- redcap
- rsa
- rtaudio
- rupi
- rotation
- sanestring
- scheduler
- serial
- sets
- settings
- simplexnoise
- sqlite
- ssax
- syntax-case
- timestamp
- ttf
- uiform
- url
- uuid
- vibrate
- videoplayer
- watchdog
- website
- xml
- zip