Change header label “sign in” to “log in” in magento 2
-
07-01-2021 - |
Question
Can anyone help how to change header's "sign-in" label to "log-in" in Magento 2.
La solution
The easiest way for change the label is Translation.
You need to just make i18N folder in your app/code/spacename/modulename and just create one CSV file en_US and give translation script over there.
See Example : en_US.csv
"Sign In","Login"
No need to override anything for the small change.
Licencié sous: CC-BY-SA avec attribution
Non affilié à magento.stackexchange