String localization guidelines
- Use
woocommercetextdomain in all strings. - When using dynamic strings in printf/sprintf, if you are replacing > 1 string use numbered args. e.g.
Test %s string %s.would beTest %1$s string %2$s. - Use sentence case. e.g.
Some Thingshould beSome thing. - Avoid HTML. If needed, insert the HTML using sprintf.
For more information, see WP core document i18n for WordPress Developers.