I believe the function signature of localized will need to match the function signature of NSLocalizedString for genstrings to pick up the strings from code.
I have re-made my function:
localized(_ key: String, tableName: String? = nil, bundle: Bundle = Bundle.main, value: String = "", comment: String = "") - String
Still getting the same errors :(
Our recommendation is that you should always include in a comment to localizers for context; hence why this property is required for NSLocalizedString in Swift.
Thanks for the advice, but it's a deliberate decision. I am a localizer for the app.
Instead of the func, you could define String extension, with a property or a func
I thought about it, but writing "bla-bla-bla".localized looks ugly for my taste.
Post
Replies
Boosts
Views
Activity
I found a solution, i sent a email to devprograms@apple.com to tell them my struggles.
Before that, I signed up in https://appleid.apple.com/ and I saved my credit card(the sixteen number and the CVV). I told them to purchase the Apple Developer Program membership using my credit card saved and it's work. Have tried that. As I suspected, Apple ignored my email... Frustration skyrocketed like a Space X ship...
Well, at least they provided you with mail that something had gone wrong.
Sent a bug report, but Apple will ignore it too, probably...
This is literally the worst experience I have ever had with Apple. Really, support is just ignoring me.
There will be no help here unfortunately. Customer support doesn’t pay any attention to this topic. Just open a ticket, maybe a lot of tickets will push this somewhere...
So, I tried 3 different devices with several different browsers, same Apple ID though. I even mailed Craid Federighi...
No charge request, no dev program, no several months of my life. Stopped all investment in that.
Count me in :( 2 cards (visa and MasterCard) - 0 effect. I feel like I waisted several months of my life for nothing.