What’s different between _x() and _(). For example: if a1 can translate as:
- a1 has meaning x1;
- a1 has meaning x2;
How _x() function to get value x1 or x2?
What’s different between _x() and _(). For example: if a1 can translate as:
How _x() function to get value x1 or x2?
You must be logged in to post a comment.
_x()
let’s you add a context to your strings. This is useful when you are using the same string in different places. This string may need different translations depending on the language.Your example would be :
There are more examples in this article.