TinoArts Posted March 22, 2021 Share Posted March 22, 2021 I've added a new field to the CustomerFormatter.php class: $format['birthday'] = (new FormField()) ->setName('birthday') ->setType('text') ->setLabel( $this->translator->trans( 'Birthdate', [], 'Shop.Forms.Labels' ) ) ->addAvailableValue('placeholder', Tools::getDateFormat()) ->addAvailableValue( 'comment', $this->translator->trans('We will send you a birthday present every year (E.g.: %date_format%)', array('%date_format%' => Tools::formatDateStr('31 May 1970')), 'Shop.Forms.Help') ) ; I need to translate the "We will send you..." label, but I can't find it in the BO. What appeared reasonable for me was to look into active theme's translations, or "Other translations", but I've looked everywhere and it's not there. I'm not sure I am setting the domain right. What is the correct way to do this? Thank you Link to comment Share on other sites More sharing options...
arunvishwakarama Posted March 22, 2021 Share Posted March 22, 2021 You need to check Admin > Shopparameters > Help. It should be available there Link to comment Share on other sites More sharing options...
TinoArts Posted March 22, 2021 Author Share Posted March 22, 2021 @arunvishwakarama Unfortunately it is not there as well. I've tried using the search form and also searching page to page, it is anywhere in the back office translations. By the way, this is a string that displays on the front end (registration form). Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now