2021-04-20 08:06:26 +00:00
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.ComponentModel ;
2022-07-16 01:42:33 +00:00
using JetBrains.Annotations ;
2021-04-20 08:06:26 +00:00
namespace osu.Game.Localisation
{
2022-07-16 01:42:33 +00:00
[UsedImplicitly(ImplicitUseTargetFlags.WithMembers)]
2021-04-20 08:06:26 +00:00
public enum Language
{
2021-06-14 07:51:17 +00:00
[Description(@"English")]
2021-04-20 08:06:26 +00:00
en ,
2021-06-16 08:25:30 +00:00
// TODO: Requires Arabic glyphs to be added to resources (and possibly also RTL support).
// [Description(@"اَلْعَرَبِيَّةُ")]
// ar,
2021-06-16 14:14:48 +00:00
[Description(@"Беларуская мова")]
be ,
2021-06-16 08:25:30 +00:00
[Description(@"Български")]
bg ,
Updated languages in Language.cs to match what is in osu-web/resources/lang/. Added Catalan, Persian, Filipino, Hebrew, Croatian, Lithuanian, Latvian, Malay, Slovenian, Serbian, Tajik, and Sinhala.
2023-06-02 04:25:49 +00:00
[Description(@"Català")]
ca ,
2021-06-16 08:25:30 +00:00
[Description(@"Česky")]
cs ,
[Description(@"Dansk")]
da ,
[Description(@"Deutsch")]
de ,
2021-06-16 14:14:48 +00:00
[Description(@"Ελληνικά")]
el ,
2021-06-16 08:25:30 +00:00
[Description(@"español")]
es ,
2023-06-03 19:48:03 +00:00
// TODO: Requires Arabic glyphs to be added to resources (and possibly also RTL support).
// [Description(@"فارسی")]
// fa_ir,
Updated languages in Language.cs to match what is in osu-web/resources/lang/. Added Catalan, Persian, Filipino, Hebrew, Croatian, Lithuanian, Latvian, Malay, Slovenian, Serbian, Tajik, and Sinhala.
2023-06-02 04:25:49 +00:00
2021-06-16 08:25:30 +00:00
[Description(@"Suomi")]
fi ,
2023-06-03 21:55:05 +00:00
// TODO: Doesn't work as appropriate satellite assemblies aren't copied from resources (see: https://github.com/ppy/osu/discussions/18851#discussioncomment-3042170)
// [Description(@"Filipino")]
// fil,
Updated languages in Language.cs to match what is in osu-web/resources/lang/. Added Catalan, Persian, Filipino, Hebrew, Croatian, Lithuanian, Latvian, Malay, Slovenian, Serbian, Tajik, and Sinhala.
2023-06-02 04:25:49 +00:00
2021-06-16 08:25:30 +00:00
[Description(@"français")]
fr ,
2023-06-03 19:48:03 +00:00
// TODO: Requires Hebrew glyphs to be added to resources (and possibly also RTL support).
// [Description(@"עברית")]
// he,
Updated languages in Language.cs to match what is in osu-web/resources/lang/. Added Catalan, Persian, Filipino, Hebrew, Croatian, Lithuanian, Latvian, Malay, Slovenian, Serbian, Tajik, and Sinhala.
2023-06-02 04:25:49 +00:00
[Description(@"Hrvatski")]
hr_hr ,
2021-06-16 08:25:30 +00:00
[Description(@"Magyar")]
hu ,
[Description(@"Bahasa Indonesia")]
id ,
[Description(@"Italiano")]
it ,
2021-06-14 07:51:17 +00:00
[Description(@"日本語")]
2021-06-16 08:25:30 +00:00
ja ,
[Description(@"한국어")]
ko ,
Updated languages in Language.cs to match what is in osu-web/resources/lang/. Added Catalan, Persian, Filipino, Hebrew, Croatian, Lithuanian, Latvian, Malay, Slovenian, Serbian, Tajik, and Sinhala.
2023-06-02 04:25:49 +00:00
[Description(@"Lietuvių")]
lt ,
[Description(@"Latviešu")]
lv_lv ,
[Description(@"Melayu")]
ms_my ,
2021-06-16 08:25:30 +00:00
[Description(@"Nederlands")]
nl ,
[Description(@"Norsk")]
no ,
[Description(@"polski")]
pl ,
[Description(@"Português")]
pt ,
[Description(@"Português (Brasil)")]
pt_br ,
[Description(@"Română")]
ro ,
[Description(@"Русский")]
ru ,
2023-06-03 19:48:03 +00:00
// TODO: Requires Sinhala glyphs to be added to resources.
// Additionally, no translations available yet.
// [Description(@"සිංහල")]
// si_lk,
Updated languages in Language.cs to match what is in osu-web/resources/lang/. Added Catalan, Persian, Filipino, Hebrew, Croatian, Lithuanian, Latvian, Malay, Slovenian, Serbian, Tajik, and Sinhala.
2023-06-02 04:25:49 +00:00
2021-06-16 08:25:30 +00:00
[Description(@"Slovenčina")]
sk ,
Updated languages in Language.cs to match what is in osu-web/resources/lang/. Added Catalan, Persian, Filipino, Hebrew, Croatian, Lithuanian, Latvian, Malay, Slovenian, Serbian, Tajik, and Sinhala.
2023-06-02 04:25:49 +00:00
[Description(@"Slovenščina")]
sl ,
[Description(@"Српски")]
sr ,
2021-06-16 08:25:30 +00:00
[Description(@"Svenska")]
2021-06-16 10:01:58 +00:00
sv ,
2021-06-16 08:25:30 +00:00
2023-06-03 21:42:08 +00:00
// Tajik has no associated localisations yet, and is not supported on Windows versions <10.
// TODO: update language mapping in osu-resources to redirect tg-TJ to tg-Cyrl-TJ (which is supported on earlier Windows versions)
// [Description(@"Тоҷикӣ")]
// tg_tj,
Updated languages in Language.cs to match what is in osu-web/resources/lang/. Added Catalan, Persian, Filipino, Hebrew, Croatian, Lithuanian, Latvian, Malay, Slovenian, Serbian, Tajik, and Sinhala.
2023-06-02 04:25:49 +00:00
2021-06-16 08:25:30 +00:00
[Description(@"ไทย")]
th ,
2021-06-19 06:07:37 +00:00
// Tagalog has no associated localisations yet, and is not supported on Xamarin platforms or Windows versions <10.
// Can be revisited if localisations ever arrive.
//[Description(@"Tagalog")]
//tl,
2021-06-16 08:25:30 +00:00
[Description(@"Türkçe")]
tr ,
2021-06-16 14:14:48 +00:00
[Description(@"Українська мова")]
uk ,
2021-06-16 08:25:30 +00:00
[Description(@"Tiếng Việt")]
2021-06-16 10:01:58 +00:00
vi ,
2021-06-16 08:25:30 +00:00
[Description(@"简体中文")]
zh ,
2021-06-24 16:31:13 +00:00
// Traditional Chinese (Hong Kong) is listed in web sources but has no associated localisations,
// and was wrongly falling back to Simplified Chinese.
// Can be revisited if localisations ever arrive.
// [Description(@"繁體中文(香港)")]
// zh_hk,
2021-06-16 08:25:30 +00:00
[Description(@"繁體中文(台灣)")]
2022-04-19 05:30:45 +00:00
zh_hant ,
#if DEBUG
[Description(@"Debug (show raw keys)")]
2022-04-19 07:49:41 +00:00
debug
2022-04-19 05:30:45 +00:00
#endif
2021-04-20 08:06:26 +00:00
}
}