Adding language keys programatically

I've been trying to add language keys via MySql statements and it fails to produce the desired result on a rendered web page, but I can't figure why.  I've reviewed the code and there are only two tables that require values (assuming you have language and category already set up, which I do).

You can check the source code here:

http://www.boonex.com/doc/d9/d83/lang__file_8php_source.html

Here's a sample of my code:

INSERT INTO `sys_localization_keys`(`ID`, `IDCategory`, `Key`) VALUES (6507,20,'_Togiak Wilderness');
INSERT INTO `sys_localization_strings`(`IDKey`, `IDLanguage`, `String`) VALUES (6507,1,'Togiak Wilderness');

The keys do display in the language editor, but they fail to remove the underscore before the label, this example the label "Togiak Wilderness".

If I open the key and then save it without making any changes to it, then the underscore disappears on the rendered page.   The contents of the two tables, however, don't appear to be any different.  What gives???

Quote · 13 Nov 2012

the compiled lang should be in langs/lang-en.php also. So you need to add that in file too.

so much to do....
Quote · 14 Nov 2012
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.