<commit_before># rescodegen
A command line tool for creating Swift and Objective-C code from localizable strings.
## Installation
`$ sudo gem install rescodegen`

## Usage
### Generate Code
`$ rescodegen -l swift -o output_folder Localizable.strings`
### Options

|Option|Value|Description   |
|---|---|---|
|-l|swift\|objc|The language of the generated code|
|-o|directory|Where to generate the files|
## Example
### Localizable.strings  

```<commit_msg>Updates README<commit_after># rescodegen
A command line tool for creating Swift and Objective-C code from localizable strings.
## Installation
`$ sudo gem install rescodegen`

## Usage
### Generate Code
`$ rescodegen -l swift -o output_folder Localizable.strings`
### Options

|Option|Value|Description   |
|---|---|---|
|-l|swift\|objc|The language of the generated code.|
|-o|relative/path/to/output/directory|Where to generate the files.|
|-p|e.g. SH|An optional prefix to apply to Objective-C types.|
## Example
### Localizable.strings  

```
{'fraction_non_alphanumeric': 0.1407185628742515, 'fraction_numerical': 0.0, 'mean_word_length': 4.572222222222222, 'pattern_counts': {'":': 0, '<': 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': '5053764', 'n_tokens_mistral': 308, 'n_tokens_neox': 292, 'n_words': 98}