<commit_before># JustTexts

Multi language text administration tool.

The purpose of this tool is to administer text containers for multiple languages via a browser and place it in i18n
compatible format in the file system to be used in all kinds of programming languages, either backend or frontend.

With JavaScript, the texts can be used via i18n.js (see: http://github.com/requirejs/i18n for details).

## Setup

This package requires JustAPI as REST API backend, so checkout JustAPI into vendor/justso/justapi.
Checkout this package into vendor/justso/justtexts
Add a 'language' attribute to config.json file from JustAPI containing a list of language codes you want to use and an
entry in the "services" section of config.json for the JustTexts services.

Example:

```
...
"language": ["de", "en", "fr"],
"services": {
    ...
    "justtexts/*": "file:vendor/justso/justtexts/services.json"
}
...
```

Alter your Apache config file to point the '/justtexts' directory to the JavaScript part of the package and for easy
access to required libraries:

```
Alias /justtexts /path/to/my/project/vendor/justso/justtexts/frontend<commit_msg>Corrected config.json entry language to languages<commit_after># JustTexts

Multi language text administration tool.

The purpose of this tool is to administer text containers for multiple languages via a browser and place it in i18n
compatible format in the file system to be used in all kinds of programming languages, either backend or frontend.

With JavaScript, the texts can be used via i18n.js (see: http://github.com/requirejs/i18n for details).

## Setup

This package requires JustAPI as REST API backend, so checkout JustAPI into vendor/justso/justapi.
Checkout this package into vendor/justso/justtexts
Add a 'language' attribute to config.json file from JustAPI containing a list of language codes you want to use and an
entry in the "services" section of config.json for the JustTexts services.

Example:

```
...
"languages": ["de", "en", "fr"],
"services": {
    ...
    "justtexts/*": "file:vendor/justso/justtexts/services.json"
}
...
```

Alter your Apache config file to point the '/justtexts' directory to the JavaScript part of the package and for easy
access to required libraries:

```
Alias /justtexts /path/to/my/project/vendor/justso/justtexts/frontend
{'fraction_non_alphanumeric': 0.08401551055579491, 'fraction_numerical': 0.005170185264971995, 'mean_word_length': 4.387470997679815, 'pattern_counts': {'":': 6, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3415531', 'n_tokens_mistral': 653, 'n_tokens_neox': 635, 'n_words': 296}