FREE

Translation

Translate Vite Wholesale's admin panel, customer screens and storefront text into any language with Loco Translate, Poedit or WPML.

Everything Vite Wholesale shows, including the admin panel, the customer's My Account → Wholesale tab and the storefront price hints, uses standard WordPress translation files. You can translate it into any language with the tools you already use, with no code changes and no rebuild.

What's included

  • English is the source language.
  • Bengali (bn_BD) and Hindi (hi_IN) translations ship with the plugin.
  • A translation template, vitewholesale.pot, is included in the plugin's languages folder for creating new languages.

The plugin's text domain is vitewholesale. Vite Wholesale Pro uses its own text domain, vitewholesalepro, for its own strings.

Which language is shown

  • Admin panel: follows each user's own language. If a user sets Users → Profile → Language, that user sees the ViteWholesale panel in that language, while others keep the site language.
  • Storefront and My Account: follow your site language under Settings → General → Site Language.

Translate with Loco Translate

  1. Install and activate the Loco Translate plugin.
  2. Go to Loco Translate → Plugins and open Vite Wholesale.
  3. Click New language, choose your language, and pick a save location. We recommend the WordPress languages folder, because it's kept when the plugin updates.
  4. Translate the strings and click Save.

Vite Wholesale picks up saved translations automatically, including the admin panel text.

Translate with Poedit

  1. Open vitewholesale.pot from the plugin's languages folder in Poedit and create a new translation.
  2. Translate the strings and save. Poedit creates a .po and a .mo file.
  3. Name the files with the text domain and your locale code, for example vitewholesale-fr_FR.po and vitewholesale-fr_FR.mo.
  4. Upload them to wp-content/languages/plugins/.

Translate with WPML

Use WPML's string translation tools to translate the vitewholesale text domain the same way you translate other plugins.

Where to save translations

Vite Wholesale looks for translation files in these places:

  • wp-content/languages/plugins/, where Loco Translate and WordPress language packs save files
  • wp-content/languages/loco/plugins/, Loco Translate's custom location
  • The plugin's own languages folder

Don't save your own translations in the plugin's folder. WordPress replaces that folder on every plugin update, so your changes would be lost.

Numbers in your language

Some languages write numbers with their own digits. Vite Wholesale's panels treat the digit list as a translatable string. To show local digits, translate the string 0,1,2,3,4,5,6,7,8,9 into your language's ten digits, in order, separated by commas. The bundled Bengali translation already does this.

Things to know

  • Changes apply automatically. When a translation file changes, Vite Wholesale rebuilds the text its screens use on the next page load. You don't need to clear anything in the plugin.
  • Missing strings fall back to English. Any string you haven't translated yet shows in English.
  • Some words come from WooCommerce. WooCommerce translates its own text, such as order statuses, country names and payment method names.
  • Your content isn't translated. Badge titles, pricing rule names and application field labels you type yourself aren't in the translation files. Use your multilingual plugin's tools for content if you need it.