I am developing a site with multilanguage. Now my question is how to translate english to other language (french ) and vice versa. I want to use one database for all language. I am using php. plz. suggest me!!!
If the pages are dynamic in your site, I am affraid you won't be able to translate the site to other languages because it would become an hassel for you to do it. If there are some static content such as (text, label, title, etc.) in the pages, you can set the the appropriate strings in different languages in database also variables in the pages for these strings.
With LCID session variable, you can retrive the value and then load the appropriate strings for the variables in pages from database. The most web sites actually have partially static pages in different languages.
What a curious mind needs to discover or penetrate a knowledge is noting else than a pin-hole.
I have to translate the site to 6 language.I have already done what you have maintioned.Your procedute is vety simple. If the user is in english labguage and it changes to some other language then the content dynaminc data from the database should displayed with converted language. For your reference you can take the example of www.Unister.com. How they does? Exactly I need that. In that case they are using one database or one database for each language.Plz. help me.
Okay! I have examined the www.unister.com and saw that they have a different domain name for each language and they have developed the pages as I mentioned above.
You should decide about data in the pages what must be dynamic or static and then the things would become easier for you realize the project. For example if you have a news section in the pages that must be dynamic because you suppose to display the news in different languages on daily basis. If you have some static messages. you don't have to enter this to database just keep it static in the specific language.
Of course I assume that you have a control panel where you can add or modify the data (right?). If you don't have a control panel in asp or php, you better consider to have it first.
Also it is not mandatory to have everything translated to another language for example banners. Of course it is up to you.
Let me know the progress.. OKAY! Take it easy...
What a curious mind needs to discover knowledge is noting else than a pin-hole.
I'm trying to design some nice looking HTML based forms. I'm not a CSS wizard so the thousands of hits I got when Googling the subject were useful but not definitive. Can anyone recommend a reasonably priced HTML editor which understands/exposes all the various CSS tags and shows you what the results look like? I'd have expected to find loads of choice but nothing has yet come up on the radar. I've got FP2003 etc but this seems to be totally lacking CSS editing support. Any thoughts etc most welcome.
I am trying to make my web site have a few different sections with a title bar and then the information in the bottom. If you look on the codeproject home page and look where is says Welcome to CodeProject, then it has the information in a box underneath it, that is what I am looking for.
I have looked into the AJAX Custom Panel toolkit, and thought about using custom panels in general, but is there a better, or easier way?
Thanks for you time, appriciate all the help!
The only way to speed up a Macintosh computer is at 9.8 m/sec/sec.
Those look to me like custom controls laid out in a simple table.
Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
I get an "http/1.0 425 http Error" when i try the create a web service using Visual Studio 2003. I have IIS installed and started.
I go to File -> New-> Projects->C# Projects - > ASP.NET web service.
I click 'ok', then i get the above error. Researched it on the web but cannot find a solution get beyond this point.
Anyone know about this?
I have a simple web app that alows the operator to search for files and download them (log files), the click a button to look up the directories, pick a file and download it. This seems to work fine if the source files are on a local disk, but not if they are on a network drive. Is there anything special I need to do or is this one of those deals where doing a dir of a network drive is not allowed.
The call is simple
myName = Dir(MyPath, vbDirectory) ' Retrieve the first entry.
If myPath is local it works fine, if not it returns nothing...
The user context that your web site is running under doesn't allow you access to the the other network drive. Most likely your web app is running under a default app pool which means it is running as aspnet user. This user would not have rights to access a network drive. I would not suggest give that user rights either as it can be a security issue.
In this case it might be best to try to create a virtural directory that allows the web site to have access to those files. Anyway, hope that helps.
Thanks for the help, I am trying to figure this out the hard way and did not realize it was running under a different account, that explains a few things.
This network is an internal network, so security wise my concerns are not as large as they woudl be on the internet. So option #1 is not necessarily closed.
I tried to create a virtual directory but may be mis-guided in how to do it. I created a virtual directory, it appears that it figured out that it was a network drive, I gave it the password for that drive, but when I connect with a browser is asks me for a password again. It does not seem to accept any type of local password or the pasword used to access that drive. Do I need to do something to make the web site get access?
Any additional suggestions or guidance are more than welcome...
Last Visit: 31-Dec-99 19:00 Last Update: 2-Dec-23 11:45