Last post Feb 24, 2009 12:31 PM by Tamer Fathy
Feb 07, 2009 07:47 AM|Abitha|LINK
i am trying to convert english website to arabic. for that i have done following steps.
1)created default with some controls(label,textbox,datagrid - binded to table from sqlserver
2)generated resx file for this default.
3)copied this default,pasted to olcaresource folder and renamed to default.aspx.ar-EG.resx
that's all i did. but its not changed. when i run the defalt file its showing same english content.
plsm suggest what else i should do.
Feb 07, 2009 12:09 PM|Abitha|LINK
Feb 07, 2009 02:28 PM|Tamer Fathy|LINK
Not a big deal, you need to compile your resources to satteleit assembilies read this article for more info
Feb 09, 2009 08:12 AM|Abitha|LINK
after gone through i got some idea. but i want to make sue with you all.
my doubt is after creating the resource file like default.aspx.ar-EG.resx i have to give the corresponding arabic value in that arabic resource file. that is for example for a word welcome corresponding word in arabic i have to type in that resource file??????????
then only will it displayed on browser?
is it not possible to convert all webpages directly after creating resource file.
my website is now runing successfully. is it possible to convert directly without typic the arabic language.
pls giude as i am v new to this concept.
thanks for all.
Feb 09, 2009 09:43 AM|Tamer Fathy|LINK
the resouces concept is that, you have a resource file for each languge. which is a KEY and VALUE, the keys is tataic for all langauges but value is different from lanagauge to another. in other words you translate the value in each language resorce file
according to its language.
if you need any help just let me know
Feb 09, 2009 09:46 AM|Abitha|LINK
so i have to type the value in resource file in arabic language.
Feb 10, 2009 11:49 AM|Abitha|LINK
somebody suggest me.
Feb 10, 2009 12:25 PM|Tamer Fathy|LINK
yes type the value in arabic resouse file (arabic language). the english resource file the value is english language
Feb 11, 2009 06:46 AM|Abitha|LINK
thanks for the reply.
but what about the datas in sql server db. there are more than 5000 records.
what to do? pls kindly suggest me more.
Feb 11, 2009 10:49 AM|Tamer Fathy|LINK
could you pleas eloberate more on what type of data in the databse (lookups or data entry).anay way you can have a look on this it's great article will help you
Feb 16, 2009 06:29 AM|Abitha|LINK
i am using sql server. data entry type data base.
how to convert this to arabic. is it possbile?
pls guide as still i am strukking where to start and how?
Feb 16, 2009 08:45 AM|Tamer Fathy|LINK
ok great, to make ur database support arabic and any other language you need to make all Var fields to be nvar. and i have other question is the dataentry will be saved in different langugae or in one language (arabic or english only)
Feb 16, 2009 10:15 AM|Abitha|LINK
we are using control panel to upload data into databse. that is in english only.
not in arabic. pls suggest.
thank you for your cooperation.
Feb 22, 2009 09:39 AM|Abitha|LINK
no reply from you.
please suggest me as i am in need of good start.
Feb 22, 2009 12:39 PM|Tamer Fathy|LINK
it dependes on your requirments. let me desvripe it more. to globalize an appliaction (make it localizable) you need first to address what to loaclise
-Static content (lables, message, page direction..etc)
-Data (Data entry by end user) this requires building globalised data base in case the user will enter his/her data in different lanaguge. which means there will be a culomn for each language (I.e there will be a user name in arabic and in egnlish and in
france ..etc) or it will be just one user name for all langauges and the user can insert it as he want (english or arabis) then it will be displayed in the entered values with different lanaguages.
based on the above you can decide then.
local resource asp:Localize culture
Feb 24, 2009 06:25 AM|Abitha|LINK
i am so sorry to say that i didnt understood your point.
please give in brief. thanks and sorry again
Feb 24, 2009 09:20 AM|Tamer Fathy|LINK
ok no problem
i have one question is your web site will be multi-languge, and is there any data entry in it or it's just viewer of information
Feb 24, 2009 11:59 AM|Abitha|LINK
my site contais both displaying company details and have user registeration form,subscribe Newsletter form etc... for user.
so i vl set one flash at welcome page. there vl a link contains english and arabic so when user click arabic the site vl be in arabic. otherwise in english.
i have the sql server database for english now. (all values in arabic) for arabic how should i do? i tried to create database for arabic. i seleceted arabic as collation in options.
but it shows error: failed to create database. (microsoft.sql.server.expess.smo). master denied.
pls explain what to do?
thanks for your patience.
Feb 24, 2009 12:31 PM|Tamer Fathy|LINK
In order to make your database support different langauge, make it's collation latin, and set all ur tables string column type from var or varchar to be nvar or nvarchar, then ur database will support any language