ClassesBigCommerceAssetsAdminJS Localization

JS_Localization

Class JS_Localization

Provides the localization strings needed for the admin JavaScript files. These strings include messages, button labels, and error messages that are used in the admin UI and are available for translation.

  • Full name: \BigCommerce\Assets\Admin\JS_Localization

Methods

get_data

Stores all text strings needed in the admin scripts.js file

public get_data(): array

The code below is an example of structure. Check the readme js section for more info on how to use.



Automatically generated on 2025-01-21