Jump to content
TNG Community

Automatic translation of the media menu


^maikl11

Recommended Posts

I want to create new media categories in the Media drop-down list.
Now I have noticed that some categories are automatically translated, but unfortunately not all!
I also don't know why only part of it is translated!

In which file (s) is this dropdown menu entered ???

Or how do I create the new media category so that it is translated automatically?

Thanks in advance...

PS: I use TNG13.0.3, template 12

media.jpg

Link to comment
Share on other sites

Michel KIRSCH
2 hours ago, ^maikl11 said:

Or how do I create the new media category so that it is translated automatically

Hi Michael,

Read this article : https://tng.lythgoes.net/wiki/index.php/Media_-_Collections

If the ID of your own collection "Wappen/Flagen" is (example) "tralala", you must add, for each language, a variable

$text['tralala'] = "Coat of Arms"; (for english) in the cust_text.php files of the considered languages (included German)

$text['tralala'] = "Armoiries"; (for french) etc...

Respect the syntax and don't forget the semi-colon ( ; ) after each line (take example on what exists yet in your cust_text.php files.

Michel

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...