Background
We have a custom application which we need to support in multiple languages. Visualforce is our main UI framework.
For internationalization we will use Custom Labels. One of the possible formats we would like to use is as follows:
"Admin sent file1.pdf to the following recipients:"
Note that Admin
and file1.pdf
should be bold.
I tried creating a custom label with value:
And the result is kind of "expected":
Question
Is it possible, if at all, to use Custom Labels and format part of its text in bold?
Best Answer
If you're displaying it in Visualforce maybe try something like:
An alternative would be to create multiple labels for the different parts of the string and then manually bold them yourself.
For instance you'd have labels for the following text:
Then output the text in chucnks:
My concern here would be translation as it would be seen as two seperate... sentences? which could create issues in grammar.