Change Language Droplist

From TNG_Wiki
Jump to navigation Jump to search
Restricted Downloads of Change Language Droplist are restricted to logged in users. If you do not have a user account on the TNG Wiki use the Request Account link to request a user account Restricted
Caution If you have trouble downloading with Google Chrome, Vivaldi, Brave or other Chromium based browser, try using a right-click and select Open in new Window, then F5, or use another browser such as Firefox


Caution


Ambox notice.png The Change Language Droplist was added as a standard feature to TNG version 9, moving the language pull down to the same line as the other pull down menus. This mod is therefore obsolete or not needed with TNG V9.
The TNG V9 of the mod supports the use of a flag icon display.
TNG 8.0


Change Language Droplist
Summary Adds a fourth droplist menu as an alternative to the language drop down box.
Validation V8.1.6 of the mod is XHTML compliant.Valid-xhtml10.png
Mod Updated 29 Dec 2022
Download link

Change_lang_droplist_v14.0.0.6.zip

TNG 14.0

See "v9.0.3.3" Visualization Below


Change_lang_droplist_v10.1.0.4a.zip


TNG 13.0
TNG 12.0
TNG 11.0
TNG 10.1.0

See "v9.0.3.3" Visualization Below


Change_lang_droplist_v10.0.0.0.zip‎

TNG 10.0

See "Complete-version" Visualization Below


Change_lang_droplist_v10.0.0.1.zip‎

TNG 10.0

See "Icon-version" Visualization Below


Change_lang_droplist_v10.0.0.2.zip‎

TNG 10.0

See "v9.0.0.1" Visualization Below


Change_lang_droplist_v10.0.0.3a.zip

TNG 10.0

See "v9.0.3.3" Visualization Below


Change_lang_droplist_v9.0.3.3.zip‎
For TNG V9.x Langdroplist2.jpg
See Visualization Below


Change_lang_droplist_v9.0.0.1.zip‎
For TNG V9.x Langdroplist1.jpg
See Visualization Below


change_lang_droplist_v8.1.6.zip
For TNG V8.1 Langmenu2.jpg
See Visualization Below


change_lang_droplist_v8.1.3c.zip
For TNG V8.0 Langmenu2.jpg
See Visualization Below


change_lang_droplist_v8.1.6c.zip
For TNG V8.0/1+ Menushot.jpg
See Visualization Below


change_lang_droplist_v8.1.6d.zip
No Icons V8.1 Langmenu2.jpg


change_lang_droplist_v8.1.3d.zip
No Icons V8.0 Langmenu2.jpg
Download stats See download statistics (v10.1.0.4a)
Author(s) Jeff Robison
Secondary Author(s)
Oname.gif
Homepage
Mod Support TNG Community Forums
Contact Developer TNG Community Forums
Latest Mod 14.0.0.6
10.1.0.4a for TNG 10.1-13.1.2
See mod versions
Min TNG V 8+
Max TNG V 14.0
Files modified
genlib.php
css/genstyle.css
Related Mods
Notes
Ken Roy has tested with all templates and reports that all looks fine!

Purpose of the mod

TNG version: 8.1.3
TNG version: 8.0
  • This mod replaces the language drop down box with a fourth drop list menu.
  • Included is a folder (droplist_icons) for storing your preferred language icons.
    Icon folder is not necessary for versions v8.1.3d and v8.1.6d
  • v8.1.6c places the current language icon on the language menu droplist. Menushot.jpg for TNG V8.0/1+.

TNG version: 9.0
  • The v9.x versions offer two different options for menu title appearance.

Developer

This mod was developed by Jeff Robison. View all mods by Jeff Robison.

Requirements

  • A working TNG installation.
  • A backup of all affected files (see the list in the summary to the right)
  • An installed current version of the Mod Manager.
  • The included folder 'droplist_icons' must be present in your mods folder. This is where you place your preferred icons.

Revision History

