Jump to content
DeeeExclusive

Translation php string for EURid Geographical Restrictions

Recommended Posts

Hello community

Can someone please advise how we can translate the part marked in red on screenshot below.

Looks like there is no translation string (again) in language files at all.

 

 

translate.png

Share this post


Link to post
Share on other sites
41 minutes ago, DeeeExclusive said:

Can someone please advise how we can translate the part marked in red on screenshot below.

they're additional domain fields - https://docs.whmcs.com/Additional_Domain_Fields#Edit_an_existing_field

43 minutes ago, DeeeExclusive said:

Looks like there is no translation string (again) in language files at all.

the fields could be translated...

$_LANG['euTldEntityType'] = "EU Entity Field Label";
$_LANG['eu_country_of_citizenship'] = "EU Country Label";

NoqC6rO.png

btw - I would suggest that GB shouldn't be in that dropdown list any more. drappeaueurope.gif

with regards to descriptions, values in dropdowns etc, I don't think they can be natively translated if you're thinking of multiple languages.... now you could do it with hooks if you had to (as they're just array values), but it wouldn't be straightforward.

if you're thinking of just translating the text/values etc for everyone into another language, e.g French for everyone, then you could just edit the entry as per the above docs - note what the docs says about not editing the original file and to create a custom file instead.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated