Multi Language Date Edit
Multi-language date edit | ||||
---|---|---|---|---|
Summary | Allows entering month names and abbreviations in several languages: Afrikaans, Danish, Dutch, German, Italian, Portuguese, Norwegian, Spanish and Swedish. | |||
Validation | ||||
Mod Updated | 31 Mar 2016 | |||
Download link | multi-laguage-date-v11.0.0.0.cfg.zip for
| |||
Download stats | ||||
Author(s) | Carlos Heuser | |||
Homepage | Multi_Language_Date_Edit (This page) | |||
Mod Support | Carlos Heuser | |||
Contact Developer | Carlos Heuser | |||
Latest Mod | 11.0.0.0 | |||
Min TNG V | 11.0.0 | |||
Max TNG V | 14.0.1 | |||
Files modified | js/datevalidation.js | |||
Related Mods | ||||
Notes |
Purpose of this Mod
This Mod might be of interest for those who enter data directly in TNG and that would like to enter dates in a language that is not English.
TNG already allows one to enter dates in several formats. For example, dates like "25.12.2015" (European format), "12/25/2015" (US format) or "25 December 2015" are translated to 25 Dec 2015, the internal format used by TNG and by the GEDCOM format.
However, in my workflow I often copy and paste data that I collect from other digitally available sources (Web or text files). As my research concentrates on Portuguese, German and Swedish sources, the dates are often written in one of these English and I have to translate and reformat them manually.
This mod allows one to enter dates in several other languages apart from English. For example, using the mod, the date above could be entered as "25 de dezembro de 2015" or "25 Dez 2015" in Portuguese, or "25. December 2015" in German.
The Mod does not affect the way dates are displayed or stored in TNG.
Supported Languages
At the present, the translation works for Afrikaans, Danish, Dutch, German, Italian, Portuguese, Norwegian, Spanish and Swedish. The Mod does not depend on what languages are installed in TNG.
To include other languages, please contact the author. Simply entering month names in the cfg file may not work, as the names must be entered in a specific order.
Character Encoding
I have tested the Mod with sites encoded in UTF-8. It would be nice to know if it also works with ISO-8859-1.
Known Issues
I have not translated the modifiers that may applied to dates (ABT, FROM, TO,...).
Using the Mod
- Enter a date written in one of the supported languages in a date field.
- Press Tab or click on some other field and the date will be translated into the TNG standard format in English.
Mod installation and database setup
The Mod is installed as usual with the Mod Manager:
- Download the zip file containing the Mod files and unzip it in the TNG mods folder.
- Install the Mod with the Manager.
Note: After the Mod is installed you must clear caches in your browser.
Developer
Mod developer is Carlos Heuser.
Revision History
Mod Version | TNG Version | Date | Contents |
---|---|---|---|
11.0.0.0 | 11.0 | 31 Mar 2016 | * Mod initial release |
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 |
---|---|---|---|---|---|
South Brazilian Family Trees | Carlos Heuser | Developers site | 11.0.0.0 | 14.0.0 | EN, DE, BR,PO |
Luithlenfamilie | Ingo Wagner | Not a Public site | 11.0.0.0 | 11.1.2 | DE, EN, NO, FR |
http://nordiskeaner.info/ | Mogens C. Fenger | Not a Public Site | 11.0.0.0 | DA, EN | |
https://finnholbek.dk/ | Finn Holbek | Public Site | 11.0.0.0 | 13.1.2 | DA, ENetc. |