Docs
extra, key, error, Language, Pack, upload
“Extra key :” error in the Language pack. How to resolve this?
While uploading the new/updated language pack for a site, you might come across the error message -
461783
2022-06-21T12:50:42Z
2024-08-30T10:36:55Z
289
0
1
254773
“Extra key :” error in the Language pack. How to resolve this?
How to resolve the “Extra key:” error while uploading a language pack?
Summary:
While uploading the new/updated language pack for a site, you might come across the error message - “Extra key :” where you'll see the directory to which item this error is thrown. If the addons and the plan referenced in the error messages do not exist on your site, you would face this error. You can resolve this error by following the steps given below.
Solution:
To resolve this, all you have to do is remove the references to these entities from the translation file and upload it again.
For example:
Extra key : dy.addon.name.Service-Charge-New in /merchant_i18n_temp/jenny-test_1644863882985/jenny-test16CZbtSwNAKUl1uRD/de/mandatory/addons.csv
From this, we can see that the Addon “Service-Charge-New” is the one throwing this error.
The reason for this change is that the language pack will have keys based on the site context.
These extra key error shows up when a user tries to upload an older language pack. When done, you shouldn't be seeing this error anymore.