add sectionkey field
Fix undefined reference error for localization

When no localization files are listen in build for a desired language,
an undefined error would occur. I added a couple undefined checks
to prevent this.