All Questions
4,234 questions
1
vote
2
answers
28
views
magento 2.4 login page meta title does not get localized
I have a multi store view magento where each store view has its own language but I have an issue with translating some pages.
For regular pages (aka pages that I create via backend in Content > ...
0
votes
0
answers
11
views
Customize tier module traductions
Magento documentation says
How the application applies locales
When the locale is changed for a store, the application searches and applies translations in the corresponding dictionaries in the ...
0
votes
0
answers
27
views
Translation not working for StripeIntegration_Payments
I tried to translate Card •••• %1 has been deleted. from StripeIntegration_Payments, but it's not working. I assume it's because of those bullets that should be escaped maybe, but I'm not sure.
My ...
0
votes
0
answers
25
views
Magento 2 Multiple translations
Is it possible to implement multiple translations in a "Magento 2" way?
I have a form on my website where I should have the same language text as a user browser language. How to achieve it?
...
1
vote
0
answers
35
views
I Want to validate condition rule on category page products in magento 2
Here is my Code
public function checkCondition()
{
$categoryId = $this->getRequest()->getParam('id');
$ruleColl = $this->customConditionModel->create()->getCollection();
...
0
votes
1
answer
51
views
Magento 2 PWA setup with Adobe guidance but product images not shown
Refer this
https://developer.adobe.com/commerce/pwa-studio/tutorials/
Run Below command
php bin/magento catalog:images:resize
only shown accessories category images and home page images.
if any has an ...
0
votes
3
answers
97
views
Magento 2 + default url needs to traslate
Need to translate some default URLs like customer/account/login/ & customer/account/create/ is there any way to translate these URLs with/without using URL rewrite?
0
votes
1
answer
50
views
Translating Child Product Names in Magento
I would like to discuss a scenario regarding the translation of child product names in Magento according to their respective store languages.
Currently, we have a Configurable Product with the name &...
0
votes
2
answers
68
views
displaying visual swtach images
I created a visual swatch attribute from admin panel to adding 'brands' for products,In my Main/Store module i created brands.phtml file , and there is a Brands.php file inside Block folder, now ...
0
votes
1
answer
98
views
magento 2.4 get item options default label
On my magento I have different store views and some simple products with customizable options. I also have some custom code that checks the label of these options:
$myvalue = 0;
$options = $item->...
0
votes
1
answer
35
views
Magento 2.4.3 - Translation Issue
I'm trying to translate "Availability %1" to "På lager: %1" and this happens.
Does anyone know why this happens?
3
votes
1
answer
594
views
base table view not found
: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'database_name.users' doesn't exist in C:\xampp\htdocs\training\DB\loginn.php:19 Stack trace: #0 C:\xampp\htdocs\...
0
votes
1
answer
381
views
How to get the locale of the order's store?
I have an order model. How can I get the locale from the store view where the order was created in?
Edit
On some tutorials I found something like
/** @var \Magento\Sales\Model\Order $order */
$order-&...
2
votes
1
answer
243
views
Can you add translation for all modules in 1 file
Is it possible to translate every lines from any modules in one file?
I pulled bin/magento i18n:collect-phrases -o directly in root and got all the lines with their locations ex: ,module,...
0
votes
1
answer
438
views
Magento 2 - javascript translations not working
I got a shop with 4 different languages en/de/fr/it. Now I installed translation modules which have their files under app/i18n additionally I have a custom theme under with language files under app/...
1
vote
0
answers
141
views
Magento 1.9 / OpenMage: sales_flat_quote / sales/quote model fields "is_changed" and "converted_at"
There are two fields in the sales_flat_quote table which appear to do exactly... nothing.
We are building a quote system for our client that uses Magento 1.9, now moved to OpenMage / Magento 1 LTS and ...
0
votes
2
answers
490
views
What is the purpose of the i18n/en_US.csv?
What is the purpose of the i18n/en_US.csv files within modules? As in... how are they specifically used?
I realize it's for the purposes of translations, but I have tested adding translations for ...
0
votes
1
answer
95
views
How to remove fonts.googleapis from magento 1.9?
I have in my theme template file head.phtml, and here is added:
<link href="//fonts.googleapis.com/css?family=Open+Sans:400,300,300italic,400,600,italic,700" rel="stylesheet" ...
0
votes
1
answer
183
views
Overriding a .phtml file in custom theme doesn't work
I've been trying to override D:\Projects\PMM-M2\public_html\vendor\magento\module-checkout\view\frontend\templates\success.phtml by placing the file in my custom theme at location D:\Projects\PMM-M2\...
1
vote
2
answers
1k
views
Magento 2: How can we prevent HTML from being shown in the text that comes from en_US.csv file?
In en-US.csv file in our custom theme, I got a translation as below.
"We'll email you an order confirmation with details and tracking info.","Within 10 minutes we'll send an email to ...
1
vote
0
answers
28
views
How to create non-modularized language packs
What are the structural differences and how do you create the non-modularized language pack? Per https://devdocs.magento.com/guides/v2.4/frontend-dev-guide/translations/xlate.html#m2devgde-xlate-...
0
votes
1
answer
235
views
Magento 2: Translation doesn't works in JS files. Can anyone help on this please?
define(
[
"jquery",
"Magento_Ui/js/modal/modal",
"mage/calendar",
"mage/translate",
], function($, modal){
// also ...
1
vote
0
answers
157
views
French translations are not working in email templates in Magento2
My email content is not translating to french, when admin user perform an action. We have admin form when user saved data we are triggering an email to the user. That respected email should be ...
1
vote
1
answer
265
views
How to translate Maintenance mode page for multiwebsites
I want to translate Magento 2 maintenance page as per country code
Like :-
magento2/it (In the Italian language)
magento2/de (In German)
I tried using csv but it doesn't work even using __('echo the ...
0
votes
1
answer
334
views
Module translation made update safe
What is the correct way to add frontend translation for modules that are installed with composer? The solution should be updated safely. Some extension providers instruct to save the translation file ...
0
votes
3
answers
225
views
Translate "Sorry, no quotes are available for this order at this time"
Since we use table rates and require a city/state/zip, a customer will always see "Sorry, no quotes are available for this order at this time" before choosing their shipping criteria. We ...
0
votes
2
answers
119
views
couldn't start dockergento and pull images
I am trying to setup new project locally but can't pull any docker images, tried on old project and still same issue.
tried restarting everything, re logging in docker etc.
pulled docker-hello ...
0
votes
1
answer
58
views
Cron not working in magento 1
I have Magento 1 store up and running, But I can see the cron job is not working. I can't see any entry in the cron_schedule table. Also when I execute cron.php or cron.sh manually from the command ...
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 ...
0
votes
1
answer
231
views
Convert Magento 1 (migrated) email templates to Magento 2 (variables)
Migrated Magento 1 into Magento 2 does not seem to contain any 'default' Magento 2 email templates (using the Magento 2 migration tool). It only contains the Magento 1 email templates that were ...
2
votes
1
answer
493
views
crc_string field in the translation table
What is the role of the field crc_string in the translation table?
I know what crc is in general, but how is this field used to detect (and maybe correct) errors in the strings, if this is its real ...
0
votes
0
answers
532
views
How to add custom checkout form in checkout step in magento 2?
I want to need to add three form field in my custom checkout step and also they save in data base
here below mention my code ho can i add that form mention in screenshoot to this custom checkout step
...
0
votes
1
answer
212
views
Bug in translation add to cart: translation resets to default value after adding product to cart (only in production mode)
I experience a problem on a Magento 2.4.1 store.
The problem: the Add to cart button on the product page is translated correctly on initial load. This is in Dutch in my case: "In Winkelwagen"...
0
votes
1
answer
513
views
Is it safe o update row from translation table in magento 2
To update inline translation value without enabling inline translation because its prod environment so Is it safe to update row from "translation" table using update query
|key_id | string ...
0
votes
2
answers
211
views
Magento 2 - Magento 1 migration : all product links are error 404
I am busy with another migration of Magento 1 to Magento 2.3.5,
I have managed to get my categories working, all categories show products associated to them (used Iazel_RegenProductUrl module for this....
0
votes
1
answer
1k
views
How to translate validation error message in checkout page Magento 2.3
Please any Ideas on how to translate the validation message on phone field on view/frontend/layout/checkout_index_index.xml:
<item name="telephone" xsi:type="array">
<...
0
votes
1
answer
37
views
External php file working in Magento1.9 but not in magento1.7
I have prepared a code which check product with no images and than add an image to it form a folder with same name as that of product. In Magento 1.9 it is working perfectly. But when i try it on ...
1
vote
0
answers
424
views
Managing translations on CMS pages, blocks and strings on a Magento store as of 2021
After almost a decade staying away from it, I'm back on Magento development. I can see the platform has evolved quite a bit since then, but on the translation management side my feeling is that it ...
0
votes
0
answers
117
views
How can I configure a multi lingual (language) website?
I have created following store structure;
Website: xxx.de
Store: Germany
Store View: German
Website: xxx.nl
Store: Netherlands
Store View: Dutch
Website: xxx.fr
Store: France
Store View: French
I want ...
0
votes
0
answers
348
views
Magento 2 modify CSV file translation not taking place
I added my translation text into the csv
/app/i18n/vendor/fr_ca/fr_CA.csv
for the Magento Review Module
"Write a review","Écrire une critique",module,Magento_Review
However, I ...
0
votes
2
answers
2k
views
How to upload new product images after Adobe Flash Player EOL?
I am wondering how can I upload new product images to my Magento 1 store?
Adobe has blocked all Flash content today and I can't see upload button now.
However, I am already working on my new Magento 2 ...
0
votes
1
answer
67
views
Magento 2 - Conflict in localisation csv file
I understand the general structure of i18n csv files that is like
<key_hook>,<translation_of_that_key>
but according to the documentation there is the possibility to add a module ...
1
vote
1
answer
509
views
Translation doesn't work on breadcrumbs added by xml in Magento 2
I am trying like below to put Breadcrumb and translation in Contact page of Magento 2. But can't translate. I put translation file under /vendor/magento/module-contact/i18n/zh_Hant_TW.csv Is it not ...
1
vote
1
answer
148
views
Magento - Create observer that sends email
How can I write an observer that sends email which tracks an eav_attribute yes or no value?
The email get's sent, if value is set to yes.
I already created the attribute and the email template.
I only ...
0
votes
1
answer
905
views
VAT Validation using EU VIES service not working
The VAT validation on our Magento 1 install stopped working. Annoying, because we have quite a few foreign customers who like the fact that they do not have to pay VAT on our site.
The feature worked ...
0
votes
1
answer
2k
views
Categories not showing products in frontend after migration from Magento 1.7.2 to 2.3.5
Just want to preface this by saying this is my first time using Magento 2 so I apologize if I'm missing something easy here; I always try all I can before reaching out as the last thing I want to do ...
0
votes
1
answer
1k
views
translate "Please enter the same value again"
I am trying to change the validation message Please enter the same value again for password field using translate csv.but it's not translate on the frontend.
Can any one please guide here what's wrong ...
0
votes
1
answer
17
views
Child Theme showing strange labels on breadcrumbs, buttons, labels etc.( {{{Home}}{{Home}}{{Home}}{{themeVendor/ThemeName}}})
I have a problem with my child theme in Magento. On the products page it shows labels like "{{{Home}}{{Home}}{{Home}}{{themeVendor/ThemeName}}}" for the breadcrumbs or "{{{Add to Cart}}{...
2
votes
0
answers
61
views
What is the standard order process workflow in Magento 1?
I'm trying to understand the order process in Magento 1.7. The background is: I'm extracting the payment (and later the complete checkout) from Magento to another system, but the order processing ...
0
votes
1
answer
2k
views
Magento 1.9 : How to Get Customer Data using Rest API
We have tried to get Customer Data using the below URL. we have got the below error
URL: http://127.0.0.1/magento1940/api/rest/customer/:3
https://i.sstatic.net/gpqLL.png