How i do localization for payment module that is added by abp add-module Volo.Payment this command i have already generate angular html code how i do localization for that some fileds are in spanish and some are in english
Fecha de creación Min Fecha de creación máx. Payment type Status Plz suggest how do localization
5 Answer(s)
-
0
how add one row in this page
Hi, in the Language Texts page, you can't create a new localization entry, instead it's used to dynamically change an existing localization entry from a single point.
Fecha de creación Min Fecha de creación máx. Payment type Status Plz suggest how do localization
If you want to localize these you can filter through the
PaymentResource
, find the localization key, and update its value:If you want to localize it from English to Espanol, then select English as the base culture and Esponal as the target culture as the figure above. Please refer to the documentation for further info: https://abp.io/docs/latest/modules/language-management#language-texts / It's explained in here.
-
0
Then how i change localization for these two Fecha de creación Min Fecha de creación máx. entries
-
0
[Vineforce_Dev1] said: Then how i change localization for these two Fecha de creación Min Fecha de creación máx. entries
Here are the localization keys for the text you asked:
PaymentRequests:CreationDateMin
andPaymentRequests:CreationDateMax
. You can search for that name, and then localize them as you wish. -
0
{ "culture": "en", "texts": { "PaymentRequests:CreationDateMin": "Minimum Creation Date", "PaymentRequests:CreationDateMax": "Maximum Creation Date", "PaymentRequests:PaymentType": "Payment Types", "PaymentRequests:Status": "Status", "PaymentRequests:Search": "Search", "PaymentRequests:TotalPrice": "Total Price", "PaymentRequests:Currency": "Currency", "PaymentRequests:State": "State", "PaymentRequests:Gateway": "Gateway", "PaymentRequests:ExternalSubscriptionId": "External Subscription ID", "Plans": "Plans"
}
}
It Provide me working code.
-
0
{ "culture": "en", "texts": { "PaymentRequests:CreationDateMin": "Minimum Creation Date", "PaymentRequests:CreationDateMax": "Maximum Creation Date", "PaymentRequests:PaymentType": "Payment Types", "PaymentRequests:Status": "Status", "PaymentRequests:Search": "Search", "PaymentRequests:TotalPrice": "Total Price", "PaymentRequests:Currency": "Currency", "PaymentRequests:State": "State", "PaymentRequests:Gateway": "Gateway", "PaymentRequests:ExternalSubscriptionId": "External Subscription ID", "Plans": "Plans"
}
}
It Provide me working code.
You can use this approach for any of our modules and update any localization you want. But, unfortunately, currently, when you install an ABP Module, we don't include the localizations for each module, because if we do this, and update localizations/or add new localizations, you would not get the localization entries and it could cause missed localization entries in your application. This is why we don't provide all localization values for the relevant modules.
Regards.