473,320 Members | 1,856 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

internationalization without using resource files

i'm working with translators that just want to translate "web pages" and not
deal with resource files. i'd like to have a file structure that looks sort
of like this:

/ <- root directory where all .cs files live
/en-US/ <- english specific directory which contains aspx and ascx files
only
/jp-JP/ <- japaneses specific directory which contains aspx and ascx files
only

i'm having trouble getting Visual Studio to load the .aspx file if they are
not in the same directory as the .cs files.

is this possible? am i forced to use resource files for
internationalization?

thanks
Nov 19 '05 #1
3 1968
> i'm working with translators that just want to translate "web pages" and
not deal with resource files.


If you can, change the translators.

Not that they have to blindly take what you give them, but if they complain
so badly about something that is quite a standard format in the computer
world, chances are they are not technical enough to give you a good
translation anyway.

It is like you are trying to use a programmer that tells you "yes, I am
an expert in Windows programming, but I want notepad only, no Developer
Studio." or a graphic artist saying "yes, I can do what you ask, but I
cannot handle Photoshop files".

They may be ok, but I have some doubts.
--
Mihai Nita [Microsoft MVP, Windows - SDK]
------------------------------------------
Replace _year_ with _ to get the real email
Nov 19 '05 #2
KMA
Contrary to the other poster, I think you should choose translators based on
their linguistic ability, rather than whether they're familiar with a
particular editor or filetype, although sooner or later *someone* has to
import the translated text into a convenient electronic format.

Back to your question
i'm having trouble getting Visual Studio to load the .aspx file if they are not in the same directory as the .cs files.
Isn't it the other way around? I mean the aspx can always be found because
that's what is in the URL. The problem is how to locate the right code
behind file.
is this possible? am i forced to use resource files for
internationalization?
At the end of the day there has to be some structure for holding individual
languages, either the standard MS resource files, or a databse file, or
self-implemented XML, or even the ASPX pages (which are still files). The
question is which one makes sense from the point of view of maintenance.

My own favourite is to put all page text into identifiable labels then swap
the text in the labels at runtine. Of course there's more to this issue than
just text strings.

"Jules" <yu***@yahoo.com> wrote in message
news:Pt********************@speakeasy.net... i'm working with translators that just want to translate "web pages" and not deal with resource files. i'd like to have a file structure that looks sort of like this:

/ <- root directory where all .cs files live
/en-US/ <- english specific directory which contains aspx and ascx files
only
/jp-JP/ <- japaneses specific directory which contains aspx and ascx files
only

i'm having trouble getting Visual Studio to load the .aspx file if they are not in the same directory as the .cs files.

is this possible? am i forced to use resource files for
internationalization?

thanks

Nov 19 '05 #3
"Jules" <yu***@yahoo.com> wrote in message
news:Pt********************@speakeasy.net...
| i'm working with translators that just want to translate "web pages" and
not
| deal with resource files. i'd like to have a file structure that looks
sort
| of like this:
|
| / <- root directory where all .cs files live
| /en-US/ <- english specific directory which contains aspx and ascx files
| only
| /jp-JP/ <- japaneses specific directory which contains aspx and ascx files
| only
|
| i'm having trouble getting Visual Studio to load the .aspx file if they
are
| not in the same directory as the .cs files.
|
| is this possible? am i forced to use resource files for
| internationalization?

nevermind. this works fine, the problem is only Visual Studio itself.
Nov 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: Brian Kelley | last post by:
I have been using gettext and various utilities to provide internationalization for a wxPython application and have not really been liking the process. Essentially it uses a macro-style notation...
6
by: J. Shrimp, Jr. | last post by:
Following code exports tables as text files: For Each tdf In db.TableDefs StrTblName = tdf.Name Me.txtProgName = StrTblName Me.txtProgName.Requery tblAtt = tdf.Attributes moddate =...
7
by: Wysiwyg | last post by:
Is there any way to add an embedded resource to a project without copying it to the project's directory? I have shared resources and don't want each project using the images, xml files, etc. to...
0
by: Pablo Jose Almeida da Guia | last post by:
Well.. ...I am using some resource files to make the internationalization of a ASP.NET application. I created a project and three resource files. ------- resource files ------- /strings.txt...
0
by: gabym | last post by:
Hi there. I've been using VS05 Beta 2 for a couple of weeks now and I'm impressed with the added resource management capabilities they added since VS03. I have several questions. 1. I noticed...
7
by: Kiran A K | last post by:
Hi, i want my web application to support several languages (like english, russian, danish etc). how do i achieve this in ASP.NET? the application should automatically detect the client's...
3
by: Pieter | last post by:
Hi, What's the commonly used way to do internationalization of the text in MessageBoxes? Thanks a lot in advance, Pieter
2
by: Andrus | last post by:
I have resource files in different languages created by VCS 2005 Express. I want to use those files to translate reports at runtime. I have text to be translated as string. I think I need to...
12
by: Juan T. Llibre | last post by:
re: !I found an MSDN document that explains why what I'm trying to do should work Lee, From : http://www.w3.org/TR/REC-xml/ "A special attribute named xml:lang may be inserted in...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.