This post is part of the sub-series on Internationalizing a ClassicPress plugin which is part of the Internationalizing a ClassicPress plugin series.
If you have a string containing a parameter, say for example someone making a statement about the number of lights, you can combine your esc_html__
function with sprintf
to switch out a placeholder with the number in a variable:
$str =...
Continue Reading Ian Grieve’s Article on their blog
Internationalizing a ClassicPress plugin: Localizing a string containing a parameter
This post is part of the sub-series on Internationalizing a ClassicPress plugin which is part of the Internationalizing a ClassicPress plugin series.
Blog Syndicated with Ian Grieve’s Permission
More About This Author
Array
- Dyn365GP19 April 2024MADIC dynamics Knowledge Hub Webinars: Jet Reports & Business Central
- Dyn365GP19 April 2024In Microsoft Dynamics 365 Business Central (Administration), how do I… Rename a Company
- Dyn365GP18 April 2024In Microsoft Dynamics 365 Business Central (Administration), how do I… Share a Saved List View
- Dyn365GP17 April 2024Splitting a Table on a Microsoft Dynamics 365 Business Central Word Template