Paths are not correct

Hi,

Im having issues with the export path

The problem is that the exported file is on the folder

sv-SE/src/MicroweberPackages/Translation/resources/lang/sv_SE.json
ro/src/MicroweberPackages/Translation/resources/lang/ro_RO.json

here is my yml file

preserve_hierarchy: 1
files:

  • source: src/MicroweberPackages/Translation/resources/lang/en_US.json
    translation: src/MicroweberPackages/Translation/resources/lang/%locale_with_underscore%.%file_extension%
    first_line_contains_header:
    scheme: ‘source_phrase,translation’

I need the file to be on

src/MicroweberPackages/Translation/resources/lang/ro_RO.json
src/MicroweberPackages/Translation/resources/lang/sv_SE.json

Please help

Hello @peter-mw

Try adding a slash at the beginning, it should look like this one

/src/MicroweberPackages/Translation/resources/lang/en_US.json
/src/MicroweberPackages/Translation/resources/lang/%locale_with_underscore%.%file_extension%

More information can be found here:

Thank you for the clarification