Website In Multiple Languages?

Apr 5, 2012

I need to write a web application that should be available in several languages.

I can think of several way to do this, but I would like some advice on the best method.

1) put a table on the SQL server where each line as a unique ID and a column for the text for each language

2) Do the same as 1 but then use an XML file

3) Put for each language a table on the SQL server with only two columns (ID,text)

4) The same as 3 but in XML files

5) make a DLL with a collection class (read the choosen language from the database and place it in a collection, then use a FIND function)

6) make a DLL with a collection class for each language where the data comes from an XML file in the resource of the project.

View 1 Replies


ADVERTISEMENT

Website With Multiple Languages Can't Use Classes In C# Code?

Feb 23, 2012

I'm developing a new functionality for web site project with VB.NET default language in VS 2008. As my preferred language is C# I create subfolder for C# code in the App_Code folder and add appropriate codeSubDirectories element to web.config file. The problem is that I can't refer VB.NET classes in my C# code. All VB.NET classes and structures are placed in global namespace in the App_Code. But even if I place some VB.NET class in the same namespace I've use for my classes in C#, I still can't use them.

View 2 Replies

Making A Website Compare To Other Programming Languages?

Jul 30, 2009

i want to know if vb.net is best or better to be used in making a website compare to other programming languages?what are the advantages of using vb.net?i will start to study about vb.net for our thesis project.my group thesis project is about making a website,an online hotel billing and reservation system.

View 4 Replies

Asp.net - Multilingual Website, Change The Asp CommandArgument Directive To Html To Switch Languages?

Jan 29, 2012

I have a multilingual company website (Visual Studio / VB / ASP.NET 4.0), and when, on the homepage, you click a flag, the text changes to that language and stays with you the entire session, after I made a class, BasePage.vb. Everything works great, but the URL never changes .... clients.aspx remains clients.aspx although the text DOES switch to Dutch.

It's been recommended by @Aritstos to make it so it looks like clients.aspx?lang=nl as opposed to just clients.aspx in another language.

Currently, my asp homepage hyperlinks that work look like this:

<asp:LinkButton ID="LinkButton7" runat="server"
CommandArgument="nl" OnClick="RequestLanguageChange_Click"
class="flagbutton">

[Code]....

View 1 Replies

.net - Create Multiple Projects Using Different Languages?

Jan 24, 2010

Is there a way for me to create multiple projects using different languages under 1 solution in VS 2008? If so, how?

View 3 Replies

VS 2005 Supporting Multiple Foreign Languages?

Jun 4, 2009

It looks like the next version of our application is going to have to be multilingual. People may be using it in Israel, Singapore, Japan, and who knows what other places. Consequently we'll have to change our text in labels, on message boxes, etc. to match the language where the app is installed.I know, or at least I think, that there are features built into the .net framework that can assist with this, but where is a good place to look for documentation or guidance as to what to use and what sort of design considerations to address?

View 2 Replies

C# - .NET Languages The Mainstream Languages For Windows (standalone) Applications?

Jun 24, 2010

I'm an inquisitive .NET student without any commercial working knowledge and I have been puzzled by what exactlty are .NET languages meant for? Q1.If you look on job websites, .NET seems mainly used for web applications, not much for Windows applications? (My dream job is to develop standalone small Windows applications.)

[Code]...

View 11 Replies

Case-sensitive Languages Vs Insensitive Languages?

Nov 27, 2010

visual basic.net is case insensitive so it allows the coder to write without caring or remembering the casing of variables. it also relieves from the 'undeclared variable' errors if you use the variable in another case than the one used in declaration. The fact that its line termination is a line feed makes it even more readable unlike C# or c++ that need good care in the casing and contineous war with following up with the {}, matching them and figuring out which is for which.my question is what are the advantages of c# over vb knowing that both get compiled to MSIL so there is almost no performance difference between the two languages?

View 1 Replies

Asp.net - Implement Security Trimming With A Website With Multiple Folders And Multiple Web.config Files?

Jun 18, 2012

I have a website that has highly granulised access and hence requires many web.config files. The problem is I would like to trim the menu so that only certain users will have access to certain folders. I have enabled trimming and setup roles in the sitemap, however when I access the page the menu is not show, as I am authorized to view the default page which is not in a subfolder. When I type the url of a page in sub folder's I have access.

