Label Translation Submenu

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pehoma
    Member
    • Aug 2022
    • 52

    Label Translation Submenu

    Hello,
    we use the submenu function (tab) in the lateral menu. It works very good. But is there any possibility to translate the label of this tab? We use ESPO in two languages and the translations works good, but I can't find the label for the tabs in the label manager. Anyone with an idea?
    Thanks to all and have a perfect day.
  • ThomasB
    Senior Member
    • Mar 2022
    • 163

    #2
    I think this is what you are looking for: https://forum.espocrm.com/forum/gene...name-in-navbar

    Comment

    • pehoma
      Member
      • Aug 2022
      • 52

      #3
      No, unfortunately not. I am talking about the Group tabs in the Administration-User interface. There is a field "label", in our example on the foto its calles "Kunden". We are looking for the option to translate this label.

      Comment

      • ThomasB
        Senior Member
        • Mar 2022
        • 163

        #4
        Ok. I found out that the group tabs will be saved in: espo\data\config.php

        Code:
        'tabList' => [
           ...
          16 => 'Stream',
          17 => 'User',
          18 => 'Report',​
          19 => (object) [
              'type' => 'group',
              'text' => 'NameofTab',
              'iconClass' => 'fas fa-angry',
              'color' => NULL,
              'id' => '646466',
              'itemList' => [
                0 => 'Campaign',
                1 => 'Call'
              ]​
         ],
            20 => (object) [
              'type' => 'group',
              'text' => 'NameofsecondTab',
              'iconClass' => NULL,
              'color' => NULL,
              'id' => '604821',
              'itemList' => [
                0 => 'Task'
              ]
            ]
          ],​
        But do not know how to overide this data.

        Comment

        • yuri
          Member
          • Mar 2014
          • 8453

          #5
          It's possible but in v8.0 it will be changed as I reworked the navbar a little bit.

          As of v8.0: Use '$' prefix in a name. The reset will be the label from the 'navbarTabs' language category.

          Before v8.0. Use 'label@' prefix. Won't work in v8.0.
          If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

          Comment

          • shalmaxb
            Senior Member
            • Mar 2015
            • 1606

            #6
            You can change the values right there. It is update safe.

            so for 'text' => 'NameofTab' you may translate 'text' => 'Name des Tabs'

            Comment

            • ThomasB
              Senior Member
              • Mar 2022
              • 163

              #7
              Originally posted by shalmaxb
              You can change the values right there. It is update safe.

              so for 'text' => 'NameofTab' you may translate 'text' => 'Name des Tabs'
              The issue is, he wants to have it translated in several languages. E.g. Spanish, German and French. If you change it there it stays the same for all languages.

              Comment

              Working...