-
I expect the formatter to first replace {status} with the corresponding text from the dictionary, and then translate the resulting text into another language. TemplateFormatter is not an option for me because there may be many cases for status. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
How to use nested placeholders in LocalizationFormatter is described here in the Wiki. In effect it works in the same way as Localization in .NET. So you can add placeholders for variables, but the variables' values don't become a part of the text to translate. Localization is for literals. |
Beta Was this translation helpful? Give feedback.
-
@axunonb can functionality of parameterized localization as described in the example presented by @fm119 can be supported after extending LocalizationFormatter; will you accept a pr with such an extension? |
Beta Was this translation helpful? Give feedback.
-
Sure. There was another PR pending (support for |
Beta Was this translation helpful? Give feedback.
How to use nested placeholders in LocalizationFormatter is described here in the Wiki. In effect it works in the same way as Localization in .NET. So you can add placeholders for variables, but the variables' values don't become a part of the text to translate. Localization is for literals.