How should I handle this:

A site map for each web.config file - don't know how this will work Removing the sub web.config file to only use a single one

View 3 Replies

.net - Making A Search For Website Without Having To Nestle Multiple IFS?

Jan 4, 2011

I would like to search my database for products from a table(products)The problem is i do not want 600 rows of code with multiple if's.The code looks as following atm(do not want it like this)

Public Function GetSearchResults(ByVal County As Integer, Optional ByVal Searchtext As String = "", Optional ByVal Category As Integer = 0, Optional ByVal SubCategory As Integer = 0) As List(Of Product)
Dim dc As New DataClassesDataContext

[code]....

AND alot of elseifs and so on... The problem is that if the value is 0 at any of the above the search will be for all countys/categorys/headlines.... is there a better way to do this? i mean linq is great there have to be a way to make it more dynamic so i dont need the IFS.

View 4 Replies

VS 2010 - Multiple Login To One Website Using WebBrowser

Feb 12, 2012

I'm working on some application that can multiple login to one website right now I'm using webbrowser to login but can only for 1 account how to make it can multiple login? Can I use webbrowser to make it or have to use another method?

View 5 Replies

Best Way To Have Different Languages?

Jan 25, 2010

Best way to have different languages?

View 4 Replies

Get Available Languages In Asp.net

Jan 10, 2010

i am trying to get the available languages installed in visitors pc's. The problem is that i don't want to get the languages from the internet browser.

View 1 Replies

VS 2008 Select Website In Combobox Open Form2 With Website Preview?

Feb 19, 2010

What Im making is like a face book and tagged login from my app

1. I have Combobox with 3 urls in there ( Facebook.com Tagged.com and Bebo.com )
2. I have a Form2 with webbrowser
3. I have a Button when clicked it should open up my form 2 and preview of the website which I selected in my combobox in form1

All I'm trying to do is when I select lets say facebook in my form 1 and click load it should open up my form 2 with facebook website in it.[code]Now when I click my button in form 1 it will load Form2 ( named Explorer1) but my form2 is not showing me facebook or tagged page for some reason

View 13 Replies

More Languages In Program

Dec 21, 2009

I´ve been tryed to get more languages in my program.I´ve tryed application settings.

View 8 Replies

Why Use VB Over Other Programming Languages

Feb 24, 2011

Why use VB over other programming languages?

View 2 Replies

Creating A Website That Allows People To Upload Images To The Website In A Folder?

Feb 26, 2011

i'm creating a website that allows people to upload images to the website in a folder called images on the Site. But I don't know how to upload a file and I'v searched everywhere Please Note: In this Website were not Using the asp:fileupload, were developing our own interface

View 1 Replies

C# - Developing ASP.NET Web Site For Different Languages

Oct 7, 2011

I'm building a website which will have a Spanish and Italian version.

In the past, when building a site which must be available in different languages, I've created a SQL Table like follows:

dbo.News
--------
ID int
EnglishTitle nvarchar(200)
SpanishTitle nvarchar(200)

[Code]....

However, I've found this really time consuming (especially if the client later asks for another language option as a second phase).

What is the best practice for doing something like this, allowing scope for extra languages?

View 5 Replies

C# - Multiassignment In VB Like In C-Style Languages?

Feb 22, 2010

Is there a way to perform this in VB.NET like in the C-Style languages:

struct Thickness
{
double _Left;
double _Right;

[code].....

View 2 Replies

C# - Project With Mixed Languages In .NET?

May 4, 2011

I'm not sure if what I am trying to do is possible, but surprisingly VS2008 seems to let me copy a .cs file directly into my VB.NET project. I then thought that I may be able to use the class in this file directly from VB.NET. However, it doesn't see it when I try to reference it in. Is what I'm trying to do possible, or is VS2008 simply treating the C# file as a resource file or something?

View 3 Replies

Get List Of Countries And Languages?

Mar 23, 2010

Sometimes, you see a ComboBox in Windows with languages or countries in it. Is there a component like that in VB.NET? Or can I get the list from Windows?

View 7 Replies

Multiassignment In VB Like In C-Style Languages?

Feb 22, 2010

Is there a way to perform this in VB.NET like in the C-Style languages:

struct Thickness
{
double _Left;
double _Right;

[code]....

View 2 Replies

Quickly Switching Through Languages?

Sep 22, 2009

I am currently writing a program and I have all the windows in three languages. Is there any way of quickly changing through the languages? I mean, I can do it manually but the list has like 500+ languages and I was wondering if there was any keyboard shortcut to switch between the used languages, or any way to put a buttom on the toolbar.

View 4 Replies

VS 2008 - Website Scanner - Scan A Website Every 15 Mins

Apr 6, 2009

What I want is: To scan a website every 15 mins or so, (craigslist in this case), and email myself any new posts that come up. I know I need to use WebClient, but I never used that before. Another question would be how to only email when a new post is up and not receive the same email every 15 mins.

View 2 Replies

Asp.net - Create Querystrings In URLs For Languages?

Jan 30, 2012

I somehow managed to make my company's website in 9 languages, using Visual Studio 2010 / VB / ASP.NET 4.0. I believe I'm using sessions. But you can tell for sure if you see the code provided below. I know this message is long, but I really need help.

It's a multilingual site, and I managed to put flags on the homepage. When I click a flag, the page's text changes to that language. When you click the French flag, it gets the information from the "FR" .resx resource file in my apps_GlobalResources folder. It stays on that language for the end-user's entire session. Great! Well, not so great.

The URL, for instance, about.aspx, remains about.aspx. Granted, the text changes to French, but I've been told that it's recommended to make it look like, if the client chooses French, for example, [URL] (For reference, if anybody is kind enough to delve into this issue, which may be a simple one, all of my files I've used in this are included below -- and they're kinda lengthy)

<asp:LinkButton ID="LinkButton6" runat="server"
CommandArgument="de" OnClick="RequestLanguageChange_Click"
class="flagbutton">

[code]....

View 1 Replies

C# - Asp.net Webservice - Make Compatible With PHP And Other Languages?

Mar 23, 2011

I am currently creating a web service in vb.net and I would like to ask the community what is the best way to make this compatible for PHP users and other languages.An example of my code is as follows:

Public Shared Function GetBasketInfo(ByVal sessionid As String, ByRef ds As DataSet, ByVal attributes

As String) As DataRow
If String.IsNullOrEmpty(attributes) Then
Throw New ArgumentNullException("Please supply a manufacturer")[code].....

My question is will this method be compatible with PHP consumption.

View 1 Replies

C# - Case-sensitive Vs Insensitive Languages?

Nov 28, 2010

visual basic.net is case insensitive so it allows the coder to write without caring or remembering the casing of variables. it also relieves from the 'undeclared variable' errors if you use the variable in another case than the one used in declaration. The fact that its line termination is a line feed makes it even more readable unlike C# or c++ that need good care in the casing and contineous war with following up with the {}, matching them and figuring out which is for which.

my question is what are the advantages of c# over vb knowing that both get compiled to MSIL so there is almost no performance difference between the two languages?

View 4 Replies

Foreign Languages Typed In A Textbox?

Jul 12, 2010

I am trying to allow the user to enter data in any foreign language, (Cyrillic, Arabic,etc.) by entering the data into a textbox.Unfortunatly when I change the language of the test machine it still fills in the US standard ASCII characters instead.

View 4 Replies

Forms :: Switch Languages In VB And Strings

Sep 1, 2010

I've seen quite a few posts regarding changing cultures, localize cultures, etc... but I couldn't care less about all that auto-stuff.I'm developing this GUI to connect with one of our production machines that will be used by the ppl who will be servicing the machines. Which might well be anywhere around Europe and soon enough Japan and US. Therefore, it was asked already to have language options, cause the guy servicing is likely to be a local.

As I said, auto-stuff doesn't bother me, all I want is the option to go to File -> Preferences and change a drop-down box to whatever language the person fancy and put a My.Settings.Save() I'm planning to create a few simple xml files called "en", "fr", "sp", etc which will be something like: <Frm_Main.Label1>Text of the label</Frm_Main.Label1> The actual problem is: I know the coded strings will have to be manually set, but: Is there a way to cycle through all the UI items (labels, toolstripmenu, buttons, group boxes) to set those .text ?? I'm trying stuff like

[Code]...

View 10 Replies

How To Convert English Letters To Other Languages

May 12, 2011

Is there any way to convert to english words to any other languages as it typed.for example, if i type "sekar" in a text box it should be converted to "tamil" language.

View 3 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved