TranslationsCloud • support
Would you like to react to this message? Create an account in a few clicks or log in to continue.
TranslationsCloud • support

Discover the dedicated support forum for the Free Translations Cloud services

Log in

I forgot my password



Latest topics
» [Closed] Social Media Profile Button Should Be Smaller
Install our plugin on XenForo forums EmptyThu Dec 02, 2021 12:17 am by Niko

» MyBB plugin is now available !
Install our plugin on XenForo forums EmptyWed Jan 17, 2018 4:38 pm by Ikerepc

» [New brand] Suspension of the service
Install our plugin on XenForo forums EmptySat Jan 06, 2018 4:23 pm by Niko

» Registration page bug
Install our plugin on XenForo forums EmptyFri Jan 05, 2018 7:58 am by Malcolm

» [Closed] Add a language selection button
Install our plugin on XenForo forums EmptyThu Jun 15, 2017 11:32 pm by mSyx

» MyBB plugin installation tutorial
Install our plugin on XenForo forums EmptySun May 21, 2017 1:13 pm by Soon

» XenForo: Release of a dedicated plugin !
Install our plugin on XenForo forums EmptyMon May 08, 2017 7:08 pm by Niko

» Install our plugin on XenForo forums
Install our plugin on XenForo forums EmptyMon May 08, 2017 6:47 pm by Niko

» Members introduction
Install our plugin on XenForo forums EmptyFri Feb 24, 2017 10:06 am by Niko

Who is online?
In total there is 1 user online :: 0 Registered, 0 Hidden and 1 Guest

None

[ View the whole list ]


Most users ever online was 25 on Fri Jan 26, 2024 3:40 pm

You are not connected. Please login or register

Install our plugin on XenForo forums

Go down  Message [Page 1 of 1]

1Install our plugin on XenForo forums Empty Install our plugin on XenForo forums Mon May 08, 2017 6:47 pm

Niko

Niko
Developer

Install our plugin on XenForo forums

Install our plugin on XenForo forums


Hello Dear Members,

We have some new amazing news for you ! It is about the Launch of Plugin for #XenForo forums that we have released so that you will be able too - to create multi-lingual topics  Install our plugin on XenForo forums 1f60b



What is a multi-lingual topic ?

A #multilingual topic is a special post in your forum that is available in different languages. This feature will allow new guests that don't speak your forum main-language to undestand your topic content and join the discussion  Install our plugin on XenForo forums 1f61d

Installation of XenForo plugin



Creation of a XenForo plugin




  • First, you need to create an account on our website at https://www.translationscloud.com/registration.
    Install our plugin on XenForo forums 1f510 Note that an email verification is required. Use a valid email address.

  • Once that your account has been created and it has been verified, login your client area and Go to Dashboard

    Install our plugin on XenForo forums Fa_sceditor_dashboard

  • Now go to Modules > Plugins and you will now see the management tool for your plugins. Click on the XenForobutton to start creating a plugin for your XenForo forumInstall our plugin on XenForo forums 1f4ab

    Install our plugin on XenForo forums Dashboard_plugins

  • If this is the first time you create a plugin for XenForo, click on the button in this new page to start

  • You will be required to confirm and verify some information. Here you can find a full explanation of the different contents.


    • Verify Api Key and Forum address
      you will need to check if a valid api-key is available and if the forum address corresponds to the one you will use

      Install our plugin on XenForo forums Fa_sceditor_verify

    • Customization

      • Multilingual icon
        It is possible to set an icon to highlight multilingual contents. By default a light-bulb is displayed.


      Install our plugin on XenForo forums Fa_sceditor_custom

    • Translations
      Some translations are required for your plugin. You can leave the default-ones or update them.. it is up to you  Install our plugin on XenForo forums 1f607

      Install our plugin on XenForo forums Fa_sceditor_lang



  • Once you are sure that everything is okay, click on I confirm these information to create your plugin.

  • On the next page you will be pointed to this tutorial for the latest steps.


Install your own XenForo plugin



