String localization #30

Closed
opened 2025-10-14 15:56:00 -06:00 by navan · 0 comments
Owner

Originally created by @Meyssam120 on 12/15/2023

No

What solution would you like?

It would be great if Strings I enter as title, subtitle etc. would be localized automatically.

What alternatives have you considered?

This does not work: title: WhatsNew.Title(stringLiteral: .init(localized: "Lorem Ipsum"))
And instead I have to use: title: "Lorem Ipsum?"

Any additional context?

Fyi: String(localized: ) does not change the string except you plan to translate it on purpose. So it will not lead to unintended behavior.

*Originally created by @Meyssam120 on 12/15/2023* ### Is your feature request related to a problem? No ### What solution would you like? It would be great if Strings I enter as title, subtitle etc. would be localized automatically. ### What alternatives have you considered? This does not work: `title: WhatsNew.Title(stringLiteral: .init(localized: "Lorem Ipsum"))` And instead I have to use: `title: "Lorem Ipsum?"` ### Any additional context? Fyi: `String(localized: )` does not change the string except you plan to translate it on purpose. So it will not lead to unintended behavior.
navan 2025-10-14 15:56:00 -06:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github/WhatsNewKit#30
No description provided.