Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

FOP2 Community Forum

  1. Home
  2. Languages
  3. translate

translate

Scheduled Pinned Locked Moved Languages
7 Posts 2 Posters 154 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M
    M
    Mansaylon
    wrote on last edited by
    #1

    Hello

    The Call History is in English.
    In which file I can do the translation.

    Bye
    Mansaylon

    1 Reply Last reply
    0
    • N
      N
      nicolas
      wrote on last edited by
      #2

      /var/www/html/fop2/lang/xx.php (or xx_XX.php)

      1 Reply Last reply
      0
      • M
        M
        Mansaylon
        wrote on last edited by
        #3

        I see 'Call History' can not translate it. No variable for it. 😉

        1 Reply Last reply
        0
        • N
          N
          nicolas
          wrote on last edited by
          #4

          What words are non translatable? You can add translate keywords at will on language files, you can use spanish as a reference if you do not know what key to use.

          1 Reply Last reply
          0
          • M
            M
            Mansaylon
            wrote on last edited by
            #5

            I have made the translations (german) directly in callhistorybsgrid.php.
            Including a link to the telephone directory tel.search.ch. (Only for phone numbers from at least 10 numbers) 😉

            1 Reply Last reply
            0
            • N
              N
              nicolas
              wrote on last edited by
              #6

              great you had it working.. strange thing that all strings on those php files are either set via the 'trans' function or called by the lang array, so it should be 100% translatable via translation files and not modifying the .php itself.... however to add that telephone directory search you do have to tweak the code.

              Best regards,

              1 Reply Last reply
              0
              • M
                M
                Mansaylon
                wrote on last edited by
                #7

                If someone wants a complete German translation. Here attached.

                The phone directory (tel.search.ch) can be changed in the line 338th

                 $telsearch = "<a href='https://tel.search.ch/index.de.html?was=$onlynumber' onclick='FensterOeffnen(this.href); return false;'><img src='search.jpg' alt='Telefonbuch'></a>";
                

                The Image search.jpg [attachment:57d17d28ce57f] copy in the Callhistory directory.

                Viel Spass 😉

                1 Reply Last reply
                0

                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                With your input, this post could be even better 💗

                Register Login
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                Powered by NodeBB Contributors
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • World
                • Users
                • Groups