Skip to content

Format output arb file name #2902

Closed Answered by JanCizmar
gsawczuk asked this question in Q&A
Discussion options

You must be logged in to vote

Hello!

Thanks for reaching out! 🚀

This can be definitely done by pull.fileStructureTemplate configuration option:

I believe your config should look like this:

{
   "$schema": "https://docs.tolgee.io/cli-schema.json",
   "projectId": 123,
   "format": "FLUTTER_ARB",
   "push": {
       "files": [{
         "path": "./lib/l10n/intl_de.arb",
         "language": "de"
       }],
       "forceMode": "OVERRIDE"
   },
   "pull": {
     "path": "./lib/l10n",
     "fileStructureTemplate": "int_{languageTag}.{extension}"
   }
 }

I haven't tested the configuration though

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by JanCizmar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants