Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
gevorg95 authored Aug 21, 2016
1 parent 153f771 commit 4dbf3b9
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@ Tool for translating Caché [message dictionaries](http://docs.intersystems.com/
2. Import it to any Caché namespace, e.g. to USER.
3. Run in terminal:
```
Set pVars("NameSpace") = "<The namespace where you want CLM to be installed>"
USER> do ##class(CLM.Installer).Setup()
Set pVars("Namespace") = "<The namespace where you want CLM to be installed>" //e.g. SIMPLE
Set pVars("SourceDir") = "<The folder for the offline installation>" //e.g. C:\temp\CLM\
USER> do ##class(CLM.Installer).Setup(pVars) //If you do not specify the default pVars then CLM namespace will be chosen by default
```


Expand All @@ -21,20 +22,20 @@ Tool for translating Caché [message dictionaries](http://docs.intersystems.com/
## Auto-translate installation

1. Get yandex translate API [key](https://tech.yandex.com/translate/)
2. Set `SSLConfig`, `yandexkey` settings
2. Set `yandexkey` settings


## Settings

You can set CLM settings in terminal with `do ##class(CLM.Utils).SetSetting(SettingName, Value)` comand.
You can set the following settings:

| Setting | Sample value | Description |
|--------------|---------------------------------|-----------------------------------------------------------------------|
| CNAPath | libcna.so | Path to libcna.dll or libcna.so |
| libcPath | /lib/x86_64-linux-gnu/libc.so.6 | Path to C standart library |
| hunspellPath | libhunspell.dll | Path to hunspell shared library |
| affPath | C:\ru.aff | Path to your hunspell dictionary if you don't want to use default one |
| dicPath | C:\dic.aff | Path to your hunspell dictionary if you don't want to use default one |
| yandexkey | trnsl.1.1.2015062... | Your yandex translate api key |
| SSLConfig | CLM | Valid SSL config. Would be used to connect to yandex server |
| Setting | Sample value | Description |
|--------------|---------------------------------|---------------------------------------------------------------------------------- |
| CNAPath | libcna.so | Path to libcna.dll or libcna.so |
| libcPath | /lib/x86_64-linux-gnu/libc.so.6 | Path to C standart library for Linux (C:\Windows\System32\msvcrt.dll for windows) |
| hunspellPath | libhunspell.dll | Path to hunspell shared library |
| affPath | C:\ru.aff | Path to your hunspell dictionary if you don't want to use default one |
| dicPath | C:\dic.aff | Path to your hunspell dictionary if you don't want to use default one |
| yandexkey | trnsl.1.1.2015062... | Your yandex translate api key |
| SSLConfig | CLM | Valid SSL config. Would be used to connect to yandex server |

0 comments on commit 4dbf3b9

Please # to comment.