You can use the Localization Application for life site items without issue. You simply use similar code:
ResHelper.GetString("your.custom.localization.key.name")
For things like E-Commerce Public Statuses, follow the directions below:
- Go to Public Statuses
- Click
New public status
- Click in the Display name field and a
+
will show in the bottom right. Click the +
to add a new localization string. I suggest being descriptive and creating it like a namespace like custom.ecomm.publicstatus.one
or custom.ecomm.publicstatus.two
.
- Click
Save & Close
- In the next window, you add your localization values to the key you just added. Click
Save & Close
.
- Reference the statuses in code using the
ResHelper.GetString(...)
method with your keyname as a parameter.
- Moving forward, you can use the Localization application to modify your public statuses or even add new localization key and select it when you localize a field.