Menu

Add new language

Pieter
2009-05-28
2013-05-29
  • Pieter

    Pieter - 2009-05-28

    ERROR 8: Undefined index: lang_name_afrikaans
    0 Error occurred on line 87 of file changelanguage.php

    is the error when adding new language afrikaans to phpgedview 4.2.1

    Have a look at http://www.steenekamp.net/PhpGedView/

     
    • Gerry Kroll

      Gerry Kroll - 2009-05-28

      You need to add Afrikaans to the list of languages in file "languages/configure_help.en.php".

      The 4.2.1 version of this file has the list between lines 567 and 596, but the new language name can be anywhere in this file except in front of the first line or after the last line.

      You should also add the correct language settings to file "includes/lang_settings_std.php" by copying another suitable language's settings (I suggest Dutch).

      The last thing that needs to be done is to create at least the "languages/lang.af.php" file, even if it doesn't have any contents to start with.  "af" is the correct two-letter code for Afrikaans.

       
    • Pieter

      Pieter - 2009-05-28

      Thanx it works like a charm!!!!

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.