Page 1 of 1

Ablecommerce in Brazilian Portuguese

Posted: Sun Nov 09, 2008 6:18 pm
by alkasber
Almost finishing the translation of Ablecommerce 7 to Brazilian Portuguese. Took us a while but it is very easy. Will be posting a "how to translate" as soon we finish it.
Most of the translation was done using Generate Local Resource tool on Visual Studio 2005.

Admin Screenshot:
Image

Re: Ablecommerce in Brazilian Portuguese

Posted: Mon Nov 10, 2008 9:36 am
by halain
Hi,
I have to begin to translate my AC7, and would be helpful if you send me the documentation that you have been made.
Can you help me with this?

Thanks so much!

Re: Ablecommerce in Brazilian Portuguese

Posted: Mon Nov 10, 2008 11:12 am
by alkasber
Hi Halain,

Are you transalating it to Spanish? Cool.

Well, it's easy. Since I don't know what you using to translate and what you know about VS2005, I will explain from the beginning.

----

You'll need Visual Studio 2005 (but for transalation only, Visual Studio 2008 will work also)
You'll need AJAX 1.0 installed too, if you don't have it, download it from here: http://www.microsoft.com/downloads/deta ... e2c027f5d6

On Visual Studio 2005 - FILE > OPEN > WEBSITE then open your local Ablecommerce 7 directory.

On the Solution Explorer (right side) open a file, lets open the ADMIN > ORDER > CancelOrder.aspx

It will look like this:
Image

On the lower left side, you have the design tab
Image

Click on this tab and you will get this error. (not every Ablecommerce page will generate this error because not every AC page is a nested page)
Image

But we need to click the design tab to use Generate Local Resource, so we have to trick Visual Studio 2005 on the nested pages error.

The first line of CancelOrder.aspx:
Image

<%@ Page Language="C#" MasterPageFile="Order.master" Title="Cancel Order" Inherits="CommerceBuilder.Web.UI.AbleCommerceAdminPage" %>

modify MasterPageFile="Order.master" to MasterPageFile="" (make a backup of the contents inside the "" since you'll have to restore these contents later)

Now click on the design tab again and wait. When it's show the design of CancelOrder.asxp you're ready to move on.

Click on Tools > Generate Local Resource and wait.

A directory named App_LocalResources will be created under Admin/Oders, inside this dir you have CancelOrder.aspx.resx, click to open it and you will see something like this: (mine is already translated to portuguese)

Image

Now you just translate the VALUE column. When you have finished, save both the CancelOrder.aspx and CancelOrder.aspx.resx, but don't forget to restore the MasterPageFile="Order.master"

With Local Resource you can translate about 80-85% of Ablecommerce 7. Some words won't be translated with Local Resource and you'll have to translate inside the code.

The easiest way for me was to follow the menus on the admin, first was Manage > Dashboard, then Orders and so on... this way you can easily find any word that was missed by Local Resource.

And that's it.

Re: Ablecommerce in Brazilian Portuguese

Posted: Mon Nov 10, 2008 1:11 pm
by halain
Thanks so much!!! I'l try to do it so.

Re: Ablecommerce in Brazilian Portuguese

Posted: Mon Nov 10, 2008 2:44 pm
by alkasber
You're welcome, feel free to ask further questions.

Re: Ablecommerce in Brazilian Portuguese

Posted: Mon Nov 17, 2008 7:04 am
by torns2006
alkasber wrote:You're welcome, feel free to ask further questions.
Hi alkasber,

I need to talk to you about this language.

Can you contact me by email : torns2006@gmail.com

Thanks

Ricardo.