Mod Version TNG Version Date Contents
14.0.0.6 14.0 29 Dec 2022 New version for TNG 14. Added additional flags for new languages. Added potential alternate flags if the default is not the flag wanted.
10.1.0.4a 10.1 31 Aug 2015 Corrects error that caused HTML validation to fail. Code corrected by Jeff Robison, cfg file provided by Graham Chamberlain.
10.1.0.3a 10.1 31 Mar 2015 Provides compatibility with TNG 10.1.0 for visualisation in TNG 10.0.0.3 (cfg file provided by Graham Chamberlain)
10.0.0.3a 10.0 01 Apr 2014 Provides menu label missing in v10.0.0.3
10.0.0.2, 10.0.0.3 10.0 29 Mar 2014 Fix to copies of v9.0.0.1 and v9.0.3.3 to correctly display flag icons from pages not in the root directory. This fix only applies to TNG 10+.
10.0.0.0, 10.0.0.1 10.0 04 Mar 2014 Add new ISO-3166-versions of the language droplist. (Demo at familiengenealogie.de)

See also infos at the Talk-site of this Mod site.

9.0.3.3 9.0 07 Oct 2012 Adds style change that corrects format of the drop down list for all templates.
9.0.3.2 9.0 01 Oct 2012 Places the current language icon in the language droplist menu title.Langdroplist2.jpg
Developed with the aid of Oname.gif, Carlos Heuser, Rick Bisbee and Graham Chamberlain.
9.0.0.1 9.0 01 Oct 2012 Update by Graham Chamberlain. Corrects problem when viewing files in subfolder and TNG is not in domain root.
9.0.0.0 9.0 14 Feb 2012 Initial developer is Jeff Robison.
This update by Oname.gif
I am sincerely happy to convey all rights to this mod to (Secondary Author) Oname.gif as long as I am listed in all future versions as the initial developer.
8.1.3d, 8.1.6d 8.1 03 Apr 2011 No frills version. Simply replaces the language drop down box.
8.1.6c 8.1 02 Apr 2011 This version places the current language icon on the language menu droplist.Menushot.jpg
Developed with the aid of Oname.gif and Graham Chamberlain.
8.1.6 8.1 03 Feb 2011 XHTML Validated.
Customize width/height of language icon without interfering with TNG icons.
8.1.5, 8.1.3c 8.1 16 Jan 2011 Fixed Change Language Droplist to work in subfolders.
8.1.4a, 8.1.3b 8.1 12 Jan 2011 Sorry folks. I forgot to put the icon folder and read me file in v8.1.4 - v8.1.3a .zip files.
Now included.
8.1.4 8.1 02 Jan 2011 Updated by Ken Roy for TNG 8.1
8.1.3a 8.1 28 Dec 2010 This version allows both Change Language Droplist and Site Menu Mod to be installed without conflict.

View both mods installed here.... Robison and Blythe Genealogy

8.1.3 8.1 19 Dec 2010 With this version the language drop down box is replaced and not just bypassed.
8.1.2 8.1 17 Dec 2010 Now uses the TNG class assignment for drop list menu icons.
8.1.1b 8.1 16 Dec 2010 Custom text addition removed. The variable '$text['icontitle']' for text display on icon hover is still available for custom text addition.
8.1.1a 8.1 13 Dec 2010 As with previous versions there is now no need to change 'Dynamic Language Change' in Admin/Setup/General Settings/Language.
8.1.1 8.1 11 Dec 2010 Add your personal icon for each language. For example, ancestral country of origin flags
8.1.0 8.1 05 Dec 2010 Introduction.

Conflicts and Issues

No known conflicts.

Installation

  1. Uninstall and delete previous version of this mod (if installed)
  2. Download the appropriate zip file as shown in the mod summary in the upper right corner of the page.
  3. Extract the file from the downloaded zip file into the mods folder or FTP the extracted file to your mods folder.
  4. Follow the normal automated installation for Mod Manager, as shown in the example Mod Manager - Installing Config Files to install the mod.

In the event of a problem

Uninstalling the mod

If you want to completely Remove (uninstall) this mod and all its tables, you should

  1. click the Uninstall button to uninstall the mod
  2. click the Delete button to delete the config file from the mods folder.

