In my web application all texts are rendered trough a method like:
@GetLangText("SomeKeyForText")
Texts not yet existing in the DB will be added automatically. If someone adds a translation in the DB it iwll be shown during runtime instead of just the key.
I started to play with Ext JS.
I am looking for a straight forward approach to get all my own texts from the DB. I can live with the existing localization for the standard texts.
I want to manage the translation of my web application in the database. The administrator should be able to define or correct any texts of the application during runtime in the DB.
I was thinking about using one of the workarounds to use razor in JavaScript (like shown here). But maybe there are better ways especially when we talk about the combination Ext JS and ASP.NET C#.
I am using Sencha Cmd. If it is possible I want to avoid producing some razor code that cannot be compiled with Sencha Cmd.
The sencha documents and examples do not have a lot information regarding the translation of custom texts.