cancel
Showing results for 
Search instead for 
Did you mean: 

Translate Billing/Shipping Address Function

Translate Billing/Shipping Address Function

I want to translate the Prefix and Phone Number in the Billing/Shipping Address on Customer Account Dashboard.

 

The output is in "Magento_Customer/templates/account/dashboard/address.phtml"

 

 

<?php echo $block->getPrimaryBillingAddressHtml() ?>
<?php echo $block->getPrimaryShippingAddressHtml() ?>

 

But I didn't find the file where the function is defined. Could someone help me? =)

 

Edit: Found a solution: I removed the prefix from the address template and add the "prefix" via call in the "address.phtml"