I used BartyCrouch + SwiftGen with 'L10n' – how do I migrate the calls? #56
-
I followed the old Pro workflow and used SwiftGen in combination with BartyCrouch to localize my keys and I have hundreds of |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Yes, there certainly is a better way. Two of them, actually: First, there's this feature request for providing a button that automatically migrates all the code over for you. Make sure to upvote on it (👍) so I can prioritize accordingly. But in the meantime, you can make use of Xcode's find & replace functionality, here's a step-by-step guide with a well-tested Regex:
See also the following screenshots to help find the right places: If you have any questions or things don't work, please report here! |
Beta Was this translation helpful? Give feedback.
Yes, there certainly is a better way. Two of them, actually:
First, there's this feature request for providing a button that automatically migrates all the code over for you. Make sure to upvote on it (👍) so I can prioritize accordingly.
But in the meantime, you can make use of Xcode's find & replace functionality, here's a step-by-step guide with a well-tested Regex: