Conversation
|
Thanks @Sufi-Al-Hussaini. I like this syntax a lot! We will need to add this to the Swift genstrings script too (the python string will be eventually deprecated). |
|
You're welcome @marmelroy . And thank you for this cool library. Meanwhile, I was wondering if it would be better to have a chained |
|
It would be great to add comments to all localized strings Could you also provide an opportunity to parse args that are passed to localizedFormat function and add them to comment, or something like this? |
|
My 2¢ |
|
@nekrich - I'd go with let localizedTitle = "Some title".localized("title for a view")
// read as: some title string is localized title for a viewThe table name can be added as a second parameter with a let localizedTitle = "Some title".localized("title for a view", from: "some table")
// read as: some title is localized title for a view from some table |
No description provided.