Globalizing the application which uses SiteFinity
Hi,
We are globalizing an application which uses SiteFinity. There is a folder for SiteFinity within the application which uses RESX files.
Our design will be using Database for resources and not the RESX files by overriding the configuration at the application level in Web.Config.
Now, SiteFinity files are expecting the resources to be available in our database.
Is there any configuration that could be done to force SiteFinity files to use its RESX files instead of the database.
Or, do we have to push SiteFinity's resources to our Database to make it work? If so, is there an exhaustive set of resources that we can add to the Database so that in future, we do not need any maintanence activity on this regard.
It will be helpful if we get a solution or suggestion on this at the earliest. We need a solution or suggestion immediately since we are in Construction phase and are facing this issue.
Thanks,
Geitha
Hello Geitha,
To use resx files in Sitefinity add a new folder App_Data/Sitefinity/GlobalResources this is where the .resx files are picked up. To review the .resx files in the backend go to Administration->Interface labels and messages search for a resource and in you need to edit it trough the backend for a given language you may do it there.
Sitefinity picks up resource files from App_Data/Sitefinity/GlobalResources which is different than ASP.NET application that picks them up from App_GlobalResources
Hi,
Will SiteFinity pick up the resource files from the folder as suggested by you even if we override the configuration to use DB instead of RESX files?
Thanks,
Geitha
Hi,
If the .resx files are in the DB and not in App_Data/Sitefinity/GlobalResources they will not be read.
All the best,Issue we are facing is that:
We are using DB for storing the resource strings. RESX files will be ignored.
But SiteFinity needs its own RESX files which should be available as part of App_GlobalResources folder.
Since, we are using DB for resources and not RESX files, we cannot have the Telerik related resources too inside RESX files. Even if we have these as part of RESX files, these will be ignored. Now, we are forced to push these data into our DB, along with any localized strings.
Want to know if there is any provision to force Telerik to use its own RESX files and not to check our DB.
Also, we want to know if these resources will be displayed in the UI. If so, we need these content in the following languages that we support in our application:
English (USA)
Chinese (China)
Japanese (Japan)
Korean (S.Korea)
French (France)
German (Germany)
Spanish (Spain)
Please share us the RESX files used by SiteFinity for the above specified languages at the earliest, if you have. It would help us.
Thanks.
Hi,
The resources for Sitefinity backend are not called trough .resx files, but they are created trough code. To change them to particular language we are using excel files that can be downloaded from sitefinity marketplace for most languages. To use the language pack (it can be customized) is installed following this documentation, however there are resources for the RadControls that are used trough the CMS as they are used for all controls in Sitefinity. Those .resx files are in Telerik.Web.UI assembly and they can be taken from the installation package of RadControls that is also available with Sitefinity SDK.
If you need to change something for the resources there is also another option. Go to Administration->Interface Labels and Messages and search for the resource that should be changed. Clicking it will give you textboxes for each language.