Templates


  • First, go to to your Administration Panel and edit the PAGE_CONTAINER template Install our plugin on XenForo forums Edit

  • Search for < /head > in your template content (whthout spaces)

  • Now paste the personal code-snippet right before this tag.
    Install our plugin on XenForo forums 1f310 Your plugin is hosted in our servers for your own security and safety.

    example:
    Install our plugin on XenForo forums Dashboard_plugins_template



Custom BBcodes


  • Go to Administration panel > Home > BB Code & Smilies > Custom BBcodes and Install our plugin on XenForo forums Dashboard_plugins_bbcode_new

  • Basic information

    1. BBcode tag: alias
    2. Title: Alias
    3. Description: it is up to you, here we suggest you one
      Allows you to create and manage a multi-lingual post. A multilingual post will allow members to read this content in their own language, if set by an administrator.

    4. Replacement Mode: Simple replacement
    5. Supports Option Parameter: no
    6. HTML Replacement::
      Code:
      <alias>{text}</alias>

    7. Example Usage: it is up to you, here we suggest you one
      To use the multi-lingual BBcode you should include the alias name between tags.
      For example: [ alias ]variable_name_here[ /alias ]

    8. Allow this BB code in signatures: unchecked


  • Advanced options

    1. Within This BB Code: check the following

      • Disable smilies
      • Disable line break conversion
      • Disable auto-linking

      • Stop parsing BB code


  • Editor Icon URL: it is up to you, this is our suggestion
    https://www.translationscloud.com/xenforo/xenforo-alias-button.png


  • Save your custom BBcode now  Very Happy

  • Congratulations, your plugin is installed !




  • Customization



    There are some CSS lines to include in your forum stylesheet. So, go to Administration panel and include these lines in your extra.css template

    Code:
    li.multilingual-header {
        background: #F0F7FC;
        padding: 4px;
        margin-left: -20px;
        width: 102.55%;
        border-bottom: 1px solid #A5CAE4;
        margin-bottom: 3px;
        font-size: 13px;
        font-family: 'Verdana';
        border-top: 1px solid #A5CAE4;
        color: #176093;
        text-shadow: 0px 1px 1px white;
    }

    Install our plugin on XenForo forums 1f50d  Explanation of css lines


    • li.multilingual-header
      this class refers to the header included for multi-lingual posts






    How does it work ?



    Creating a new multilingual post



    Once the installation process is completed, you can start creating your own multilingual posts and topics  Install our plugin on XenForo forums 1f60b

    Thanks to our plugin and your settings, a special BBcode button is included in your editor Install our plugin on XenForo forums Xenforo-alias-button and it will allow you to include an alias in your post

    Install our plugin on XenForo forums Dashboard_plugins_button
    Install our plugin on XenForo forums 26a0 Alias can be created from your client area from Management > New translation and you and your translators can translate them in different languages from Client area > Pending translations. If you include an alias that hasn't been created yet, the system will return "not found"

    Of course you can write a normal post and having only a part in multilingual.
    Once included it will appear as in the example above (Source mode / WYSIWYG mode)

    Now we are ready to post it  Install our plugin on XenForo forums 1f60d



    In your topic page the alias will be automatically replaced with the content of your translation! Wow!

    Install our plugin on XenForo forums Dashboard_plugins_demo

    Install our plugin on XenForo forums 2666 An icon that you can set during the plugin creation will be displayed for valid multi-lingual posts. A simple post or a not-valid multilingual post will not be marked with this icon.

    Install our plugin on XenForo forums Fa_sceditor_icon

    Selecting the multilingual posts' language


    If you want to modify or select a language for your multilingual posts you can go on your forum to Edit profile > Settings > Preferences

    Install our plugin on XenForo forums Xenforo_preferences

    There is no need to save the page: the update is made in async mode. If you see the green success text, your modification is done !

    What if an alias does not exist in my language ?


    If an alias is valid, but it is not available for in your language, the default version will be displayed and a special icon will notify you of a multilingual post in default language

    Install our plugin on XenForo forums Xenforo_default




    For extended technical details, customization and generic support,
    please contact us in our Plugin assistance section
    Have a nice day!

    https://www.translationscloud.com

    Back to top  Message [Page 1 of 1]

    Permissions in this forum:
    You cannot reply to topics in this forum