Skip to content

Commit 5d26fa0

Browse files
committed
add latam spanish + implement ValveSoftware/source-sdk-2013#1348
1 parent 6a01a0b commit 5d26fa0

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

sp/src/common/language.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ struct Language_t
2727
// es_ES - use new world spanish country code instead?
2828
// zh_CN - validate that SC date formats come through
2929
// bt_BR - assume we should use Brazilian rather than Iberian portguese
30+
// es_419 - latam does not have a specific LCID; the Mexican Spanish LCID will be used instead
3031

3132
static const Language_t s_LanguageNames[] =
3233
{
@@ -58,6 +59,7 @@ static const Language_t s_LanguageNames[] =
5859
{ "Greek", "greek", "#GameUI_Language_Greek", "el_GR", k_Lang_Greek, 1032 },
5960
{ "Ukrainian", "ukrainian", "#GameUI_Language_Ukrainian", "uk_UA", k_Lang_Ukrainian, 1058 },
6061
{ "Vietnamese", "vietnamese", "#GameUI_Language_Vietnamese", "vi_VN", k_Lang_Vietnamese, 1066 },
62+
{ "Latam_Spanish", "latam", "#GameUI_Language_Latam_Spanish", "es_419", k_Lang_Latam_Spanish, 2058 },
6163
};
6264

6365
//-----------------------------------------------------------------------------

sp/src/common/language.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ enum ELanguage
4242
k_Lang_Greek,
4343
k_Lang_Ukrainian,
4444
k_Lang_Vietnamese,
45+
k_Lang_Latam_Spanish,
4546
k_Lang_MAX
4647
};
4748

0 commit comments

Comments
 (0)