using System.Globalization; using System.Resources; var culture = new CultureInfo("fr-FR"); var resourcePath = "Resources/MyResources.fr-FR.resx"; var resourceManager = new ResourceManager(resourcePath, typeof(MyResources).Assembly); localizationService.AddLocaleResource(culture, resourceManager);In this example, we are creating a CultureInfo object for the French language and specifying the path for the resource file. We then create a ResourceManager object for the specified resource file and call AddLocaleResource method of ILocalizationService to add the resource to the localization service. This example is using a third-party package or library with ILocalizationService implementation. The package/library is not specified.