Translation file magento 2 i18n





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







2















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?










share|improve this question































    2















    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?










    share|improve this question



























      2












      2








      2








      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?










      share|improve this question
















      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






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited yesterday









      magefms

      2,5862426




      2,5862426










      asked 2 days ago









      EddieEddie

      324




      324






















          2 Answers
          2






          active

          oldest

          votes


















          3














          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.






          share|improve this answer































            1














            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:"





            share|improve this answer


























            • 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














            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
            });


            }
            });














            draft saved

            draft discarded


















            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









            3














            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.






            share|improve this answer




























              3














              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.






              share|improve this answer


























                3












                3








                3







                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.






                share|improve this answer













                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.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered yesterday









                magefmsmagefms

                2,5862426




                2,5862426

























                    1














                    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:"





                    share|improve this answer


























                    • 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


















                    1














                    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:"





                    share|improve this answer


























                    • 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
















                    1












                    1








                    1







                    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:"





                    share|improve this answer















                    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:"






                    share|improve this answer














                    share|improve this answer



                    share|improve this answer








                    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





















                    • 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




















                    draft saved

                    draft discarded




















































                    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.




                    draft saved


                    draft discarded














                    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





















































                    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







                    Popular posts from this blog

                    What other Star Trek series did the main TNG cast show up in?

                    Berlina muro

                    Berlina aerponto