Make sure to have WordPress and WPML installed
Get The Best WordPress Hosting and WPML Support for free here

1- Register your localized string name inside functions.php

2-you can see it here

3-translate its language content

4-call it

the first argument greenbackend: domain
the second argument is the key or the name
the last one is the original value in the defaul language and can be translated in step 3

Get The Best WordPress Hosting and WPML Support for free here