I have a file structure like this:
- page123
-- en
---content.md
-- es
---content.md
-- de
---content.md
- page234
-- en
---content.md
-- es
---content.md
-- de
---content.md
The dummy way is to create multiple filters for each folder. I Can generate it by script.
But maybe there is a shorter way to do this.
For one folder:
filters:
- filter_type: dir
file_format: GITHUBMARKDOWN
source_file_extension: md
source_language: en
source_file_dir: page123/en
translation_files_expression: 'page123/<lang>'
I made a script to generate YAML
Hello @Viktor_Bogutskii ,
Thank you for reaching out to Transifex community.
According to your question, you can use the dir mode like you shared above
filters:
- filter_type: dir
file_format: GITHUBMARKDOWN
source_file_extension: md
source_language: en
source_file_dir: page123/en
translation_files_expression: ‘page123/’
However, I am not sure if you finally have an issue, or what do you want to add with your last post “I made a script to generate YAML”
Looking forward to your response.
Kind regards,
Panagiotis
Resolved. Everything good
Hello @Viktor_Bogutskii ,
Thank you for your message. Nice to hear this!
Have a nice day!
Kind regards,
Panagiotis