Translation file magento 2 i18n
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
I'm trying to change "Excl. Tax:" to "Excl. Vat:" and have created a CSV file called en_GB.csv which contains the line - "Tax:", "Vat:".
I've saved and uploaded this to app/design/frontend/Magento/luma/i18n/en_GB.csv.
The translation hasn't worked as my store still shows "Excl. Tax".
I've deployed static files and run the upgrade command too.
Not too sure what to try next?
tax localisation vat i18n
add a comment |
I'm trying to change "Excl. Tax:" to "Excl. Vat:" and have created a CSV file called en_GB.csv which contains the line - "Tax:", "Vat:".
I've saved and uploaded this to app/design/frontend/Magento/luma/i18n/en_GB.csv.
The translation hasn't worked as my store still shows "Excl. Tax".
I've deployed static files and run the upgrade command too.
Not too sure what to try next?
tax localisation vat i18n
add a comment |
I'm trying to change "Excl. Tax:" to "Excl. Vat:" and have created a CSV file called en_GB.csv which contains the line - "Tax:", "Vat:".
I've saved and uploaded this to app/design/frontend/Magento/luma/i18n/en_GB.csv.
The translation hasn't worked as my store still shows "Excl. Tax".
I've deployed static files and run the upgrade command too.
Not too sure what to try next?
tax localisation vat i18n
I'm trying to change "Excl. Tax:" to "Excl. Vat:" and have created a CSV file called en_GB.csv which contains the line - "Tax:", "Vat:".
I've saved and uploaded this to app/design/frontend/Magento/luma/i18n/en_GB.csv.
The translation hasn't worked as my store still shows "Excl. Tax".
I've deployed static files and run the upgrade command too.
Not too sure what to try next?
tax localisation vat i18n
tax localisation vat i18n
edited yesterday
magefms
2,5862426
2,5862426
asked 2 days ago
EddieEddie
324
324
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
If the manual translation doesn't work, you can try Magento generation of translation dictionary by collecting translatable phrases in Magento 2.3.x.
Since you are configuring a Magento store in en_GB
language. You can collect translatable phrases through this command:
php bin/magento i18n:collect-phrases --output "app/i18n/Magento/en_GB.csv" --magento
After running the above command, you can check and open the file with the collected translatable phrases from this path app/i18n/Magento/en_GB.csv
From there you can find and replace every "Excl. Tax" translatable phrase.
After you finish changing those words, you should run below command:
php bin/magento i18n:pack app/i18n/Magento/en_GB.csv -d en_GB
Flush cache. And your changes will reflect in the frontend.
add a comment |
You need to use full phrase (this one was without ":") :
"Excl. Tax","Excl. Vat"
because it's
data-label="<?php echo $block->escapeHtml(__('Excl. Tax'));?>">
and if You translate for options:
"Excl. Tax:","Excl. Vat:"
its always need to be exact phrase.
Another example from Module_Tax
"Excl. tax:","Excl. VAT:"
Is my path to my file en_GB.csv and file name correct as I've changed the text to "Excl. Tax:", "Excl. Vat" and it hasn't changed the display on my store
– Eddie
yesterday
Yes its correct if You use luma theme, if you use your custom app/design/frontend/YourVendor/YourTheme/i18n/en_GB.csv , only one line is needed "Excl. Tax", "Excl. Vat" , if you dont need any more translations
– BartZalas
yesterday
This is my path app/design/frontend/Magento/luma/i18n/en_GB.csv and I've tried both "Excl. Tax:, Excl. Vat:" & "Excl. Tax, Excl. Vat" (with and without the :'s). I run the commands php bin/magento setup:upgrade & php bin/magento setup:static-content:deploy -f and the store still shows "Excl. Tax:" is there any other command I need to use?
– Eddie
21 hours ago
Do You use inline Magento translation overwrites? Its translation from backend? You can try clean manually cache and later deploy rm -rf var/cache/* var/page_cache/* var/session/* var/view_preprocessed/pub/static/* pub/static/frontend/* generated/code/*
– BartZalas
13 hours ago
One more thing. Be sure that you dont have spaces between comma "," I literally had this problem now with "My Wish List","My Favourites" Your example is with space also.
– BartZalas
11 hours ago
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "479"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f269056%2ftranslation-file-magento-2-i18n%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
If the manual translation doesn't work, you can try Magento generation of translation dictionary by collecting translatable phrases in Magento 2.3.x.
Since you are configuring a Magento store in en_GB
language. You can collect translatable phrases through this command:
php bin/magento i18n:collect-phrases --output "app/i18n/Magento/en_GB.csv" --magento
After running the above command, you can check and open the file with the collected translatable phrases from this path app/i18n/Magento/en_GB.csv
From there you can find and replace every "Excl. Tax" translatable phrase.
After you finish changing those words, you should run below command:
php bin/magento i18n:pack app/i18n/Magento/en_GB.csv -d en_GB
Flush cache. And your changes will reflect in the frontend.
add a comment |
If the manual translation doesn't work, you can try Magento generation of translation dictionary by collecting translatable phrases in Magento 2.3.x.
Since you are configuring a Magento store in en_GB
language. You can collect translatable phrases through this command:
php bin/magento i18n:collect-phrases --output "app/i18n/Magento/en_GB.csv" --magento
After running the above command, you can check and open the file with the collected translatable phrases from this path app/i18n/Magento/en_GB.csv
From there you can find and replace every "Excl. Tax" translatable phrase.
After you finish changing those words, you should run below command:
php bin/magento i18n:pack app/i18n/Magento/en_GB.csv -d en_GB
Flush cache. And your changes will reflect in the frontend.
add a comment |
If the manual translation doesn't work, you can try Magento generation of translation dictionary by collecting translatable phrases in Magento 2.3.x.
Since you are configuring a Magento store in en_GB
language. You can collect translatable phrases through this command:
php bin/magento i18n:collect-phrases --output "app/i18n/Magento/en_GB.csv" --magento
After running the above command, you can check and open the file with the collected translatable phrases from this path app/i18n/Magento/en_GB.csv
From there you can find and replace every "Excl. Tax" translatable phrase.
After you finish changing those words, you should run below command:
php bin/magento i18n:pack app/i18n/Magento/en_GB.csv -d en_GB
Flush cache. And your changes will reflect in the frontend.
If the manual translation doesn't work, you can try Magento generation of translation dictionary by collecting translatable phrases in Magento 2.3.x.
Since you are configuring a Magento store in en_GB
language. You can collect translatable phrases through this command:
php bin/magento i18n:collect-phrases --output "app/i18n/Magento/en_GB.csv" --magento
After running the above command, you can check and open the file with the collected translatable phrases from this path app/i18n/Magento/en_GB.csv
From there you can find and replace every "Excl. Tax" translatable phrase.
After you finish changing those words, you should run below command:
php bin/magento i18n:pack app/i18n/Magento/en_GB.csv -d en_GB
Flush cache. And your changes will reflect in the frontend.
answered yesterday
magefmsmagefms
2,5862426
2,5862426
add a comment |
add a comment |
You need to use full phrase (this one was without ":") :
"Excl. Tax","Excl. Vat"
because it's
data-label="<?php echo $block->escapeHtml(__('Excl. Tax'));?>">
and if You translate for options:
"Excl. Tax:","Excl. Vat:"
its always need to be exact phrase.
Another example from Module_Tax
"Excl. tax:","Excl. VAT:"
Is my path to my file en_GB.csv and file name correct as I've changed the text to "Excl. Tax:", "Excl. Vat" and it hasn't changed the display on my store
– Eddie
yesterday
Yes its correct if You use luma theme, if you use your custom app/design/frontend/YourVendor/YourTheme/i18n/en_GB.csv , only one line is needed "Excl. Tax", "Excl. Vat" , if you dont need any more translations
– BartZalas
yesterday
This is my path app/design/frontend/Magento/luma/i18n/en_GB.csv and I've tried both "Excl. Tax:, Excl. Vat:" & "Excl. Tax, Excl. Vat" (with and without the :'s). I run the commands php bin/magento setup:upgrade & php bin/magento setup:static-content:deploy -f and the store still shows "Excl. Tax:" is there any other command I need to use?
– Eddie
21 hours ago
Do You use inline Magento translation overwrites? Its translation from backend? You can try clean manually cache and later deploy rm -rf var/cache/* var/page_cache/* var/session/* var/view_preprocessed/pub/static/* pub/static/frontend/* generated/code/*
– BartZalas
13 hours ago
One more thing. Be sure that you dont have spaces between comma "," I literally had this problem now with "My Wish List","My Favourites" Your example is with space also.
– BartZalas
11 hours ago
add a comment |
You need to use full phrase (this one was without ":") :
"Excl. Tax","Excl. Vat"
because it's
data-label="<?php echo $block->escapeHtml(__('Excl. Tax'));?>">
and if You translate for options:
"Excl. Tax:","Excl. Vat:"
its always need to be exact phrase.
Another example from Module_Tax
"Excl. tax:","Excl. VAT:"
Is my path to my file en_GB.csv and file name correct as I've changed the text to "Excl. Tax:", "Excl. Vat" and it hasn't changed the display on my store
– Eddie
yesterday
Yes its correct if You use luma theme, if you use your custom app/design/frontend/YourVendor/YourTheme/i18n/en_GB.csv , only one line is needed "Excl. Tax", "Excl. Vat" , if you dont need any more translations
– BartZalas
yesterday
This is my path app/design/frontend/Magento/luma/i18n/en_GB.csv and I've tried both "Excl. Tax:, Excl. Vat:" & "Excl. Tax, Excl. Vat" (with and without the :'s). I run the commands php bin/magento setup:upgrade & php bin/magento setup:static-content:deploy -f and the store still shows "Excl. Tax:" is there any other command I need to use?
– Eddie
21 hours ago
Do You use inline Magento translation overwrites? Its translation from backend? You can try clean manually cache and later deploy rm -rf var/cache/* var/page_cache/* var/session/* var/view_preprocessed/pub/static/* pub/static/frontend/* generated/code/*
– BartZalas
13 hours ago
One more thing. Be sure that you dont have spaces between comma "," I literally had this problem now with "My Wish List","My Favourites" Your example is with space also.
– BartZalas
11 hours ago
add a comment |
You need to use full phrase (this one was without ":") :
"Excl. Tax","Excl. Vat"
because it's
data-label="<?php echo $block->escapeHtml(__('Excl. Tax'));?>">
and if You translate for options:
"Excl. Tax:","Excl. Vat:"
its always need to be exact phrase.
Another example from Module_Tax
"Excl. tax:","Excl. VAT:"
You need to use full phrase (this one was without ":") :
"Excl. Tax","Excl. Vat"
because it's
data-label="<?php echo $block->escapeHtml(__('Excl. Tax'));?>">
and if You translate for options:
"Excl. Tax:","Excl. Vat:"
its always need to be exact phrase.
Another example from Module_Tax
"Excl. tax:","Excl. VAT:"
edited 11 hours ago
answered 2 days ago
BartZalasBartZalas
560312
560312
Is my path to my file en_GB.csv and file name correct as I've changed the text to "Excl. Tax:", "Excl. Vat" and it hasn't changed the display on my store
– Eddie
yesterday
Yes its correct if You use luma theme, if you use your custom app/design/frontend/YourVendor/YourTheme/i18n/en_GB.csv , only one line is needed "Excl. Tax", "Excl. Vat" , if you dont need any more translations
– BartZalas
yesterday
This is my path app/design/frontend/Magento/luma/i18n/en_GB.csv and I've tried both "Excl. Tax:, Excl. Vat:" & "Excl. Tax, Excl. Vat" (with and without the :'s). I run the commands php bin/magento setup:upgrade & php bin/magento setup:static-content:deploy -f and the store still shows "Excl. Tax:" is there any other command I need to use?
– Eddie
21 hours ago
Do You use inline Magento translation overwrites? Its translation from backend? You can try clean manually cache and later deploy rm -rf var/cache/* var/page_cache/* var/session/* var/view_preprocessed/pub/static/* pub/static/frontend/* generated/code/*
– BartZalas
13 hours ago
One more thing. Be sure that you dont have spaces between comma "," I literally had this problem now with "My Wish List","My Favourites" Your example is with space also.
– BartZalas
11 hours ago
add a comment |
Is my path to my file en_GB.csv and file name correct as I've changed the text to "Excl. Tax:", "Excl. Vat" and it hasn't changed the display on my store
– Eddie
yesterday
Yes its correct if You use luma theme, if you use your custom app/design/frontend/YourVendor/YourTheme/i18n/en_GB.csv , only one line is needed "Excl. Tax", "Excl. Vat" , if you dont need any more translations
– BartZalas
yesterday
This is my path app/design/frontend/Magento/luma/i18n/en_GB.csv and I've tried both "Excl. Tax:, Excl. Vat:" & "Excl. Tax, Excl. Vat" (with and without the :'s). I run the commands php bin/magento setup:upgrade & php bin/magento setup:static-content:deploy -f and the store still shows "Excl. Tax:" is there any other command I need to use?
– Eddie
21 hours ago
Do You use inline Magento translation overwrites? Its translation from backend? You can try clean manually cache and later deploy rm -rf var/cache/* var/page_cache/* var/session/* var/view_preprocessed/pub/static/* pub/static/frontend/* generated/code/*
– BartZalas
13 hours ago
One more thing. Be sure that you dont have spaces between comma "," I literally had this problem now with "My Wish List","My Favourites" Your example is with space also.
– BartZalas
11 hours ago
Is my path to my file en_GB.csv and file name correct as I've changed the text to "Excl. Tax:", "Excl. Vat" and it hasn't changed the display on my store
– Eddie
yesterday
Is my path to my file en_GB.csv and file name correct as I've changed the text to "Excl. Tax:", "Excl. Vat" and it hasn't changed the display on my store
– Eddie
yesterday
Yes its correct if You use luma theme, if you use your custom app/design/frontend/YourVendor/YourTheme/i18n/en_GB.csv , only one line is needed "Excl. Tax", "Excl. Vat" , if you dont need any more translations
– BartZalas
yesterday
Yes its correct if You use luma theme, if you use your custom app/design/frontend/YourVendor/YourTheme/i18n/en_GB.csv , only one line is needed "Excl. Tax", "Excl. Vat" , if you dont need any more translations
– BartZalas
yesterday
This is my path app/design/frontend/Magento/luma/i18n/en_GB.csv and I've tried both "Excl. Tax:, Excl. Vat:" & "Excl. Tax, Excl. Vat" (with and without the :'s). I run the commands php bin/magento setup:upgrade & php bin/magento setup:static-content:deploy -f and the store still shows "Excl. Tax:" is there any other command I need to use?
– Eddie
21 hours ago
This is my path app/design/frontend/Magento/luma/i18n/en_GB.csv and I've tried both "Excl. Tax:, Excl. Vat:" & "Excl. Tax, Excl. Vat" (with and without the :'s). I run the commands php bin/magento setup:upgrade & php bin/magento setup:static-content:deploy -f and the store still shows "Excl. Tax:" is there any other command I need to use?
– Eddie
21 hours ago
Do You use inline Magento translation overwrites? Its translation from backend? You can try clean manually cache and later deploy rm -rf var/cache/* var/page_cache/* var/session/* var/view_preprocessed/pub/static/* pub/static/frontend/* generated/code/*
– BartZalas
13 hours ago
Do You use inline Magento translation overwrites? Its translation from backend? You can try clean manually cache and later deploy rm -rf var/cache/* var/page_cache/* var/session/* var/view_preprocessed/pub/static/* pub/static/frontend/* generated/code/*
– BartZalas
13 hours ago
One more thing. Be sure that you dont have spaces between comma "," I literally had this problem now with "My Wish List","My Favourites" Your example is with space also.
– BartZalas
11 hours ago
One more thing. Be sure that you dont have spaces between comma "," I literally had this problem now with "My Wish List","My Favourites" Your example is with space also.
– BartZalas
11 hours ago
add a comment |
Thanks for contributing an answer to Magento Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f269056%2ftranslation-file-magento-2-i18n%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown