The official website for Plume
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

136 lines
3.0 KiB

2 years ago
2 years ago
2 years ago
2 years ago
  1. #
  2. # Your Crowdin credentials
  3. #
  4. "project_id" : "357303"
  5. "api_token_env": "CROWDIN_PERSONAL_TOKEN"
  6. "base_path" : "."
  7. "base_url" : "https://api.crowdin.com"
  8. #
  9. # Choose file structure in Crowdin
  10. # e.g. true or false
  11. #
  12. "preserve_hierarchy": true
  13. #
  14. # Files configuration
  15. #
  16. files: [
  17. {
  18. #
  19. # Source files filter
  20. # e.g. "/resources/en/*.json"
  21. #
  22. "source" : "/trans/index.html",
  23. #
  24. # Where translations will be placed
  25. # e.g. "/resources/%two_letters_code%/%original_file_name%"
  26. #
  27. "translation" : "/trans/%two_letters_code%/%original_file_name%",
  28. #
  29. # Files or directories for ignore
  30. # e.g. ["/**/?.txt", "/**/[0-9].txt", "/**/*\?*.txt"]
  31. #
  32. #"ignore" : [],
  33. #
  34. # The dest allows you to specify a file name in Crowdin
  35. # e.g. "/messages.json"
  36. #
  37. #"dest" : "",
  38. #
  39. # File type
  40. # e.g. "json"
  41. #
  42. #"type" : "",
  43. #
  44. # The parameter "update_option" is optional. If it is not set, after the files update the translations for changed strings will be removed. Use to fix typos and for minor changes in the source strings
  45. # e.g. "update_as_unapproved" or "update_without_changes"
  46. #
  47. #"update_option" : "",
  48. #
  49. # Start block (for XML only)
  50. #
  51. #
  52. # Defines whether to translate tags attributes.
  53. # e.g. 0 or 1 (Default is 1)
  54. #
  55. # "translate_attributes" : 1,
  56. #
  57. # Defines whether to translate texts placed inside the tags.
  58. # e.g. 0 or 1 (Default is 1)
  59. #
  60. # "translate_content" : 1,
  61. #
  62. # This is an array of strings, where each item is the XPaths to DOM element that should be imported
  63. # e.g. ["/content/text", "/content/text[@value]"]
  64. #
  65. # "translatable_elements" : [],
  66. #
  67. # Defines whether to split long texts into smaller text segments
  68. # e.g. 0 or 1 (Default is 1)
  69. #
  70. # "content_segmentation" : 1,
  71. #
  72. # End block (for XML only)
  73. #
  74. #
  75. # Start .properties block
  76. #
  77. #
  78. # Defines whether single quote should be escaped by another single quote or backslash in exported translations
  79. # e.g. 0 or 1 or 2 or 3 (Default is 3)
  80. # 0 - do not escape single quote;
  81. # 1 - escape single quote by another single quote;
  82. # 2 - escape single quote by backslash;
  83. # 3 - escape single quote by another single quote only in strings containing variables ( {0} ).
  84. #
  85. # "escape_quotes" : 3,
  86. #
  87. # Defines whether any special characters (=, :, ! and #) should be escaped by backslash in exported translations.
  88. # e.g. 0 or 1 (Default is 0)
  89. # 0 - do not escape special characters
  90. # 1 - escape special characters by a backslash
  91. #
  92. # "escape_special_characters": 0
  93. #
  94. #
  95. # End .properties block
  96. #
  97. #
  98. # Often software projects have custom names for the directories where translations are placed. crowdin-cli allows you to map your own languages to be understandable by Crowdin.
  99. #
  100. #"languages_mapping" : {
  101. # "two_letters_code" : {
  102. # "crowdin_language_code" : "local_name"
  103. # }
  104. #},
  105. #
  106. # Does the first line contain header?
  107. # e.g. true or false
  108. #
  109. #"first_line_contains_header" : true,
  110. #
  111. # for spreadsheets
  112. # e.g. "identifier,source_phrase,context,uk,ru,fr"
  113. #
  114. # "scheme" : "",
  115. }
  116. ]