Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check localization issues #19

Open
ChrisHammond opened this issue Sep 23, 2013 · 2 comments
Open

Check localization issues #19

ChrisHammond opened this issue Sep 23, 2013 · 2 comments
Assignees
Milestone

Comments

@ChrisHammond
Copy link
Owner

Test to ensure that all content can be localized for other languages (rooms names, descriptions, welcomes not included)

@ghost ghost assigned ChrisHammond Sep 23, 2013
@ChrisHammond ChrisHammond modified the milestones: 01.02.00, 01.01.00 Jun 19, 2014
@GregGreensky
Copy link

DNN Chat had almost always (except for the very fist version) problems with putting up localized values only from the SharedResources.pl-PL.resx as is my case. It keeps pulling the values from the original SharedResources.resx file even though the language is pl-PL.

Recently (after upgrading DNN to 7.3.1and DNN Chat to 2.1.0) the DNN Event Viewer started to show meaningful error messages similar to below:

Message:

System.Exception: The following resource file caused an error while reading: ---> System.ArgumentException: Względna ścieżka wirtualna 'sharedresources.pl-pl.resx' nie jest dozwolona.
w System.Web.VirtualPath.FailIfRelativePath()
w System.Web.Hosting.HostingEnvironment.MapPathActual(VirtualPath virtualPath, Boolean permitNull)
w System.Web.Hosting.HostingEnvironment.MapPathInternal(VirtualPath virtualPath)
w System.Web.Hosting.HostingEnvironment.MapPath(VirtualPath virtualPath)
w DotNetNuke.Services.Localization.LocalizationProvider.GetResourceFileCallBack(CacheItemArgs cacheItemArgs)
--- Koniec śladu stosu wyjątków wewnętrznych ---
w DotNetNuke.Services.Localization.LocalizationProvider.GetResourceFileCallBack(CacheItemArgs cacheItemArgs)
w DotNetNuke.Common.Utilities.DataCache.GetCachedDataFromDictionary(CacheItemArgs cacheItemArgs, CacheItemExpiredCallback cacheItemExpired)

Only the virtual paths change (in bold):
'sharedresources.resx'
'sharedresources.host.resx'
'sharedresources.portal-0.resx'
'sharedresources.pl-pl.host.resx'
'sharedresources.pl-pl.portal-0.resx'

The FF 30 console shows two errors:

  • detailed error: [Exception... "Access to restricted URI denied" code: "1012" nsresult: "0x805303f4 (NS_ERROR_DOM_BAD_URI)" location: ""] originating in a resource://gre/modules/addons/XPIProvider.jsm -> jar:file:///C:/Users/Grzegorz/AppData/Roaming/Mozilla/Firefox/Profiles/u3qwtoxq.default-1376713163407/extensions/[email protected]!/bootstrap.js -> resource://gre/modules/commonjs/toolkit/loader.js -> resource://jid1-4p0kohsjxu1qgg-at-jetpack/hola_firefox_ext/lib/proxy.js file, line 305;
  • Error: cannot call methods on dialog prior to initialization; attempted to call method 'close' in http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js?cdv=81 file, line 3

Interestingly, after the both upgrades DNN Chat started to localize the message for Disconnected.Text value. Only this one. :)

@ChrisHammond ChrisHammond modified the milestones: 02.00.00, 02.01.00 Feb 27, 2015
@ChrisHammond
Copy link
Owner Author

I ran into a problem with one of my servers filling up on space due to the localization issues. Unfortunately with all my testing I've been unable to reproduce in development to get them corrected :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants