Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Formatting only part of a string using R.string.localizable #876

Open
nicobelo91 opened this issue Dec 19, 2023 · 0 comments
Open

Formatting only part of a string using R.string.localizable #876

nicobelo91 opened this issue Dec 19, 2023 · 0 comments

Comments

@nicobelo91
Copy link

Let's say I have the following text in the Localizable.swift file:
"name" = "My name is %@";
I'd like to make the part where the name would go bold, so that it would read something like "My name is Mark" whenever I use R.string.localizable.name("Mark").
Is there a way to do that using R.swift?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant