Closed molind closed 9 months ago
I think we don’t support "dots" in the folder name like en.lproj
Is there a way to use it with iOS project? Escape dots somehow?
Any news on this? It's part of readme for cli. It says that it's supported and should work, but it doesn't. :) Sounds like a bug for me.
"namePattern": "file",
"format": "strings",
"source": "Resources/Languages/en.lproj/Localisable.strings",
"target": "Resources/Languages/%slug%.lproj/%document_path%.strings"
checked on accent-cli/0.14.2
today.
upd. First time I synced and it created en.lproj.strings. I deleted it on server and synced again. After second sync no new files was created on server.
I just added a working example for this exact config in the cli
folder. I tested it locally and everything synced (with a small missing log error that I also fixed in master
)
When I try to sync that file it writes to
Resources/Languages/en.lproj/en.lproj.strings
looks like it overwrites somewheredocument_path
with value fromslug
.