Jump to content
TNG Community

Adding a Language "Create Copy In" box to a field


Marsha

Recommended Posts

Hi All,

I have a client that wants to add a link name in an additional language. In some of my templates, the user has the ability to "name" the link instead of getting the usual "More". For example, in my template 275 (https://genealogywebtemplates.com/tng/demoframes-public.html) there are links for "Those Who Served" and "Diseases". My client wants these links to be translated when a visitor chooses French as the language. How do I get a "Create copy in -" box on the template settings page in order for him to add the French text? The variable name is "headerlinktext".

Thanks for any help,
Marsha
Genealogy Web Templates
https://genealogywebtemplates.com

Link to comment
Share on other sites

Hi All,

If you wondered how to add the field, I asked Darrin. This was his response:

You would have to add "headerlinktext" to the $needtrans array that starts on line 229 in admin_templateconfig.php.

Thanks, Darrin! As usual, his customer service is impeccable!

Marsha

Link to comment
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.

×
×
  • Create New...