UnboundLocalError: local variable 'LANG_KEYS' referenced before assignment
hiasel opened this issue · 1 comments
hiasel commented
I tried to convert the provided sample.csv
(https://github.com/rogermolas/csv-localizer/blob/master/sample.csv) to ios localized strings using: csv-localizer -p ios -i sample.csv -o ios-output
.
However I receive the following error and nothing is generated.
Any help would be much appreciated :)
Start Localizing ....
------------------------------------
Generated output directory: ios-output
Traceback (most recent call last):
File "/Users/myuser/homebrew/bin/csv-localizer", line 278, in <module>
main(args, loglevel)
File "/Users/myuser/homebrew/bin/csv-localizer", line 70, in main
generate_keys(IN_PATH, OUTPUT_DIR, PLATFORM, DELIMITER)
File "/Users/myuser/homebrew/bin/csv-localizer", line 121, in generate_keys
start_localize_ios(source_path, allwrites, LANG_KEYS, delimiter)
UnboundLocalError: local variable 'LANG_KEYS' referenced before assignment