11 Answer(s)
-
0
Thank Feedback, let me see how to improve it.
-
0
Properties are not tranlated
Because there may be some developer-defined entities. So we can't provide translations for all properties. Developers can handle it themselves if needed.
-
0
Hi @maliming
can't you do something like this in the "rendering"?
L("Application") L("MileageDateStart") L("Remarks") L("StandStillMonths")
-
0
I can do this, just there may be user-defined entities in the change logs. The properties of the entities are also different, we can't predict them,
-
0
Hi @maliming
not sure what you mean by user-defined entities - is it the heading in the two modals?
e.g. "Change logs: Contract ()"
"Contract" is translated via "PROJECT.Contracts.Contract" - so that is working.
By the way - what is suppose to go in between ( ) - in the heading of the Change Logs modal?
-
0
Hi @deltavision
I think what @maliming is trying to say that, you can create an entity in the project (lets say Hotel) and define its fields as you want. Lets say that you defined a property named Address and we can use
L("Address")
in the related cshtml file. But the thing is, if you don't add Address key to your localization xml file, it will be displayed as [Address] to the end user. -
0
Hi @ismcagdas,
I think that the special created entities and fields added to the project - almost always will be translated for use in UI in general.
So I think it is OK if it says "Address" or "[Address]" (same thing). Then you know you need a translation in your localization xml files :-)
What about the last question: what is suppose to go in between ( ) - in the heading of the Change Logs modal?
-
0
You are right :), I will create an issue for this. In that way, we can force developers to translate the UIs generatead by RAD Tool. I will also check when there is no text between "( )" and let you know.
-
0
Hi ismcagdas,
just to follow up :-)
Did you change or is it planned to translate the property names?
What is suppose to go in between ( ) - in the heading of the Change Logs modal?
-
0
Hi,
Sorry for the delay. I created the issues;
https://github.com/aspnetzero/aspnet-zero-core/issues/2895 https://github.com/aspnetzero/aspnet-zero-core/issues/2896
I think it should be the entity name. I will also check it out.
-
0
This issue is closed because of no recent activity. Please create a new issue if you are still having this problem.