nn::cfg::CTR::GetLanguageCodeA2 Function

Syntax

#include <nn/cfg.h>

const char * GetLanguageCodeA2(
     CfgLanguageCode cfgLanguageCode
);

Arguments

Name Description
in cfgLanguageCode Specifies the language code.

Return Values

Returns a pointer to the string corresponding to the language code. Returns NULL if there is no corresponding string.

Description

Converts a language code to ISO 639-1 alpha-2 format. This API is fast because it returns the value in memory.

Revision History

2010/08/16
Initial version.

CONFIDENTIAL