Installation and deployment Questions on installation, system configuration and deployment to the live server.
Version 4.x > Installation and deployment > Managing Culture through the API View modes: 
User avatar
Member
Member
nkoriginal-yahoo - 10/24/2011 4:47:40 AM
   
Managing Culture through the API
Hi, Im trying kentico 4.1 and I would like to know if anyone know how to access to other tables than documents and users.
I need to access using the API to UICulture, ResourceString and ResourceTranslation.

Why?

Because I need to create an application to edit the translation (6 languages) uploading an excel.

Thanks for any help

User avatar
Kentico Developer
Kentico Developer
kentico_ivanat - 10/25/2011 7:58:51 AM
   
RE:Managing Culture through the API
Hi,

you can get the resource string translation using:

ResHelper.GetString("code.name");

The code name is a name of resource string which you can find in the ~/CMSResources/abc.resx file.

More information about .resx files you can find here:
http://devnet.kentico.com/docs/5_5R2/devguide/configuring_multilingual_ui.htm

The current UICulture you can get using:

string UICode = CMSContext.CurrentUser.PreferredUICultureCode;

You said that you need to edit translation. Maybe you can try to use 6.0 version. There is translation functionality already implemented:
Language version comparison

Best regards,
Ivana Tomanickova.