Product
Store demo
Showcase
Features
Why for developers
Why for store owners
Industries
Fashion
Health & Beauty
Food & Beverage
Automotive
Industrial & Scientific
Furniture
B2B eCommerce
International
Downloads
Download nopCommerce
Marketplace
Translations
Copyright removal key
Mobile application
Web API
Support & services
Training
Documentation
Community forums
Premium support services
Request a quote
Contact us
Partners
English
English
Español
Deutsch
Russian
Français
Italiano
Português
Türkçe
简体中文
日本語
Tiếng Việt
Get started
Shopping cart
My account
Log in
Register
Home
>
Forums
>
General
>
General Support
>
Using Language Resources in Message Templates
Using Language Resources in Message Templates
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
[email protected]
Total Posts:
18
Karma:
105
Joined:
7/26/2017
Location:
Australia
Posted:
4 years ago
Hi,
Is it possible to access a pre-defined string value in Message Templates?
Exp: <h1>%resources:welcome.newyear%</h1> ==> <h1>Happy new year</h1> for example in Email Invoice or whatever
Regrds
Yidna
MVP
Certified Developer
Total Posts:
3947
Karma:
35232
Joined:
2/8/2010
Location:
Australia
Posted:
4 years ago
You can only use the defined tokens
If you want to create new tokens edit nop42\Libraries\Nop.Services\Messages\MessageTokenProvider.cs
wooncherk
MVP
Total Posts:
2128
Karma:
19233
Joined:
11/6/2009
Location:
Malaysia
Posted:
4 years ago
Why do you want to do that? What's the specific problem that you want to solve? :)
[email protected]
Total Posts:
18
Karma:
105
Joined:
7/26/2017
Location:
Australia
Posted:
4 years ago
wooncherk wrote:
Why do you want to do that? What's the specific problem that you want to solve? :)
I have to use specific texts in invoice which should printed in invoice language
[email protected]
Total Posts:
18
Karma:
105
Joined:
7/26/2017
Location:
Australia
Posted:
4 years ago
Yidna wrote:
You can only use the defined tokens
If you want to create new tokens edit nop42\Libraries\Nop.Services\Messages\MessageTokenProvider.cs
Worked like a charm 👏👌
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
Still have questions or need help?
.
Premium support services
.
Get dedicated support from the nopCommerce team with a guaranteed response within 24 hours.
.
Online course for developers
.
Get the practical and technical skills you need to run and customize nopCommerce websites.