To modify some texts or translate our plugin into your language, you can choose one of these ways:
1. Modify some texts
If you would like to simply modify some texts in our plugin to your preferences, you can add the below custom code (How to add custom code?):
add_filter( 'gettext', function ( $translation, $text ) {
if ( $text === 'Qty:' ) {
return 'Cant:';
}
if ( $text === 'Original text' ) {
return 'Your text';
}
return $translation;
}, 99, 2 );
2. Translate plugin
To translate all the text strings in our plugin to another language, you can kindly install and activate the Loco Translate plugin. Then, navigate to Loco Translate >> Plugins >> choose the plugin you want to translate then click New language >> Start translating.
Before translating, please remember to press the Sync button to ensure that all strings are up to date.





