Orchardcore: The translation of "Template for a {0} content item in detail views" this phrase will not apply in fa-IR translation.

Created on 13 Aug 2019  路  11Comments  路  Source: OrchardCMS/OrchardCore

I've just finished the translation for Persian language. The translation of the phrase "Template for a {0} content item in detail views" doesn't apply when i set fa-IR culture as default.

All 11 comments

Please look in Crowdin translations to find this specific string for your culture. If it's missing then it means that it's simply missing. Look for how to contribute on translation with @agriffard

I鈥檝e just finished translating to persian and the status is now 100%. All the phrases have been translated by me carefully. but, this one has not been applied after download the language pack from Crawdin and set it up. I think there鈥檚 some kind of problem.

I will have a look to this one and come back to you

@ampadashi could please have a look to OrchardCore.Templates.pot in crowdin, if the above localized string is there?

FYI I'm not able to edit this in Arabic, if that's your case, I need to ping @agriffard to check what's going on here

The localization of these strings are not working in any language. Ex in French:
image

They are loaded here: https://github.com/OrchardCMS/OrchardCore/blob/24bc9c898eb146b1d60d587a81a02cef1025aac7/src/OrchardCore.Modules/OrchardCore.Templates/Settings/TemplateContentTypeDefinitionDriver.cs#L34
but they are not taking the current culture into account.

How can we do this?

@agriffard if the localization strings in the .po file, I will have a look to this issue

Yes they are in OrchardCore.Templates.po:

#. Description = S["Template for a {0} content item in detail views", contentTypeDefinition.DisplayName]
#: OrchardCore.Templates\Settings\TemplateContentTypeDefinitionDriver.cs:34
msgctxt "OrchardCore.Templates.Settings.TemplateContentTypeDefinitionDriver"
msgid "Template for a {0} content item in detail views"
msgstr "Mod猫le pour un 茅l茅ment de contenu de {0} dans les vues de d茅tail"

#. Description = S["Template for a {0} content item in summary views", contentTypeDefinition.DisplayName]
#: OrchardCore.Templates\Settings\TemplateContentTypeDefinitionDriver.cs:41
msgctxt "OrchardCore.Templates.Settings.TemplateContentTypeDefinitionDriver"
msgid "Template for a {0} content item in summary views"
msgstr "Mod猫le pour un 茅l茅ment de contenu de {0} dans les vues summary"

OK, just leave the other things to me, thanks a lot

@agriffard again it's a copy paste issue, look to my PR, absolutely you will remember similar issue happened in the past

Good catch

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ns8482e picture ns8482e  路  4Comments

mobinzk picture mobinzk  路  4Comments

superluminalK picture superluminalK  路  4Comments

sebastienros picture sebastienros  路  4Comments

randaratceridian picture randaratceridian  路  3Comments