making of multilanguage web site? - c#

Kindly guide me how to make a site that support 2 languages. On joining the site use will select default language. If user select English all pages, button texts and email should be in English but if user select any other language site for him should be coming in that language. The following areas are language specific.
Buttons, Labels, headings and all captions.
Email texts and notifications
All messages including error messages.
Important thing is that currently I want to make this site in 2 languages but later I may want to convert it to other languages.
Please guide.
thanks

Your basically looking to find out the options for Internationalization & Localization provided by .Net. These typically rely on a combination of language specific resource files & use of the utilities & locale information provided by the System.Globalization namespace. There is a very good step-by-step tutorial which guides you through this process here:
http://www.codeproject.com/KB/locale/Internationalization_I18N.aspx
The tutorial is aimed at the construction of a desktop application however the vast majority of it's contents are applicable to a website/web-app. There are also some fantastic asp.net specific resources available here:
http://wiki.asp.net/page.aspx/55/internationalization/

Related

Hanlding Dynamic multi-lingual content in ASP.NET (Roman, Hindi & Urdu)

I want to create a website in ASP.NET which handles multiple languages. My content is in three languages: Roman, Urdu and English.The content will be dynamic.
For example, if a user visits my website and he searches on website for a specific post. Then the user wants to change the language preference, its content will change dynamically as a user selects different language from menu. Then he searches for another post and wants to change language preference to some other language, the content must be translated again into the newly selected language.
I can afford to insert separate data for each of the language in database but i am not sure if this works and how this works (how to create db design for such solution and how to store and retrieve same data in multiple languages in db).
I have been looking at some threads on different platforms but the solutions I have come across with are not feasible for my scenario.
One solution is to use Google Translate, but I need quality translation and Google Translate does not perform well on Roman Language.
Another most encouraged solution for ASP.NET is to use resource files (key-value pairs for content). Using Resource files for small websites where content is static works perfectly fine, but the resource files are not salable and would not work for my scenario as the content I am dealing with is completely dynamic.
Please let me know if there is a solution. Any help will be appreciated!
Thanks.

how to provide links to the words which are same as in wikipedia

