I have a few ASP.NET pages under DNN 8. I have installed slovenian language, and a pair of country-flag images appeared on a toolbar, just like it should. Problem is that my CurrentCulture is always en-us. Current URL is [servername]/[pagename], without culture infix. American flag contains hyper link to same URL ([servername]/[pagename]), and Slovenian flag is without hyper link. I have tried to add URL infix by hand ([servername]/en-us/[pagename], or [servername]/sl-si/[pagename]), but those locations do not exist. I have checked language settings - Enable Language Parameter in URLs? checkbox is ticked. How can I really enable that language infix in URL ? What else should I configure ?
DNN language control does not work
157 Views Asked by Dragan Jovanović At
1
There are 1 best solutions below
Related Questions in .NET
- Does compiler optimize operation on const variable and literal const number?
- What is the point of definnig Asp.net Intrinsic Objects In different places and what is the different betwen them?
- Deleting Orphans with Fluent NHibernate
- IOrderedEnumerable to vb.net IOrderedEnumerable Conversion
- What is this namespace ITypeOfObjectsBoundToListBox ? Couldn't find it
- .net rest service with JSON string and consumed with java client
- What is best way to check if any of the property of object is null or empty?
- Telerik's WPF RadColorPicker NoColorText property not working
- Possible consequences of duplicate ProgId for different classes
- How are multiple requests to Task.Run handled from a resource management standpoint?
- Optimizing C++ call from C#
- Make a per-web-application object available to Web API and SignalR controllers
- System.ComponentModel.DataAnnotations.Schema namespace conflict
- LINQ Except/Distinct based on few columns only, to not add duplicates
- Not displaying content by its URL string - absolute urls
Related Questions in INTERNATIONALIZATION
- How to keep a variable in the URL when using Spring LocaleChangeInterceptor
- Shared behavior state across custom elements
- Using Bootstrap Datepicker Internationally
- ResourceBundleMessagesource - No way to access all properties from a file?
- angular-translate-based custom filter
- How to localize TextAngular tooltips
- Codeigniter view in Wordpress
- grails message as argument of other message
- Play Framework 2.4.0 and I18n with Scala
- Language selector in Play 2.4 & Scala 2.11.6
- How to manage en.yml for different api version
- Spring MVC: Fallback for unknown language code in uri parameter value
- CakePHP internationalization
- Internationalize C program
- symfony2: how to parameter localization so we can have 2 languages?
Related Questions in DOTNETNUKE
- Getting errors while building DNN Code in VS 2010
- DNN - How to Transfer Production Version Code in Local with enabling debug
- DNN Can`t add reference
- How to use different css for different languages in dnn?
- dotnetnuke localresourcefile does not return resource file name for dynamically loaded control
- Moving strings and triggering events with jquery
- Error after upgrading from DNN 7.0 to 7.4.1 (Version Upgrade package)
- Can we create a child with name child.parent using DNN community edition?
- OnEntryAdded doesn't fire in RadDropDownTree When I Change the Value of the DropDownTree
- DNN - dnn.js reference duplicated when ClientResourceManagement is enabled
- DNN 7.4 friendly URL (gclid)
- dnn how to uniquely identify instances of the same module
- DNN - Redirecting to installation wizard
- IIS Redirects me to another URL
- DNN (DotNetNuke) module exceptions not logging
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Solution about enabling of URL variations with language infix : Go to Admin/Site-Settings, choose advances settings, then site aliases; add aliases with infixes for language (for example sl-si) for URL. Those aliases should be language-aware. You can write those URLs into browser by hand, and test if they work.
Now we should add web-control which allows user to toggle between those URL variations. DNN provides that control :
You can add it to any of your web pages. Bellow top of page add another line :
Now I am still looking for a way to add this control to some of DNN's controls (for example - menu toolbar), so it can be visible from all of my modules. Any ideas ?