-
Notifications
You must be signed in to change notification settings - Fork 84
/
.babelish.sample
39 lines (30 loc) · 1.98 KB
/
.babelish.sample
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# This is a sample configuration file
###################################### Base2CSV ######################################
## required, location of strings files (FILENAMES)
filenames: ["test/data/test_en.strings", "test/data/test_fr.strings"]
## optional
# headers: ["Constants", "English", "French"] # override headers of columns, default is name of input files and 'Variables' for reference
# csv_filename: "testconfig.csv" # location of output file
# dryrun: true # prints out content of hash without writing file
###################################### CSV2Base ######################################
## required
filename: test/data/test_data.csv # CSV file (CSV_FILENAME) to convert from or name of file in Google Drive
langs: # Languages to convert. i.e. English:en
English: "en"
## optional
# fetch: true # set to true to get file(filename) from google drive
# excluded_states: ["Images", "Xib"] # Exclude rows with given state
# comments_column: 4 # Position of column for comments if any
# state_column: 3 # Position of column for state if any
# keys_column: 0 # Position of column for keys
# default_lang: "English" # Header name of column containing fallback value if value is empty
# output_dir: "resources/" # Path of output files
# output_basenames: # Basename of output files
# - Localizable
# - info
# ignore_lang_path: true # does not care about lang component path. i.e: en.lproj/
# sheet: 0 # Index of worksheet to download. First index is 0.
# macros_filename: Babelish.h # File to output the defines of localized strings
# stripping: false # Strips values inside the spreadsheet
###################################### General ######################################
# csv_separator: ',' # CSV column separator character, uses ',' by default