As i want to make an application like a wikipedia... I have tried with normal asp.net web application... It is not possible to provide link to the words of any given paragrph...
Its only possible by using wiki like dotnetwiki, screwturn wiki, etc...
Is there any other tools for it..
I spent 5 minutes reading your question and I think the word you are after is: Wiki links.
In most wiki's you put double square brackets around words you wish to be links to other pages.
[[Programming]]
I've researched a few good solutions and I suggest you incorporate/investigate one of these libraries and put the code into your project.
Roadkill .NET Wiki engine:
Free, open source (Ms-PL)
Wizard-based installer
Supports Creole, Markdown and Media Wiki syntax
Both database and Active Directory security by default
Very easy to theme: comes with a mediawiki theme by default
Comes with a screw-turn importer
DotNetWiki
DotNetWiki is a simple wiki engine running on Asp.Net and SQL Server. It purpose is to provide a no frills wiki engine that can be deployed easily, is simple to modify and provides some basic authentication capabilities. Features:
Highly skinnable
Runs on Asp.Net 2.0
Uses a SQL Server Database
Uses Asp.Net Membership Providers for Authentication
Allows you to lock out pages
Supports Google Analytic
Thufir
It is like Wiki-Wiki but has a what-you-see-is-what-you-get interface.
FlexWiki
FlexWiki is an implemention of Wiki, a collaborative text environment.
DevHawk Wiki
Wiki implementation for .NET.
Perspective Wiki Engine
Perspective is a Wiki engine that includes WYSIWYG editing and multiple security models (including authentication using Windows Domains and Active Directory). Attachments are supported. Searching is supported over common file formats: particular MS Office documents.
ProntoWiki
ProntoWiki is a wiki engine/site written in C# with VWD (Visual Web Developer), using ASP.NET 2.0 with SQLExpress 2005 as the backend. The wiki engine is quick and easy to use, and allows text markup equivalent to that of a rich text editor. It accepts image and file attachments automatically through the web interface. Other features include page preview prior to post/update, user authentication based on roles, a customizable appearance and layout using web parts, history tracking, and search functionality.
Deki Wiki
Deki Wiki is a free open source wiki and application platform for communities and enterprises. MindTouch DekiWiki was developed with an emphasis on usability, open standards, extensibility, and performance. DekiWiki began as a MediaWiki fork that was beta tested for a year and half across multiple verticals and use scenarios: manufacturing, education, non-profit, interactive design, software design and development, and more. Based on input from the beta users DekiWiki evolved into something significantly more than just another wiki. It facilitates information sharing in a contextually rich environment, which makes knowledge capture and sharing significantly better than traditional Intranet tools, network file servers, CMS, and any other wikis. MindTouch DekiWiki has the most comprehensive feature set, which includes a rich WYSIWYG Editor, page level file attachments which are indexed and searchable, hierarchical information organization, image galleries, information discovery tools (RSS feeds and a web interface), page and file versioning, page diffs, page level permissions, time based guest invitations, browse wiki link dialog, in-place images, and all data is stored in XML. Additionally, all control logic is being ported to MindTouch's Dream Framework, which is a .NET/Mono distributed application manager.
ScrewTurn Wiki
ScrewTurn Wiki is a performant and simple Wiki engine, written in C# and based on the ASP.NET 2.0 platform. Main features: - No need for a database - No need to touch IIS or ASP.NET configuration - High performance and scalability on every hardware configuration, thanks to a smart and configurable content caching system - Low bandwidth usage, thanks to the (configurable) usage of custom ViewState Compression and HTTP Compression - Simple deployment, administration and usage - Extremely small footprint - Theming available entirely through CSS files (CSS Media Types are fully supported) - Automatic page backups (performing a rollback is as easy as a mouse click) - Secure user accounting system with Administrators and simple Users (with Email account activation), and a built-in admin account - Useful features such as per-Page authorization, the possibility to make the Wiki completely public (no registration needed to edit pages) or forbid the registration of new users - Protected against dangerous files, scripts and spammers (through Captcha control) - Multilanguage interface (EN, IT, DE, FR, ES) - RSS 2.0 notifications for every page as well as for the whole Wiki
MindTouch DekiWiki
MindTouch Deki Wiki is a free open source wiki and application platform for communities and enterprises. Deki Wiki is an easy to use and sophisticated wiki for authoring, aggregating, organizing, and sharing content. Deki Wiki is also a platform for creating collaborative applications, or adding wiki capabilities to existing applications.

What ways are there to support multiple languages for an ASP.NET website?

I want to translate my website to French, without using the Google translation API at run time.
Are there any built-in ways in ASP.NET to allow you support multiple languages?
Since you're running an ASP.NET site, you should be able to use resource files for localisation.
For each bit of text (e.g. title, paragraph etc.) you define a field in a resource file. You can then create one resource file per language, which you can swap depending on which language you require.

About Multilingual Website

Can you please suggest to me the best way to make a Multilingual Website that shows text in the selected language but at time of saving to the database have it saved in English?
There is a hurdle: my website uses some Silverlight.
http://www.silverlightshow.net/items/Internationalization-Globalization-in-Silverlight-Part-1-Terminology.aspx
if it is still relevant I was using Gtranslate plugin on my website for years. Very comfortable. The big advantage: You will have each language version in a dedicated URL - meaning you will get more exposure on the search enginese. But the disadvantages: I suppose it add some load time to your webpages, and of course the monthly payment for subscription.

C# web extracting programming. Which libraries, examples and samples?

I have just started programming and have made a few small applications in C and C#. My understanding is that programming for the web and things related to the web is a very easy task nowadays.
Please note this is for personnel learning, not for rent a coder or any money making.
An application which can run on any Windows platform (even Windows 98).
The application should start automatically at a scheduled time and do the following.
Connect to a site which displays stock prices summary (high low current open).
Capture the data (excluding the other things in the site.)
And save it to disk (an SQL database)
Please note:-
The Internet connection is assumed to be there always.
I do not want to know how to make a database schema or a database.
The stock exchange has no law prohibiting the use of the data provided on its site, but I do not want to mention the name in case I am wrong, but it's for personal private use only.
The data of summary of pricing is arranged in a table such that when copied pasted to MS Excel it automatically forms a table.
What are some steps, guidance, examples and libraries for achieving this task?
You can use the HTML Agility Pack to parse web pages.

Categories

Resources