|
|
Localization is the new and great characteristic of DNN3. At this moment, the platform supports only static content, but the plans to obtain location of the dynamic part are on way and widely discussed by the core team and also by third parties. The problems that appear at the time of carrying out an attempt to completely locate the content of a page:
- How to store the dynamic content
- To take in consideration several similar languages (es-BO, es-UY, etc.). That is to say, is it necessary to locate all if they are equal at the end?
- If an external user fills information (ie. a forum), Who completes the content for the other languages?
- and many more.
The idea is to be advancing step by step and the objective of my modules is to provide a solution for the content that can be filled by the administrators and who in certain form I consider that has static characteristics.
|
|
|
|
|
|
DescriptionNewsInstallationDownloadLocaleSelector ConfigurationSource code
Current version: 01.00.20
DSLocalizator is a module that includes a set of tools for:
Modules and skin objects to change the user locale
- Skin object
- Module
- Both can be set as a dropdown or a list of links
- Templates for links can be specified
Custom localization based on user selected locale
- Localize all your portal settings properties (Portal name, keywords, skin, container, copyright text, etc)
- Localize all you tab settings (Skin, Tab name, description, keywords, etc)
- Localize all your module settings (Title, header, footer, container ,etc)
- Enables search for localized data
- Can use a cookie, querystring parameter or browser specified language
- Can use GeoIP database to detect locale based on the client IP address
- You can set the detection order
- You can enable/disable a detection feature
- An automatic replacement can be done to change all links in page to include the language parameter
- SOLPART menu links will be automatically replaced to include the language parameter
- You can create your own custom replacements based on current locale and regular expressions
- Create regex based replacements for each locale
Can enable SQL storage for the response viewstate
- IP ranges can be specified (You can enable it depending of the client IP)
- Per page option (Some pages can use normal viewstate and heavy pages uses SQL viewstate)
- Host can enable/disable this option
- Host can set a scheduler task (automatic) to clear old data (configurable time interval)
- Administrators can change the behavior per site, per page or per IP
Turn you preview mode as default
- Control panel is hidden in preview mode (good for intranets)
- The skin object can show/hide a link designed to change the preview mode status
The module includes a helper that makes all installation for you (you need only a couple of clicks).
License information
MMLinks is released as a free module. It can be used freely only as a PA. Your are not allowed to sell it or rent it (There is no problem if your are using the module and offering some services in the site the module is installed on). No redistribution is allowed
Any reverse engineering is not allowed.
The author takes no responsibility of any damage or injuries produced by the use of this module, so take the necessary steps to keep your data safe.
|
01.00.23
- Enhancement: Dhtml messages for session timeout prevention
01.00.22
- Enhancement: File includer completed (ability to include inline and reference to css and javascript
- Enhancement: Session timeout prevention added.
- Fixed: Now DSL prevents replacements to be made inside the replacements configuration page
- Fixed: Bug preventing dropdownlist templates to be generated
- Enhancement: Custom strings for locale selectors now can be configured for each selector skin object or module
01.00.21
- Enhancemnet: Custom strings for locale selectors
- Enhancement: Ability to export configuration as XML from the DSLocalesSelector module to be used inside the skin object
What's New in 01.00.19??
- Fixed: Problems with the new Portal Alias default language
- Fixed: Missed language resource files
What's New in 01.00.18??
- Fixed: Problems opening general options
- Fixed: Missing resource files for DSLocaleSelector
Whats New in 01.00.16??
- Fixed: Various bugs
- New: Now you can include the locale into each link inside your pages automatically
- New: Now you can replace automatically each link from the solpart menu
- New: You can set the default language for each portal alias (based on rules)
- New: Support for languages like xx-yy-zzzzzz
Whats New in 01.00.14??
Whats New in 01.00.11??
- Fixed: Various bugs
- Fixed: Problems with white space remover
- New: locale translation (es* --> es-BO)
Whats New in 01.00.10??
- Fixed: Various minor bugs
- Fixed: Problem with some querystring values (Search)
- New: Totally new white space remover
- New: You can enable/disable the white space remover in each page
Whats New in 01.00.09??
- Fixed: Various minor bugs
- New: You can specify the locale detection order
- New: Includes a white space remover for optimizing response time.
- New: SQLViewState and White Space Removes can work with the Blowery compression module without problems
- New: Includes a set of 200+ flags
Whats New in 01.00.07??
- Fixed: Various minor bugs
- New: Language detection based on the GeoIP (IP address)
- New: Support for the new multi language features in DNN DNN3.1.1
- Changed: Cookie name and default querystring parameter name for better 3.1.1 compatibility
Whats New in 01.00.06??
- Fixed: Problems with SSL features
- Fixed: Problems with SQL Viewstate
- New: SQL viewstate per page (overrides global configuration)
- Fixed: Some resource keys missed.
Whats New in 01.00.05??
- Fixed: Problems with DNN controls with no postback support
- Fixed: Ckeck order getting locale
- New: Some cleanup on the interface
- New: LocaleSelectors now can show links (Works fine with google) (See bottom-right on this page)
- New: Configuration page for DSLocaleSelectorPA
- New: Configuration parameters for DSLocaleSelector within skin.xml
Whats New in 01.00.04??
- Fixed: Problem with tab localization
Whats New in 01.00.03??
- Fixed: Problems with some tab localization.
- New: Now is posible to localize all portal settings (Portal Name, Skin, admin skin, etc)
Whats New in 01.00.02??
- Fixed: Problem updating general settings when the IPs for the SQL viewstate are not specified.
What's New in 01.00.01??
- New SKIN OBJECT to hide the control panel based on the preview mode state
- Capability of store viewstate on a SQL server table: You can configure (Automaticly) a scheduler task to clear old data (At this moment the time is hardcoded to 20 minutes. Next version will include it as a parameter for global settings)
- Localize all tab properties (Title, name, keywords, skin, containers, etc)
- Localize all module properties (Module title, container, etc)
- Set the preview mode active by default
- All functions can be ENABLED/DISABLED on the general options page.
- A helper that makes all HACKS for you.
DSLocalizator 01.00.06 includes:
- DSLocaleSelector: It is a SKIN OBJECT that provides to the user a selector of the language in which will be the content of the page.
- DSLocaleSelectorPA: It is a module with the same functionality as the previous SKIN OBJECT, but implemented as a module
- DSPreviewActivator: It is a SKIN OBJECT that makes posible to hide the control panel when in preview mode.
- DSTabLocalizator module: It allows the user to localize all tab and module properties based on the curren user locale. Also, it can save the viewstate into a SQL table to reduce response size. And..... also can enable preview mode as active by default.
|
Automatic:
From version 01.00.05, it includes an option to make the changes automatically for you.
Please remember that making a backup of you DNN before installing anything is a good practice.
|
You must be logged in to download. If you are not registered yet, click here to register (its free).
If you are already a registered user, please login by clicking here.
|
To install the locale selector you must use the token [DSLOCALESELECTOR] in your skin.
The following properties can be modified by your Skin.xml:
| Property |
Possible Values |
Default Value |
Description |
| DropDownListCssClass |
Css Class Name |
|
Css Class used by link |
| LinkCssClass |
Css Class Name |
|
Css Class used by link |
| DisplayControl |
DropDownList |
|
Uses a DropDownList |
| |
Links |
|
A list of links for all languages |
| LinksSeparator |
Text |
| |
Link separator template |
| LinkTemplate |
Text |
<a href=""[URL]"" class=""[CssClass]"" title=""[ChangeLocaleText]"">[LocaleNativeName]</a> |
Link format template |
| DropDownListTextTemplate |
Text |
[LocaleNativeName] |
DropDownList text template |
Possible values replaced in templates are:
- [LocaleName]
- [DisplayName]
- [LocaleNativeName]
- [EnglishName]
- [ThreeLetterISO]
- [TwoLetterISO]
- [LocaleCode]
- [ChangeLocaleText] .- Localizing value in the resx file
- [CssClass] .- Specified by LinkCssClass property.
- [LocaleCountryName]
- [LocaleLanguageName]
- [EnglishName]
- [LocaleEnglishCountryName]
- [LocaleEnglishLanguageName]
- [CountryCode]
- [LanguageCode]
|
Due the big number of requests, source code is now available for sale.
It can be used to learn many advanced tasks accomplished in DNN like:
- Make a custom hack to DNN default page
- Save viewstate to other data storage
- Modify object parameters before DNN render
- Install, verify and delete schedule tasks from your module
- Modify your control panel status
Please click the following link to buy it from snowcovered.
|
|
|
|
|
|

If you want to contribute, do it please.
|
|
|
Some places of interest about localization: | DNN Roadmap The DNN core team roadmap for content localization |  | Esperantus A project for web page localization |
|
|
|
There are other groups creating the same kind of modules. I'll be publishing their websites as soon as I get knowledge of them.
|
|