-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Hi,
I'm not sure whether this is a bug or it's just a wrong use case from my side, but I'll go and explain it, because it'd be great in my case to have this working.
In my SwiftUI app, I have ALL my texts in the views like Text("SavedJobsTabTitle".localized)
. This means that XCLocalizer doesn't detect them properly. Also, I can't add all the views I have in my app, one by one, because it would be crazy.
So what I do is I do is going to Edit strings
on the left menu column, then Open project
and I open the folder where my *.lproj
files are. So far so good, but as an example of what my en.lproj, I have "WriteReview" = "Write a review";
which means that the string that should be translated is Write a review
, but instead XCLocalizer translates WriteReview
.
This means that if I click in Re-Generate translations
, the translations should be automatically re-generated, including for the empty .strings
files that I have created following the onboarding instructions (in my case, French and Italian), but since it's translating from the wrong string (WriteReview
instead of Write a review
) it just breaks the translations I already have.
Please let me know if it's me doing the wrong or this is a bug, but I really appreciate the product because it'll help me localize everything and reach a broader audience :)
Thanks!