Vous êtes ici Forums
  |  Connexion
 Forums
HomeHomeForums DNNForums DNNTraduction et l...Traduction et l...Translate Store to DanishTranslate Store to Danish
Précédente
 
Suivante
Nouveau message
02/10/2007 23:34
 

Hello,

Im working on a website for a customer where im using the store modul. I have everything up and running and its working smothly - there is just one little issue and that issue is that everything is in english, which is fine enough if you live in a english speaking country, but i do live in Denmark :)
So i must translate it to Danish, and since im rather new to DNN, i really dont know where to start and how to do it - a guide would be perfect and you will ofcourse get the translation if you want it.
I have tryed to look at your forum, but since i understand something like oui and not much in french i have a problem ;)

Best Regards

Bjarne Pedersen
Denmark

 

 
Nouveau message
03/10/2007 03:35
 

Hi Bjarne,

Don't worry about your French, I do not know a word in Danish!

If you use Store 01.00.01, you can't translate the full module. Because there is lot of strings "hard coded" in the source.

If you use WWStore 02.01.01, you can translate the FULL module directly inside DNN. WWStore is already translated in Dutch, Greek, French, and Swedish. Note that your work will be reused for the official Store module when it will be released. Because I maintain both versions and Store is the same code than WWStore, only names are differents (dll, classes, tables, ...).

When a module is "well designed" it's realy easy to translate it. Loggin as host to your web site and install WWStore_02.01.01_Install.zip and WWStore_02.01.01_SkinObjects.zip like any other module (Host > Module Definitions, then clik on Install New Module at the bottom left). Both files are availables in the download section.

When you installed both files go to Host > Languages. On this screen, normaly you have two locales installed: English (United States) and Dansk (Danmark). If you don't have Dansk installed, select it in the Language combobox and click on Add. This do not translate dnn and the modules, but "tell" to dnn that you want to work with the selected locale.

Now, click on Language Editor at the bottom left. The Language Editor screen have two parts, a tree view on the left and the resources list of the selected resource file on the right. There is two kind of resources: Global and Local. Global resources are shared for dnn and modules. Local are specific to each module, to dnn controls and providers. In the right pane, start to select your language in the Available Locales combobox, then check Highlight Pending Translation. Now every resources are surrounded in red, this allow you to see what resources are NOT translated.
 
For translate WWStore, expand LocalResources > DesktopModules > WWStore and select the first resource file Account.ascx inside App_LocalRessource folder. The corresponding resources are displayed in the right part. Translate each one and click on Update. Repeat the same operation for every resources files inside WWStore folder and his sub folders. This is a lot of work, but it will be usefull for all Danish users!
 
When you have finish all the translation, return to Host > Languages and click on Create Language Pack on the bottom. Select Dansk (Danmark) for Ressource Locale, click on Module for Resource Pack Type. In the modules list, select: WWStore Account.02.01.01, WWStore Admin.02.01.01, WWStore Menu.02.01.01, WWStore Mini Cart.02.01.01 and WWStore StoreFront.02.01.01 (the five files MUST be selected). Entrer WWStore.02.01.01 for the Resource Pack Name and click on Create. Now dnn tell you where the resource file is, normaly inside yourdnnfolder\Portals\_default\, you can click on Download... for save the resource file to an other location on your disk. Please send me this file, I will ad it to the download section. My email address is in my profile, click on ploum in the left column.

There is two graphic buttons to translate, you can find the template (ButtonsModel.psd) for create Danish version inside yourdnnfolder\DesktopModules\WWStore\Templates\Images. If you do not have PhotoShop or compatible graphic tool, send me the translation for: Buy Now! and Add To Cart. I will create the localized buttons for you and add it to the download section.

Gilles

 
Nouveau message
03/10/2007 09:43
 

Hey Gilles

Thx for the guide - ill start to translate asap, i guess there will go a couple of days.

 
Nouveau message
03/10/2007 22:27
 

Damn, its some kind of work you have put me on there, Gilles!

There is a *lot* of sentence and words to translate, actually a lot more than i expected!

Bjarne

 
Nouveau message
04/10/2007 01:15
 

Hi Bjarne,

I did not lie when I wrote: This is a lot of work, but it will be usefull for all Danish users!

Think that it is a good deed for the greatest number.

Gilles

 
Nouveau message
07/10/2007 10:24
 

Hi Gilles

I have send you an email with the translated store, so you can put it on download.

And you were not lying, it were a rather big job :)

Best Regards

Bjarne Pedersen

 

 
Précédente
 
Suivante
HomeHomeForums DNNForums DNNTraduction et l...Traduction et l...Translate Store to DanishTranslate Store to Danish