Skip to content

Commit 7cadfd9

Browse files
feat:TCM-5729: Allow JSON translations in the Smartling Translate (#115)
add json file type
1 parent 5efbeae commit 7cadfd9

File tree

1 file changed

+3
-1
lines changed
  • smartling-file-translations-api/src/main/java/com/smartling/api/filetranslations/v2/pto

1 file changed

+3
-1
lines changed

smartling-file-translations-api/src/main/java/com/smartling/api/filetranslations/v2/pto/FileType.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@ public enum FileType
2727
XLIFF2("application/xml", true), // XLIFF 2.0 parser
2828
CSV("text/csv", true), // CSV (Comma-separated values)
2929
XLSX_TEMPLATE("application/octet-stream", false), // Smartling XLSX - https://help.smartling.com/hc/en-us/articles/1260804224670-Translating-Spreadsheets#h_01F3TKVZBVPFJSF2XZEBHDH1EQ
30-
ANDROID("application/xml", true); // ANDROID parser
30+
ANDROID("application/xml", true), // ANDROID parser
31+
JSON("application/json", true),
32+
;
3133
private final String identifier;
3234
private final String mimeType;
3335
private final boolean isTextFormat;

0 commit comments

Comments
 (0)