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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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/
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.
Thanx it works like a charm!!!!