All Questions
Tagged with internationalization localisation
6 questions
0
votes
1
answer
908
views
Magento2 language/locale not working
So I installed Magento 2.4 via docker/composer on my development machine.
I am trying to use the German (Germany) language for my store front view. I tried with just the default setup, I also tried ...
2
votes
1
answer
726
views
How to translate text in shipping-estimation.html
I need to translate the text Enter your billing address to get a tax estimate. in vendor\magento\module-checkout\view\frontend\web\template\cart\shipping-estimation.html
It is a text showing in the ...
1
vote
1
answer
8k
views
How to translate PHTML text including html markup
I'm familiar with how to translate strings including variables such as
<?php echo sprintf(__('Hello %s'), $yourVariable) ?>
So what's the cleanest way to translate this example in a PHTML ...
1
vote
0
answers
679
views
Multistore (languages) on one and the same domain (no subdirectories or subdomains)
we have several stores. All with several languages. Now I was wondering why we dont just serve all these stores using 1 domain? (no storecode, no subdirectory)
Question: Why would this not be an ...
2
votes
3
answers
976
views
Translation lookup keys are prefixed by module name
I'm in the process of writing my first module, which is also my first multi-language module. I've created the CSV files for the translation and fed them with an array of sentences I use using
$this-&...
0
votes
2
answers
98
views
Analyse existing codebase for localization readiness
I have a recollection of seeing a tool or script that could analyse a legacy Magento project (custom theme and modules) to check for non-i18n code.
The concept of a regex to find strings that are ...