October 17, 2021, 09:50:12 AM

News:

Want to get involved in developing SMF, then why not lend a hand on our github!


Additional Info
Type
Package ID
Roco:Google_Translator_Flags_M
First Created
January 16, 2010, 07:33:35 PM
Last Updated
February 20, 2010, 07:24:00 AM

Google Translator Flags Mod v1.0

This mod will translate the Topics on Your Board
Compatible With 1.1.11, 2.0 RC2
Latest version v1.0
Downloads 2,975
Reviews 0
Rating 0/5
Subscribers 15
License (View License)
Author(s)
Version: 1.0 Date: January 10, 2o1o
Compatibility: 1.1.x and 2.0



Google Translate Flags Mod - v1.0
by Roco - priv Polish SMF-Help! Board



Link to Mod | Support Topic | Demo and My Own Suport




Google Translate Flags Mod for SMF will:

Integrate Google Translate widget, into SMF Board
However, the modification does not add any scripts.

This Mod change files:

SMF 1.1.11 - Themes/default/
  • Display.template.php

SMF 2.0 - Themes/default/ (the Curve Theme)
  • Display.template.php

The mod will update only the default templates, for another please read install[1 or 2].xml
- and is easy for integration with different styles as well.

= = = = = = = = = = = = = = =


Google Translate Flags
Google Translate Flags Mod Overview


This is a modification, not for you but for your guests :)

With this modification, your guests will be able to better understand the Content for your forum.
The modification adds a mini-pictures, these are the flags of Countries, when you click on the desired flag,
will translate the Topic, the chosen language. Interpreter, is Google Tranlator.
The Google gadget is here: http://translate.google.com/translate_tools?hl=en


The modification includes a folder with over 240 flags of countries!
Very simply, you can add a new flag, just look at the file install[1 or 2]. xml

I turned 12 languages, but may be any number, and it just depends on your needs.

+ This is a simple very simple, but needed modification, and no problems with installation.
+ It looks much better than the Google gadget ugly, look at sreenshot.
+ I did not include any slowing down the script, it's just image links ... ;)
+ Your guests will have a chance to understand better the content of the Topics
+ The modification does not need any language files.

And I hope that the modification appears to you to help, and your guests will be happier,
- being able to better understand the content of yours Topics.


Phrases used in links:

- hl=en --> is the language of the guest when the visitor clicks on the translation, was given in English,
which is the universal language.. here Please do not change anything!

- sl= --> a language that is the source of your page and it is dependent on the set default language forum - in PA,
here Please do not change anything!

- tl= --> sign language to be translated Topic, and if we add language translation,
it is here to enter code language (the code of country) and the same for the link to "picture".png
For example, tl=de (This is code of German country), in an image link in src must add de.png

Note! - that these flags are named using the ISO3166-1 alpha-2 country codes where appropriate.
A list of codes can be found at http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2

Some time Google Translator however sees it differently for example, Japan has approved the code, "jp",
- this time on google translator is the code "ja". ect ect

Therefore, before making changes, you must compare what the WiKi and the google translator.

Have fun width the mod :)

= = = = = = = = = = = = = = = = = = = = = = = = = = = = = =

Changelog
1.0 - 10th January 2010
-  Initial Release


Best Regards :)
Roco
Manual installation info
You have to register or login to be able to leave a review
There are currently no reviews on this customization
Advertisement: