This is a discussion on DotNetNuke within the ASP and ASP.NET Programming forums, part of the Web Development category; Hi, could any one explain how to implement the multilingual in DotnetNuke...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
| |||
| An advantage to using the DotNetNuke framework is it's extensive support for Localization. This provides the ability to translate the content of a portal. The key to making this work, is that the module programmer must allow the module to be Localized.
__________________ Shaalini.S ![]() Be the Best of Whatever you are... |
| |||
| Localization is a very important part of building websites, especially in countries that have more than one official language. That is why dynamic localization becomes important because without it, all dynamic content would have to be replicated for as many languages as need to be serviced. DotNetNuke also distributes the authority to manage websites directly to website owners. So all web administrators can use a single DotNetNuke core to manage their websites, intranets, and extranets. This is made easy through the web interface using which these administrators simply browse to the section where they wish to add, remove, or update information.
__________________ Shaalini.S ![]() Be the Best of Whatever you are... |
| |||
| An advantage to using the DotNetNuke framework is it's extensive support for Localization. This provides the ability to translate the content of a portal. The key to making this work is that the module programmer must allow the module to be localized.
__________________ Shaalini.S ![]() Be the Best of Whatever you are... |
| |||
| A typical scenario shows the steps a portal administrator would make to provide a Spanish translation for users of their portal. 1. The Portal administrator adds a Locale from the Admin -> Languages menu 2. The Portal administrator uses the Language Editor and selects the User Control to be localized and chooses the Locale 3. The administrator then enters translations in the file: 4. The Visitors to the Portal can select Manage Profile 5. And change their Preferred Locale 6. And the module will display in the chosen language
__________________ Shaalini.S ![]() Be the Best of Whatever you are... |
| |||
| Creating the Module We will create the module using the following steps: Create the folders Create the files Create the content Creating the folders under DesktopModules In the Solution Explorer, right-click on the DesktopModules folder and select NewFolder. Name the folder Test. Right-click on the Test folder and select New Folder. Name the folder App_LocalResources. This is where resource files will reside. These resource files will be used to provide Localization. Localization will allow the module to be used in different languages by simply replacing the text in the resource files We will first create the Localization files that will be used to provide the text for the user controls of the module. This will allow a portal administrator to replace these files and display the text in a different language. Right-click on the App_LocalResources directory (that is under the Testdirectory that is under the DesktopModules folder) and select Add New Item.
__________________ Shaalini.S ![]() Be the Best of Whatever you are... |
| |||
| When the Add New Item menu comes up, select Resource File and enter EditTest.ascx.resx in the Name box and click the Add button. The EditTest.ascx.resx will appear in the Solution Explorer. The file will also open in the Edit window. Close this for now Repeat the steps used to create the EditTest.ascx.resx file to also create: Settings.ascx.resx Test.ascx.resx
__________________ Shaalini.S ![]() Be the Best of Whatever you are... Last edited by shaalini : 03-11-2008 at 09:21 PM. |
| |||
| Right Click on the Test Add new Item When the Add New Item menu comes up Select Web User Control Enter Test.ascx in the Name: box. Select a language in the Language drop-down Click the box next to Place code in a separate file Click the Add button.
__________________ Shaalini.S ![]() Be the Best of Whatever you are... |
| |||
| To Test Add the label in test.ascx <asp:Label ID="lblFeatures" runat="server" resourcekey="lblFeatures.Text" /> Click on the EditTest. ascx.resx In Name column enter as lblFeatures.Text In value Column Enter as (Value wat ever u want to display in the label) Repeat the steps for the setting.ascx. resx Test.ascx.resx
__________________ Shaalini.S ![]() Be the Best of Whatever you are... |
| |||
| To Implement for the user login in to admin username and pwd Click on the Admin Menu Select Language click on the language editor click on the local resources click on Desktop modules click on test application which u have created Click on the App _LocalResources Click on the Test. ascx Now change the localised value for the corresponding language by selecting the available locales
__________________ Shaalini.S ![]() Be the Best of Whatever you are... |
| |||
| Now click on the Admin menu select user accounts select user Edit the user profile Click on the manage profile select the language and then click update Login in modified username password
__________________ Shaalini.S ![]() Be the Best of Whatever you are... |
| |||
| DotNetNuke® is a free, Open Source Framework ideal for creating Enterprise Web Applications Welcome to the official community and development site for the DotNetNuke Open Source Web Application Framework. From downloads to documentation, DotNetNuke.com offers a comprehensive base of information, resources, and support to the DotNetNuke community. DotNetNuke Is… Versatile – DotNetNuke is an open source web application framework ideal for creating, deploying and managing interactive web, intranet and extranet sites. User-Friendly – DotNetNuke is designed to make it easy for administrators, content editors, developers, and designers to manage all aspects of their web assets. Wizards, content-sensitive help, and a well-researched user interface provide a superior user experience. Powerful – DotNetNuke can support multiple websites from a single application installation. In dividing administrative options between host level and individual site level, DotNetNuke allows administrators to manage am unlimited number of websites – each with its own unique appearance and content. |
| |||
| Feature-Rich – DotNetNuke comes loaded with a set of built-in features that provide exceptional functionality. Site hosting, web design, content management, security, and membership options are all easily managed and customized through simple, browser-based tools. |
| |||
| Supported - DotNetNuke is managed and supported by DotNetNuke Corporation, a legal entity which provides production Service Level Agreements as well as other professional services for the platform. DotNetNuke is also supported by its Core Team of volunteer developers and a dedicated international community. Through user groups, online forums, resource portals and a network of companies who specialize in DNN®, help is always close at hand. |
| |||
| Easily Installed – DotNetNuke can be up-and-running within minutes. Developers can simply download the software, and follow the simple installation instructions. In addition, many web hosting companies offer integrated installation of the DotNetNuke application with their hosting plans, providing a simple mechanism for end users to experience the power of the platform. |
| |||
| Localized – DotNetNuke includes a multi-language localization feature which allows administrators to easily translate their projects and portals into any language. And with an international group of host and developers working with DotNetNuke, native support is always close at hand. |
| |||
| Open Source – DotNetNuke is provided for free, with full source code, licensed under a standard BSD open source license agreement. It allows individuals to do whatever they wish with the application framework, both commercially and non-commercially, with the simple requirement of giving credit back to the DotNetNuke community. |
![]() |
| Thread Tools | |
| Display Modes | |
| |
LinkBacks (?)
LinkBack to this Thread: http://www.discussweb.com/asp-asp-net-programming/5300-dotnetnuke.html | |||
| Posted By | For | Type | Date |
| DiscussWeb IT Community - Technical Support and Technology Discussions | This thread | Refback | 02-25-2008 11:40 PM |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Explain DotNetNuke Multiple Portal Method | oxygen | C# Programming | 1 | 07-23-2007 01:15 AM |
| DotNetNuke | econwriter5 | ASP and ASP.NET Programming | 2 | 04-24-2007 10:57 PM |