Welcome in our support care center
Plugin for Forumotion forums AVAILABLE NOW ! Create your own multilingual topics
Release of XenForo plugin: install it now!
MyBB pluginis now available! Create unlimited posts in different languages!
Log in
Latest topics
Who is online?
In total there is 1 user online :: 0 Registered, 0 Hidden and 1 Guest

None

View the whole list

Top posters
328 Posts - 57%
76 Posts - 13%
44 Posts - 8%
25 Posts - 4%
24 Posts - 4%
22 Posts - 4%
17 Posts - 3%
17 Posts - 3%
11 Posts - 2%
8 Posts - 1%

Share
Go down
Niko
Niko
Developer
Posts : 328
Join date : 2016-01-30

Italian
https://www.translationscloud.com

multilingual - Install our plugin on XenForo forums Empty Install our plugin on XenForo forums

on Mon May 08, 2017 6:47 pm
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  multilingual - 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  multilingual - 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 .
    multilingual - 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

    multilingual - 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 forummultilingual - Install our plugin on XenForo forums 1f4ab

    multilingual - 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

      multilingual - 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.


      multilingual - 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  multilingual - Install our plugin on XenForo forums 1f607

      multilingual - 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 multilingual - 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.
    multilingual - Install our plugin on XenForo forums 1f310 Your plugin is hosted in our servers for your own security and safety.

    example:
    multilingual - Install our plugin on XenForo forums Dashboard_plugins_template



Custom BBcodes


  • Go to Administration panel > Home > BB Code & Smilies > Custom BBcodes and multilingual - 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;
    }

    multilingual - 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  multilingual - Install our plugin on XenForo forums 1f60b

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

    multilingual - Install our plugin on XenForo forums Dashboard_plugins_button
    multilingual - 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  multilingual - Install our plugin on XenForo forums 1f60d



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

    multilingual - Install our plugin on XenForo forums Dashboard_plugins_demo

    multilingual - 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.

    multilingual - 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

    multilingual - 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

    multilingual - 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!

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