Upgrade

  • Uninstall and eventually Delete the current Mod.
  • Proceed as for an installation with the new Mod.

Custom Text Additions

//  Added for Change Language Droplist
$text['icontitle'] = "Language icon";

Image Border

A 1 pixel border is added to the menu icon image in v8.1.6c for clarity.
You can change the attributes for .dropflaggif in the .cfg file or add the following to your
templates/template#/css/mytngstyle.css folder replacing the border attributes with your preferences.
An attribute of '0px' will remove the border. #cccccc is a light gray. Change to suit.
For template 8 Graham Chamberlain suggests #b99852. This color also looks nice in template 6.

.dropflaggif {
        border: 1px solid #cccccc;
}

Visualization of this mod

v9.0.3.3
v10.0.0.3a
v10.1.0.3a

Langdroplist3.jpg

v9.0.0.1
v10.0.0.2

Change Language Droplist V9 0.png

v8.1.6
v8.1.3c

Changelangscreenshot.jpg

v8.1.6c

Langdropvis2.jpg
Language droplist ISO-3166.png

v10.0.0.0
Language droplist ISO-3166 light.png

v10.0.0.1

Sites using this mod

If you download and install this mod, please add your TNG site to the table below:

URL User Note Mod-Version TNG-Version User-language
My family Oname.gif (no public site) see here DE,NL,EN
Blumensaadt & Ingemand - Vores Slægt & Lidt til Søren Ingemand 14.0.0.6 14.0.1 EN,FR,DE,ES,NL,NO,SE
The Extended Craxford Family Geneaolgy Magazine Alan D Craxford ... 8.1.5 8.1.0 DE,FR,EN,PT-BR
De Calonne Family Website Dennis de Calonne Integrated with WordPress 9.0.3.3 9.1.2 EN, NL
Neptis: Belgian families Olivier Marquet ... 8.1.5 8.1.0 DE,FR,EN,NL,SP
Chamberlain & Eidenbenz Genealogy Graham Chamberlain ... 10.1.0.4a 12.0.1 EN,DE,FR,ES,NL
Kielakowie.pl Janusz Kielak ... 9.0.0.0 9.0.1 PL,EN,DE,ES
Nordic Ancestry Mogens C. Fenger ... 9.0.3.3 9.1.1 EN,DA
Farnham & Paradise Ohana Barbara Paradise login: tngguest, pwd: tngguest 10.0.0.2 10.0.1 EN
Familie van Seeventer Sandor van Seeventer Public site 14.0.0.6 14.0 DE,EN,NL
Our Family History Tor Lund Public site 14.0.0.6 14.0.2 NO,EN,DE
The Collateral Families Of Castelnuovo di Porto, Italy Rich Falzini Public Site 10.1.3 EN
Wortelboer Genealogy Bernard Wortelboer 10.1.0.4a 11.0.0 NL,EN
Our Family History Jean Pichette 10.1.0.4a 11.0.0 FR,EN
Brabantse Genealogie Rob van Rij Public Site 10.1.0.4a 12.2 EN,NL
Roots & Relatives Remembered Ron Krzmarzick Public & Private, modified See Here EN,DE,CS
Rintoul/Bowman Family Andrew Rintoul Public/Private 10.1.0.4a 12.0 EN,DE,ES,FR
Auf den Spuren meiner Vorfahren UHaase Public/Private 10.1.3.0 12.2 DE,EN
Our Roots&Relatives Kåre Kjøllesdal Private 14.0.0.6 14.0 NO,EN
Auf den Spuren meiner Ahnen Michael Klein Public / Private 14.0.0.6 14.0.3 DE,EN,FR,ES,NL
The Cole / Tanner Family Tree David Cole Public/Private see here EN,DE,FR,ES,NL
Les Lapierre d'Amérique Normand Lapierre Public/Private 14.0.0.6 14.0 FR,EN
Kielakowie.com Janusz Kielak Public site 14.0.0.6 14.0.1 PL,EN,DE
MOTYER Family Genealogy John Mark Motyer Public site See here See here EN