Viewing 2 reply threads
  • Author
    Posts
    • #2907

      In my arrays for example I am adding __(”) for localization to translate my plugin. Can tab names be localization-ready since they are named in the header comments? IE:

      <?php
      /*
      Title: Countries
      Order: 20
      Setting: cipb_settings
      Tab: Countries
      */
      
    • #2931
      Steve
      Keymaster

      @countryipblocks– I don’t think they are translatable. We’re still working on ideas for this. Any suggestions would be appreciated.

    • #2937
      igor
      Member

      Maybe something like variables or similar logic

      For example.

      <?php
      $title = __('Countries', 'textdomain');
      /*
      Title: $title
      Order: 20
      Setting: cipb_settings
      Tab: Countries
      */
Viewing 2 reply threads
  • You must be logged in to reply to this topic.