Migrate PHP/JS localization constants to L10N_* prefix/L10n namespace
More method name conversions to C++ style