Announcement

Collapse
No announcement yet.

Post Footer Translate Button

Collapse
X
Collapse
First Prev Next Last
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Paid Mod Post Footer Translate Button

    This Post Footer Translate Button mod adds a button under each post to translate the corresponding post content into the user's desired language using Google Translate service. Even if your forum is using a language pack, we know that the user-generated content is not translated. This mod allows people who do not have English (or the forum's default language) as their first language to read and post in your forum using their native tongue.

    This plugin is very useful for forums that have users from different countries and languages. It helps users to understand and communicate with each other better. It also enhances the user experience and makes your forum more accessible and inclusive.

    The Translate button appears and works on all posts with post footer buttons - Topic page, Search Result page, and Activity Stream on Homepage and Profile page.

    Click image for larger version  Name:	image.png Views:	1 Size:	279.7 KB ID:	26074
    Click image for larger version  Name:	image.png Views:	1 Size:	179.5 KB ID:	26075
    Click image for larger version  Name:	image.png Views:	1 Size:	573.9 KB ID:	26076

    How to Limit the Languages in the Dropdown:
    Add this custom CSS in css_additional.css template:
    Code:
    .postfooter_translate-container select option:not([value=auto], [value=en]) {
        display: none;
    }
    Update this part to add the language codes that you want to display. Follow the format of how each value is added.

    Code:
    option:not([value=auto], [value=en])
    To see all the available language codes, do the following:
    1. Right-click the languages dropdown.
    2. Click "Inspect".
    3. Expand the <select> tag.
    4. See the value for each of the <option> tag for each language.
    5. Take note of the language codes you want to show and add it to the above CSS code.

    Notes:
    1. Google Translate has a limit of 5,000 characters (including newlines) to translate. If a post has more than this limit, then those exceeded characters will not be translated.
    2. Content inside [CODE], [PHP] and [HTML} tags will not be sent for translation because those are source code that should not be translated. The text "[Code here]" will be used instead as its placeholder.
    3. Since Google Translate page cannot be put inside an <iframe> tag for good reason (security), the translation will be displayed in a new popup window.
    4. For mobile devices, it may open the Google Translate mobile app if installed on the device. This is controlled by the device OS and not by the mod.

    Compatibility:
    • Compatible with vBulletin 5 and 6 (self-hosted) only.
    • Compatible with PHP 8+.
    • Not compatible with vBCloud. For vBCloud version, get the mod here.

    Version History:
    v1.1
    • Fixed an issue for vB6 where the post footer links were being hidden under ellipsis button even if all the links fit in one line.

    v1.0
    • Initial version

    Demo:
    This mod is installed on this site.


    Price:
    $20 (Branding-free)​
    Buy Now Add to Cart View Cart

    Need help or not comfortable installing this mod? Purchase the installation service below:

    Product Installation Add-On: $20
    Purchase this product add-on to get professional installation of this mod from us.

    Add to Cart View Cart


    Don't have a PayPal account yet or want to use a new account to purchase this mod? Sign up with PayPal now and get $5 reward!

    Want to pay using Credit/Debit Card? Contact us and we will send you an invoice where you can use your own card.

    ​​​
    Last edited by glennrocksvb; 03-16-2025, 03:32 PM.
    Buy me a coffeePayPal QR Code
    My Amazon Affiliate Link
    Fast vBulletin VPS Host:
    This site is hosted by IONOS

    #2
    vBCloud version now available at https://vbmods.rocks/forum/vbulletin...on-for-vbcloud
    Buy me a coffeePayPal QR Code
    My Amazon Affiliate Link
    Fast vBulletin VPS Host:
    This site is hosted by IONOS

    Comment


      #3
      Found and fixed an issue where the Translate button in a comment didn't work. It was translating the reply not the comment.
      Buy me a coffeePayPal QR Code
      My Amazon Affiliate Link
      Fast vBulletin VPS Host:
      This site is hosted by IONOS

      Comment


        #4
        will it work with 4XXX?

        Comment


          #5
          No. vB5 mods are not compatible with vB3 and vB4. The plugin/hooks system for vB5 is totally different than the older versions.
          Buy me a coffeePayPal QR Code
          My Amazon Affiliate Link
          Fast vBulletin VPS Host:
          This site is hosted by IONOS

          Comment


            #6
            cool thanks, i didnt like thise ones yo posted, looks ugly by navbar

            Comment


              #7
              Released v1.1. Please see version history in the first post for more details.

              Paid customers of this mod will receive an email containing the download link.
              Buy me a coffeePayPal QR Code
              My Amazon Affiliate Link
              Fast vBulletin VPS Host:
              This site is hosted by IONOS

              Comment


                #8
                One question: Is it possible to reduce the selectable languages ​​in the mod? I only need a few languages. And with all languages ​​it's confusing.

                Click image for larger version

Name:	grafik.png
Views:	115
Size:	45.9 KB
ID:	30903

                Comment


                  #9
                  Yes it's possible. I'll make it a configurable option so you can choose the languages you want to include. Watch out for a new update.
                  Buy me a coffeePayPal QR Code
                  My Amazon Affiliate Link
                  Fast vBulletin VPS Host:
                  This site is hosted by IONOS

                  Comment


                    #10
                    Great!

                    Any news about this mod and VB6?

                    Comment


                      #11
                      Hi glennrocksvb

                      Any news about the configurable option?

                      Comment


                        #12
                        There is a CSS solution to this by hiding the unneeded languages.

                        Try adding this custom CSS in css_additional.css:

                        Code:
                        .postfooter_translate-container select option:not([value=auto], [value=en]) {
                            display: none;
                        }
                        Update this part by adding the language codes that you want to use. Follow the format of how each value is added.

                        Code:
                        option:not([value=auto], [value=en])
                        Right-click the languages dropdown and click Inspect to see the value for each of the option for the languages.


                        Buy me a coffeePayPal QR Code
                        My Amazon Affiliate Link
                        Fast vBulletin VPS Host:
                        This site is hosted by IONOS

                        Comment


                          #13
                          Great!
                          I read it wrong at first. I thought that all languages that you don't want to be displayed had to be in the code.

                          Bought it!

                          Comment


                            #14
                            Thanks for your purchase! The :not() negates the list. That CSS rule hides the option tags that are not in the enumerated language code values.
                            Buy me a coffeePayPal QR Code
                            My Amazon Affiliate Link
                            Fast vBulletin VPS Host:
                            This site is hosted by IONOS

                            Comment


                              #15
                              You can also do the reverse and list all the language codes to hide but the list would be longer since you have more languages to hide than to show.
                              Buy me a coffeePayPal QR Code
                              My Amazon Affiliate Link
                              Fast vBulletin VPS Host:
                              This site is hosted by IONOS

                              Comment

                              Latest Posts

                              Collapse

                              Working...
                              X
                              Searching...Please wait.
                              An unexpected error was returned: 'Your submission could not be processed because you have logged in since the previous page was loaded.

                              Please push the back button and reload the previous window.'
                              An unexpected error was returned: 'Your submission could not be processed because the token has expired.

                              Please push the back button and reload the previous window.'
                              An internal error has occurred and the module cannot be displayed.
                              There are no results that meet this criteria.
                              Search Result for "|||"