Skip to content

Commit

Permalink
Change Crowdin config to flatten the directory structure (#95)
Browse files Browse the repository at this point in the history
* Add `preserve_hierarchy: false` to Crowdin config

* Change Crowdin config to flatten the directory structure

* `preserve_hierarchy` needs to be `true` for `dest` to work
  • Loading branch information
benface authored Mar 22, 2022
1 parent 4b22ff6 commit 1be083a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions crowdin.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
preserve_hierarchy: true
files:
- source: /pages/en/**/*.mdx
translation: /pages/%two_letters_code%/**/%original_file_name%
dest: /**/%original_file_name%
content_segmentation: 0
- source: /pages/en/**/*.json
translation: /pages/%two_letters_code%/**/%original_file_name%
dest: /**/%original_file_name%
content_segmentation: 0

0 comments on commit 1be083a

Please sign in to comment.