aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Globalization/ILocalizationManager.cs
AgeCommit message (Collapse)Author
2025-04-07Translate the ISO-639-2/B codes to ISO-639-2/T. (#13068)baka0815
* Translate the ISO-639-2/B codes to ISO-639-2/T. This enables 19 additional languages to be displayed correctly. * Convert the 2-dimensional array to a dictionary * Added the French language to the list of ISO-639-2/B codes * Don't change the property, use a local variable instead. * When creating the MediaStream in the MediaStreamRepository ensure that the ISO 639-2/T (f.e. deu) code is used for the language as that is the one the .NET culture info knows. The other code is most likely the ISO 639-2/B code (f.e. ger) which is unknown to the .NET culture info and will result in just displaying the code instead of the display name. * Move the substitution of ISO 639-2/B to /T to the localization manager. Some language (like Chinese) have multiple entries in the iso6392.txt file (f.e. zho|chi|zh|..., zho|chi|zh-tw|...) but the conversation between /T and /B is the same so use .TryAdd. * Change the method definition from GetISO6392TFromB to TryGetISO6392TFromB and return true if a case was found. * Add unit tests for TryGetISO6392TFromB.
2025-03-30Rework parental ratings (#12615)Tim Eisele
2025-01-25chore: fix spellingJosh Soref
* a * acceleration * addition * altogether * api clients * artist * associated * bandwidth * cannot * capabilities * case-insensitive * case-sensitive * configuration * delimiter * dependent * diacritics * directors * enable * explicitly * filters * finish * have * hierarchy * implicit * include * information * into * its * keepalive * localization * macos * manual * matching * metadata * nonexistent * options * overridden * parsed * parser * playback * preferring * processes * processing * provider * ratings * retrieval * running * segments * separate * should * station * subdirectories * superseded * supported * system * than * the * throws * transpose * valid * was link: forum or chat rooms Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-09Extend language code handlingShadowghost
2021-10-03Fix warning: Using directive is not required by the code and can be safely ↵KonH
removed (#2149)
2021-09-26Remove all instances of en-US cultureCody Robibero
2021-08-15Minor improvementsBond_009
2020-04-05Enable nullabe reference types for MediaBrowser.ModelBond_009
2020-02-04Fix warnings MediaBrowser.ModelBond_009
2019-11-03Fix the last docs warnings.Erwin de Haan
2019-08-16Improve LocalizationManagerBond_009
2019-01-27Reworked LocalizationManager to load data asyncBond_009
2019-01-25Fix a spelling mistakeBond_009
2019-01-13Find+Sed BOM removal *.cs: MediaBrowser.LocalMetadata-MediaBrowser.ModelErwin de Haan
2019-01-13Visual Studio Reformat: MediaBrowser.ModelErwin de Haan
2018-12-27Add GPL modulesAndrew Rabert
2018-09-12Update to 3.5.2 and .net core 2.1stefan
2017-11-01normalize strm file contentsLuke Pulverenti
2017-08-19update live tv data transferLuke Pulverenti
2017-08-09consolidate emby.server.core into emby.server.implementationsLuke Pulverenti
2016-10-27continue reworking provider projectLuke Pulverenti
2016-10-25make controller project portableLuke Pulverenti
2016-10-23move interface to modelLuke Pulverenti