Closed CavalcanteLeo closed 2 years ago
Hi @CavalcanteLeo, thank you for reporting this issue. I just checked your details and it really looks like exactly the same issue as #133, but let's elaborate together a bit more. From what it looks, all seems correctly configured, although you didn't set any paths like strongly recommended in the README (the "." path causes problems for some people, but there's no other sensible default I could imagine).
Could you please try providing a minimum demo sample that I can investigate? I am actually currently streaming while writing these sentences and I might just check your project in my next stream, Friday next week at 3 PM (CET), so feel free to provide more details and join me while I'm having a look so you can learn directly or provide more info / ask questions in chat. I'll add the timecode where I looked at your issue here later.
This comment was written during my regular Open Source live stream on Twitch. Follow me there to support my work!
Dude, i don't even know u, but i already love u, after i added localizablePaths
it works, and this mtf project is a time saver that save a lot of work (and time)
[update.transform]
codePaths = ["."]
localizablePaths = ["LitiSaude/Resources/Localization/LocalizableStrings"]
subpathsToIgnore = [".git", "carthage", "pods", "build", ".build", "docs"]
supportedLanguageEnumPath = "LitiSaude/Resources/Localization/"
transformer = "swiftgenStructured" # foundation | swiftgenStructured
translateMethodName = "translate"
typeName = "BartyCrouch"
also, i'd love to watch u on Twitch, but i will be flying at the exactly time (heading to cupertino for WWDC)
I'm getting empties string value when combining BartyCrouch and SwiftGen, it shows me this error:
error:
and my string files are empty like this:
all my configs:
.bartycrouch.toml
:I also tried to change the supportedLanguageEnumPath
swiftgen
BartyCrouch.swift
and the Strings.swift (for swiftgen):
a little related to this https://github.com/FlineDev/BartyCrouch/issues/133