summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
f39bd9b)
If getting the resource manager is failed, the NUIGadgeResourceManager
tries to get the resource manager from the TwoLetterISOLanguageName of
the CultureInfo.
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
try
{
var resourceManager = GetResourceManager(cultureInfo.Name);
try
{
var resourceManager = GetResourceManager(cultureInfo.Name);
+ if (resourceManager == null)
+ {
+ resourceManager = GetResourceManager(cultureInfo.TwoLetterISOLanguageName);
+ }
+
if (resourceManager != null)
{
result = resourceManager.GetString(name, cultureInfo);
if (resourceManager != null)
{
result = resourceManager.GetString(name, cultureInfo);