La création d'applications Web de niveau entreprise peut être complexe et prendre du temps.
ABP Commercial offre l'infrastructure de base parfaite nécessaire pour tous les ASP.NET Core modernes de niveau entreprise solutions basées. De la conception au déploiement, l'ensemble du cycle de développement est optimisé par les fonctionnalités et modules intégrés d'ABP.
",
+ "StartupTemplatesShortDescription": "Les modèles de démarrage vous permettent de démarrer votre projet en quelques secondes.",
+ "UIFrameworksOptions": "Options de cadres d'interface utilisateur;",
+ "DatabaseProviderOptions": "Options du fournisseur de base de données;",
+ "PreBuiltApplicationModules": "Modules d'application prédéfinis",
+ "PreBuiltApplicationModulesShortDescription": "Les exigences d'application les plus courantes sont déjà développées pour vous en tant que modules réutilisables.",
+ "Account": "Compte",
+ "Blogging": "Bloguer",
+ "Identity": "Identité",
+ "IdentityServer": "Serveur d'identité",
+ "Saas": "Saas",
+ "LanguageManagement": "Gestion de la langue",
+ "TextTemplateManagement": "Gestion des modèles de texte",
+ "See All Modules": "VoirTousModules",
+ "ABPSuite": "Suite ABP",
+ "AbpSuiteShortDescription": "ABP Suite est un outil complémentaire à ABP Commercial.",
+ "AbpSuiteExplanation": "Il vous permet de créer des pages Web en quelques minutes. C'est un outil global .NET Core qui peut être installé à partir de la ligne de commande. Il peut créer une nouvelle solution ABP, générer des pages CRUD de la base de données vers le front-end.",
+ "Details": "Des détails",
+ "LeptonTheme": "Thème Lepton",
+ "ProfessionalModernUIThemes": "Thèmes d'interface utilisateur professionnels et modernes",
+ "LeptonThemeExplanation": "Lepton fournit une gamme de thèmes d'administration Bootstrap qui servent de base solide pour tout projet nécessitant un tableau de bord d'administration.",
+ "DefaultTheme": "Thème par défaut",
+ "MaterialTheme": "Thème matériel",
+ "Default2Theme": "Thème par défaut 2",
+ "DarkTheme": "Thème sombre",
+ "DarkBlueTheme": "Thème bleu foncé",
+ "LightTheme": "Thème léger",
+ "ProudToWorkWith": "Fier de travailler avec",
+ "OurConsumers": "Des centaines d'entreprises et de développeurs dans plus de 50 pays dans le monde font confiance à ABP Commercial.",
+ "JoinOurConsumers": "Rejoignez-les et créez rapidement des produits incroyables.",
+ "AdditionalServicesExplanation": "Avez-vous besoin de services supplémentaires ou personnalisés? Nous et nos partenaires pouvons fournir; ",
+ "CustomProjectDevelopment": "Développement de projets personnalisés",
+ "CustomProjectDevelopmentExplanation": "Développeurs dédiés pour vos projets personnalisés.",
+ "PortingExistingProjects": "Portage de projets existants",
+ "PortingExistingProjectsExplanation": "Migration de vos anciens projets vers la plateforme ABP.",
+ "LiveSupport": "Support en direct",
+ "LiveSupportExplanation": "Option d'assistance à distance en direct lorsque vous en avez besoin.",
+ "Training": "Formation",
+ "TrainingExplanation": "Une formation dédiée pour vos développeurs.",
+ "OnBoarding": "Intégration",
+ "OnBoardingExplanation": "Aide à la configuration de vos environnements de développement, CI et CD.",
+ "PrioritizedTechnicalSupport": "Assistance technique prioritaire",
+ "PremiumSupportExplanation": "Outre le grand support communautaire du framework ABP, notre équipe de support répond aux questions techniques et aux problèmes des utilisateurs commerciaux avec une priorité élevée.",
+ "SeeTheSupportOptions": "Voir les options de support",
+ "Contact": "Contacter",
+ "TellUsWhatYouNeed": "Dites-nous ce dont vous avez besoin.",
+ "YourMessage": "Votre message",
+ "YourFullName": "Ton nom complet",
+ "EmailField": "Adresse e-mail",
+ "YourEmailAddress": "Votre adresse email",
+ "HowMayWeHelpYou": "Comment pouvons nous vous aider?",
+ "SendMessage": "Envoyer le message",
+ "Success": "Succès",
+ "WeWillReplyYou": "Nous avons reçu votre message et vous contacterons sous peu.",
+ "GoHome": "Rentrer chez soi",
+ "CreateLiveDemo": "Créer une démo en direct",
+ "RegisterToTheNewsletter": "Inscrivez-vous à la newsletter pour recevoir des informations concernant ABP.IO, y compris les nouvelles versions, etc.",
+ "EnterYourEmailOrLogin": "Saisissez votre adresse e-mail pour créer votre démo ou Connectez-vous à l'aide de votre compte existant.",
+ "ApplicationTemplate": "Modèle d'application",
+ "ApplicationTemplateExplanation": "Le modèle de démarrage d'application est utilisé pour créer une nouvelle application Web.",
+ "EfCoreProvider": "Entity Framework (prend en charge SQL Server, MySQL, PostgreSQL, Oracle et autres )",
+ "AlreadyIncludedInTemplateModules": "Les modules suivants sont déjà inclus et configurés dans ce modèle:",
+ "ApplicationTemplateArchitecture": "Ce modèle d'application prend également en charge l'architecture à plusieurs niveaux dans laquelle la couche d'interface utilisateur, la couche API et le service d'authentification sont physiquement séparés.",
+ "SeeTheGuideOrGoToTheLiveDemo": "Consultez le guide du développeur pour obtenir des informations techniques sur ce modèle ou accédez à la démo en direct.",
+ "DeveloperGuide": "Guide du développeur",
+ "ModuleTemplate": "Modèle de module",
+ "ModuleTemplateExplanation1": "Vous souhaitez créer un module et le réutiliser dans différentes applications? Ce modèle de démarrage prépare tout pour commencer à créer un module d'application réutilisable ou un microservice .",
+ "ModuleTemplateExplanation2": "
Vous pouvez prendre en charge un ou plusieurs frameworks d'interface utilisateur, un ou plusieurs fournisseurs de bases de données pour un seul module. Le modèle de démarrage est configuré pour exécuter et tester votre module dans une application minimale en plus de l'infrastructure de test d'unité et d'intégration.
Consultez le guide du développeur pour obtenir des informations techniques sur ce modèle.
",
+ "WithAllStyleOptions": "avec toutes les options de style",
+ "Demo": "Démo",
+ "SeeAllModules": "Voir tous les modules",
+ "ABPCLIExplanation": "ABP CLI (Command Line Interface) est un outil de ligne de commande pour effectuer certaines opérations courantes pour les solutions basées sur ABP.",
+ "ABPSuiteEasilyCURD": "ABP Suite est un outil qui vous permet de créer facilement des pages CRUD",
+ "WeAreHereToHelp": "Nous sommes ici pour Aide ",
+ "BrowseOrAskQuestion": "Vous pouvez parcourir nos rubriques d'aide ou rechercher dans les questions fréquemment posées, ou vous pouvez nous poser une question en utilisant le formulaire de contact .",
+ "SearchQuestionPlaceholder": "Rechercher dans les questions fréquemment posées",
+ "WhatIsTheABPCommercial": "Qu'est-ce que la publicité ABP?",
+ "WhatAreDifferencesThanAbpFramework": "Quelles sont les différences entre le Framework ABP open source et le ABP Commercial?",
+ "ABPCommercialExplanation": "ABP Commercial est un ensemble de modules, d'outils, de thèmes et de services premium basés sur le framework ABP open source. ABP Commercial est développé et soutenu par la même équipe derrière le cadre ABP.",
+ "WhatAreDifferencesThanABPFrameworkExplanation": "
Framework ABP est un framework de développement d'applications modulaire, thématique et compatible avec les micro-services pour ASP.NET Core. Il fournit une architecture complète et une infrastructure solide pour vous permettre de vous concentrer sur votre propre code métier plutôt que de vous répéter à chaque nouveau projet. Il est basé sur les meilleures pratiques de développement logiciel et les outils populaires que vous connaissez déjà.
Le framework ABP est entièrement gratuit, open source et géré par la communauté. Il fournit également un thème gratuit et des modules prédéfinis (par exemple, la gestion des identités et la gestion des locataires).
",
+ "VisitTheFrameworkVSCommercialDocument": "Pour plus d'informations, consultez le lien suivant: {1} ",
+ "ABPCommercialFollowingBenefits": "ABP Commercial ajoute les avantages suivants en plus du cadre ABP;",
+ "Professional": "Professionnel",
+ "UIThemes": "Thèmes de l'interface utilisateur",
+ "EnterpriseModules": "Des modules d'application prédéfinis, prêts pour l'entreprise, riches en fonctionnalités (par exemple, gestion d'Identity Server, gestion SaaS, gestion des langues)",
+ "ToolingToSupport": "Outils pour soutenir votre productivité de développement (par exemple, ABP Suite )",
+ "PremiumSupportLink": "Assistance Premium ",
+ "WhatDoIDownloadABPCommercial": "Que dois-je télécharger lorsque j'achète l'ABP Commercial?",
+ "CreateUnlimitedSolutions": "Une fois que vous avez acheté une licence commerciale ABP, vous pourrez créer des solutions illimitées comme décrit dans le document Premiers pas .",
+ "ABPCommercialSolutionExplanation": "Lorsque vous créez une nouvelle application, vous obtenez une solution Visual Studio (un modèle de démarrage) en fonction de vos préférences. La solution téléchargée contient des modules et des thèmes commerciaux déjà installés et configurés pour vous. Vous pouvez supprimer un module préinstallé ou ajouter un autre module si vous le souhaitez. Tous les modules et thèmes sont utilisés par défaut dans des packages NuGet / NPM.",
+ "StartDevelopWithTutorials": "La solution téléchargée est bien architecturée et documentée. Vous pouvez commencer à développer votre propre code d'entreprise basé sur celui-ci en suivant les didacticiels ",
+ "TryTheCommercialDemo": "Vous pouvez essayer la démonstration pour voir un exemple d'application créé à l'aide du modèle de démarrage ABP Commercial.",
+ "HowManyProducts": "Combien de produits / solutions différents puis-je créer à l'aide d'ABP Commercial?",
+ "HowManyProductsExplanation": "Il n'y a pas de limite pour créer un projet ABP. Vous pouvez créer autant de projets que vous le souhaitez, les développer et les télécharger sur différents serveurs.",
+ "HowManyDevelopers": "Combien de développeurs peuvent travailler sur l'ABP Commercial?",
+ "HowManyDevelopersExplanation": "Les licences commerciales ABP sont par développeur. Différents types de licence ont des limites de développeur différentes. Cependant, vous pouvez ajouter plus de développeurs à n'importe quel type de licence chaque fois que vous en avez besoin. Consultez la page des prix pour connaître les types de licence, les limites pour les développeurs et les coûts supplémentaires pour les développeurs.",
+ "ChangingLicenseType": "Puis-je changer mon type de licence à l'avenir?",
+ "ChangingLicenseTypeExplanation": "Vous pouvez toujours ajouter de nouveaux développeurs dans votre même type de licence. Voir aussi \"Combien de développeurs peuvent travailler sur l'ABP Commercial?\". Vous pouvez également passer à une licence supérieure en payant la différence de prix calculée. Lorsque vous passez à un plan de licence supérieur, vous bénéficiez des avantages du nouveau plan, mais la mise à niveau de la licence ne modifie pas la date d'expiration de la licence.",
+ "LicenseExtendUpgradeDiff": "Quelle est la différence entre l'extension de licence et la mise à niveau?",
+ "LicenseExtendUpgradeDiffExplanation": " Extension: en prolongeant / renouvelant votre licence, vous continuerez à bénéficier d'une assistance premium et à des mises à jour majeures pour les modules et les thèmes. De plus, vous pourrez continuer à créer de nouveaux projets. Et vous pourrez toujours utiliser ABP Suite, ce qui accélère votre développement. Mise à niveau: En mettant à jour votre licence, vous passerez à un plan de licence supérieur qui vous permettra d’obtenir des avantages supplémentaires . Consultez le tableau de comparaison des licences pour vérifier les différences entre les plans de licence. En revanche, lors de la mise à niveau, la date d'expiration de votre licence ne changera pas! Strong > Pour prolonger la date de fin de votre licence, vous devez prolonger votre licence.",
+ "LicenseRenewalCost": "Quel est le coût du renouvellement de la licence après 1 an?",
+ "LicenseRenewalCostExplanation": "Le taux de renouvellement (extension) de toutes les licences perpétuelles ABP Commercial correspond à {0} du prix catalogue de la licence. Le prix de renouvellement de la licence d'équipe standard est de {1} $, la licence professionnelle standard de {2} $ et la licence d'entreprise standard de {3} $. Si vous êtes déjà client, connectez-vous à votre compte pour consulter les tarifs de renouvellement disponibles.",
+ "HowDoIRenewMyLicense": "Comment renouveler ma licence?",
+ "HowDoIRenewMyLicenseExplanation": "Vous pouvez renouveler votre licence en accédant à la page de gestion de l'organisation . Afin de profiter de nos tarifs réduits de renouvellement anticipé, assurez-vous de renouveler avant l'expiration de votre licence. Cependant, ne vous inquiétez pas de ne pas savoir quand votre opportunité de renouvellement anticipé se termine. Vous recevrez 2 e-mails de rappel avant l'expiration de votre abonnement. Nous les enverrons dans les 30 jours, 7 jours avant l'expiration.",
+ "IsSourceCodeIncluded": "Ma licence inclut-elle le code source des modules et thèmes commerciaux?",
+ "IsSourceCodeIncludedExplanation1": "Dépend du type de licence que vous avez acheté:",
+ "IsSourceCodeIncludedExplanation2": " Équipe : votre solution utilise les modules et les thèmes en tant que packages NuGet et NPM. Il n'inclut pas leur code source. De cette façon, vous pouvez facilement mettre à niveau ces modules et thèmes chaque fois qu'une nouvelle version est disponible. Cependant, vous ne pouvez pas obtenir le code source des modules et des thèmes.",
+ "IsSourceCodeIncludedExplanation3": " Entreprise / Entreprise : en plus de la licence Team, vous pouvez télécharger le code source de tout module ou thème dont vous avez besoin. Vous pouvez même supprimer les références de package NuGet / NPM pour un module particulier et ajouter son code source directement à votre solution pour le modifier complètement.",
+ "IsSourceCodeIncludedExplanation4": "
L'inclusion du code source d'un module dans votre solution vous donne le maximum de liberté pour personnaliser ce module. Cependant, il ne sera pas possible de mettre à jour automatiquement le module lorsqu'une nouvelle version est publiée.
Aucune des licences n'inclut le code source d'ABP Suite, qui est un outil externe qui génère du code pour vous et vous aide à votre développement.
Consultez la page de tarification pour connaître les autres différences entre les types de licence.
",
+ "ChangingDevelopers": "Puis-je changer les développeurs enregistrés de mon organisation à l'avenir?",
+ "ChangingDevelopersExplanation": "En plus d'ajouter de nouveaux développeurs à votre licence, vous pouvez également modifier les développeurs existants (vous pouvez supprimer un développeur et en ajouter un nouveau sur le même siège) sans aucun coût supplémentaire.",
+ "WhatHappensWhenLicenseEnds": "Que se passe-t-il à la fin de ma période de licence?",
+ "WhatHappensWhenLicenseEndsExplanation1": "Le type de licence commerciale ABP est licence perpétuelle . Une fois votre licence expirée, vous pouvez continuer à développer votre projet. Et vous n'êtes pas obligé de renouveler votre licence. Votre licence est livrée avec un plan de mise à jour et de support d'un an prêt à l'emploi. Pour continuer à recevoir de nouvelles fonctionnalités, des améliorations de performances, des corrections de bogues, une assistance et continuer à utiliser ABP Suite, assurez-vous de renouveler votre plan chaque année. Lorsque votre licence expirera, vous ne pourrez plus bénéficier des avantages suivants;",
+ "WhatHappensWhenLicenseEndsExplanation2": "Vous ne pouvez pas créer de nouvelles solutions en utilisant ABP Commercial, mais vous pouvez continuer à développer vos applications existantes pour toujours.",
+ "WhatHappensWhenLicenseEndsExplanation3": "Vous pourrez obtenir des mises à jour pour les modules et les thèmes de votre version MAJEURE. Par example; si vous utilisez la v3.2.0 d'un module, vous pouvez toujours obtenir des mises à jour pour la v3.x.x (v3.3.0, v3.5.2 ... etc.) de ce module. Mais vous ne pouvez pas obtenir de mises à jour pour la prochaine version majeure (comme v4.x, v5.x)",
+ "WhatHappensWhenLicenseEndsExplanation4": "Vous ne pouvez pas installer de nouveaux modules et thèmes ajoutés à la plate-forme ABP Commercial après la fin de votre licence.",
+ "WhatHappensWhenLicenseEndsExplanation5": "Vous ne pouvez pas utiliser ABP Suite.",
+ "WhatHappensWhenLicenseEndsExplanation6": "Vous ne pouvez plus bénéficier de l ' assistance premium .",
+ "WhatHappensWhenLicenseEndsExplanation7": "Vous pouvez renouveler votre abonnement si vous souhaitez continuer à bénéficier de ces avantages. Il y a une réduction de 20% lorsque vous renouvelez votre abonnement.",
+ "WhenShouldIRenewMyLicense": "Quand dois-je renouveler ma licence?",
+ "WhenShouldIRenewMyLicenseExplanation1": "Si vous renouvelez votre licence dans un délai de 1 mois après l'expiration de votre licence, une réduction de 20% sera appliquée au prix total de la licence.",
+ "WhenShouldIRenewMyLicenseExplanation2": "Si vous renouvelez votre licence 1 mois après la date d'expiration de votre licence, le prix de renouvellement sera le même que le prix d'achat de la licence et il n'y aura pas de réduction pour votre renouvellement.",
+ "TrialPlan": "Avez-vous un plan d'essai?",
+ "TrialPlanExplanation": "Pour l'instant, ABP Commercial n'a pas de plan d'essai. Pour les licences Team, nous offrons une garantie de remboursement de 30 jours. Vous pouvez simplement demander un remboursement dans les 30 premiers jours. Pour les licences Business et Enterprise, nous fournissons un remboursement de 60% en 30 jours. En effet, les licences Business et Enterprise incluent le code source complet de tous les modules et thèmes.",
+ "DoYouAcceptBankWireTransfer": "Acceptez-vous les virements bancaires?",
+ "DoYouAcceptBankWireTransferExplanation": "Oui, nous acceptons les virements bancaires. Après avoir envoyé le montant de la licence par virement bancaire, envoyez-nous votre reçu et le type de licence demandé par e-mail. Nos coordonnées bancaires internationales:",
+ "HowToUpgrade": "Comment mettre à niveau des applications existantes lorsqu'une nouvelle version est disponible?",
+ "HowToUpgradeExplanation1": "Lorsque vous créez une nouvelle application à l'aide d'ABP Commercial, tous les modules et le thème sont utilisés en tant que packages NuGet et NPM. Ainsi, vous pouvez facilement mettre à jour les packages lorsqu'une nouvelle version est disponible.",
+ "HowToUpgradeExplanation2": "Outre les mises à niveau standard de NuGet / NPM, ABP CLI fournit une commande de mise à jour qui recherche et met automatiquement à niveau tous les packages associés à ABP dans votre solution.",
+ "DatabaseSupport": "Quels systèmes de base de données sont pris en charge?",
+ "DatabaseSupportExplanation": "ABP Framework lui-même est indépendant de la base de données et peut fonctionner avec n'importe quel fournisseur de base de données de par sa nature. Consultez le document d'accès aux données pour obtenir la liste des fournisseurs actuellement mis en œuvre.",
+ "UISupport": "Quels frameworks d'interface utilisateur sont pris en charge?",
+ "Supported": "Prise en charge",
+ "UISupportExplanation": "ABP Framework lui-même est indépendant du framework d'interface utilisateur et peut fonctionner avec n'importe quel framework d'interface utilisateur. Cependant, les modèles de démarrage, les interfaces utilisateur de module et les thèmes n'étaient pas implémentés pour tous les frameworks d'interface utilisateur. Consultez le document de démarrage pour la liste à jour des options d'interface utilisateur.",
+ "MicroserviceSupport": "Prend-il en charge l'architecture des micro-services?",
+ "MicroserviceSupportExplanation1": "L'un des principaux objectifs du cadre ABP est de fournir une infrastructure pratique pour créer des solutions de micro-services. Consultez le document architecture de micro-service pour comprendre comment cela aide à créer des systèmes de micro-service.",
+ "MicroserviceSupportExplanation2": "Tous les modules ABP Commercial sont conçus pour prendre en charge les scénarios de déploiement de micro-services (avec sa propre API et sa propre base de données) en suivant le document bonnes pratiques de développement de modules .",
+ "MicroserviceSupportExplanation3": "Nous fournissons un exemple de solution de démonstration de micro-service qui présente une implémentation d'architecture de micro-service pour vous aider à créer votre propre solution.",
+ "MicroserviceSupportExplanation4": "Donc, la réponse courte est \" oui, il prend en charge l'architecture de micro-services \".",
+ "MicroserviceSupportExplanation5": "Cependant, un système de micro-service est une solution et chaque solution aura des exigences différentes, une topologie de réseau, des scénarios de communication, des possibilités d'authentification, des décisions de séparation / partage de base de données, des configurations d'exécution, des intégrations de systèmes tiers et bien d'autres.",
+ "MicroserviceSupportExplanation6": "Le Framework ABP et l'ABP Commercial fournissent une infrastructure pour des scénarios de micro-services, des modules compatibles avec les micro-services, des exemples et de la documentation pour vous aider à créer votre propre solution. Mais ne vous attendez pas à télécharger directement la solution de vos rêves préconfigurée pour vous. Vous devrez le comprendre et rassembler certaines parties en fonction de vos besoins.",
+ "WhereCanIDownloadSourceCode": "Où puis-je télécharger le code source?",
+ "WhereCanIDownloadSourceCodeExplanation": "Vous pouvez télécharger le code source de tous les modules ABP, packages angulaires et thèmes via ABP Suite ou ABP CLI. Voir Comment télécharger le code source? ",
+ "ComputerLimitation": "Combien d'ordinateurs un développeur peut-il se connecter lors du développement d'ABP?",
+ "ComputerLimitationExplanation": "Nous autorisons spécifiquement les {0} ordinateurs par développeur individuel / sous licence. Chaque fois qu'un développeur a besoin de développer des produits commerciaux ABP sur une troisième machine, un e-mail doit être envoyé à license@abp.io expliquant la situation et nous procéderons ensuite à l'allocation appropriée dans notre système.",
+ "RefundPolicy": "Avez-vous une politique de remboursement?",
+ "RefundPolicyExplanation": "Vous pouvez demander un remboursement dans les 30 jours suivant l'achat de votre licence. Les types de licence Business et Enterprise ont une option de téléchargement de code source, par conséquent, les remboursements ne sont pas disponibles pour les entreprises et les entreprises (et toutes les licences qui incluent un droit de recevoir le code source). De plus, aucun remboursement n'est effectué pour les renouvellements et les achats de deuxième licence.",
+ "HowCanIRefundVat": "Comment puis-je rembourser la TVA?",
+ "HowCanIRefundVatExplanation1": "Si vous avez effectué le paiement avec 2Checkout, vous pouvez rembourser la TVA via votre compte 2Checkout:",
+ "HowCanIRefundVatExplanation2": "Connectez-vous à votre compte 2Checkout ",
+ "HowCanIRefundVatExplanation3": "Trouvez la commande appropriée et appuyez sur \"Rembourser la TVA tardive\" (entrez votre numéro de TVA)",
+ "HowCanIGetMyInvoice": "Comment puis-je obtenir ma facture?",
+ "HowCanIGetMyInvoiceExplanation": "Il existe 2 passerelles de paiement pour l'achat d'une licence: PayU et 2Checkout. Si vous achetez votre licence via la passerelle 2Checkout, elle envoie la facture PDF à votre adresse e-mail, voir Facturation 2Checkout. Si vous achetez via la passerelle PayU ou par virement bancaire, nous préparerons et vous enverrons votre facture. Vous pouvez demander votre facture sur la page de gestion de l'organisation. ",
+ "Forum": "Forum",
+ "SupportExplanation": "ABP Commercial Licences fournit un support de forum premium par une équipe composée d'experts ABP Framework.",
+ "PrivateTicket": "Billet privé",
+ "PrivateTicketExplanation": "Enterprise License comprend également un support privé avec e-mail et système de ticket.",
+ "AbpSuiteExplanation1": "ABP Suite vous permet de créer des pages Web en quelques minutes. C'est un outil .NET Core Global qui peut être installé à partir de la ligne de commande.",
+ "AbpSuiteExplanation2": "Il peut créer une nouvelle solution ABP, générer des pages CRUD de la base de données vers le front-end. Pour une présentation technique, consultez le document ",
+ "FastEasy": "Rapide et facile",
+ "AbpSuiteExplanation3": "ABP Suite vous permet de créer facilement des pages CRUD. Il vous suffit de définir votre entité et ses propriétés, laissez le reste à ABP Suite pour vous! ABP Suite génère tout le code nécessaire pour votre page CRUD en quelques secondes. Il prend en charge les interfaces utilisateur Angular, MVC et Blazor.",
+ "RichOptions": "Options riches",
+ "AbpSuiteExplanation4": "ABP Suite prend en charge plusieurs options d'interface utilisateur telles que Razor Pages et Angular . Il prend également en charge plusieurs bases de données telles que MongoDB et toutes les bases de données prises en charge par EntityFramework Core < / strong> (MS SQL Server, Oracle, MySql, PostgreSQL et plus ).",
+ "AbpSuiteExplanation5": "La bonne chose est que vous n'avez pas à vous soucier de ces options. ABP Suite comprend votre type de projet et génère le code de votre projet et place le code généré au bon endroit dans votre projet.",
+ "SourceCode": "Code source",
+ "AbpSuiteExplanation6": "ABP Suite génère le code source pour vous! Il ne génère pas de fichiers magiques pour générer la page Web. ABP Suite génère le code source pour Entity, Repository, Application Service, Code First Migration, JavaScript / TypeScript et CSHTML / HTML ainsi que les interfaces nécessaires. ABP Suite génère également le code selon les meilleures pratiques de développement logiciel, vous n'avez donc pas à vous soucier de la qualité du code généré.",
+ "AbpSuiteExplanation7": "Puisque vous avez le code source des blocs de construction de la page CRUD générée dans les couches d'application correctes, vous pouvez facilement modifier le code source et injecter votre logique personnalisée / commerciale dans le code généré.",
+ "CrossPlatform": "Plateforme croisée",
+ "AbpSuiteExplanation8": "ABP Suite est construit avec .NET Core et est multiplateforme. Il fonctionne comme une application Web sur votre ordinateur local. Vous pouvez l'exécuter sur Windows , Mac et Linux ",
+ "OtherFeatures": "Autres caractéristiques",
+ "OtherFeatures1": "Met à jour facilement les packages NuGet et NPM de votre solution.",
+ "OtherFeatures2": "Régénère les pages déjà générées à partir de zéro.",
+ "OtherFeatures3": "Crée de nouvelles solutions",
+ "ThanksForCreatingProject": "Merci d'avoir créé votre projet!",
+ "HotToRunSolution": "Comment faire fonctionner votre solution?",
+ "HotToRunSolutionExplanation": "Consultez le document de mise en route pour savoir comment configurer et exécuter votre solution.",
+ "GettingStarted": "Commencer",
+ "WebAppDevTutorial": "Tutoriel de développement d'applications Web",
+ "WebAppDevTutorialExplanation": "Consultez le document du didacticiel de développement d'applications Web pour un exemple de développement étape par étape.",
+ "Document": "Document",
+ "UsingABPSuiteToCURD": "Utilisation d'ABP Suite pour la génération et l'outillage de pages CRUD",
+ "SeeABPSuiteDocument": "Consultez le document ABP Suite pour en savoir plus sur l'utilisation d'ABP Suite.",
+ "AskQuestionsOnSupport": "Vous pouvez poser des questions sur le support commercial ABP.",
+ "Documentation": "Documentation",
+ "SeeModulesDocument": "Voir le document des modules pour une liste de tous les modules commerciaux (pro) et leurs documents.",
+ "Pricing": "Tarification",
+ "PricingExplanation": "Choisissez les fonctionnalités et fonctionnalités dont votre entreprise a besoin aujourd'hui. Mettez à niveau facilement au fur et à mesure que votre entreprise se développe.",
+ "Team": "Équipe",
+ "Business": "Affaires",
+ "Enterprise": "Entreprise",
+ "Custom": "Personnalisé",
+ "IncludedDeveloperLicenses": "Licences de développeur incluses",
+ "CustomLicenceOrAdditionalServices": "Besoin d'une licence personnalisée ou de services supplémentaires?",
+ "CustomOrVolumeLicense": "Licence personnalisée ou en volume",
+ "LiveTrainingSupport": "Formation et assistance en direct",
+ "AndMore": "et plus",
+ "AdditionalDeveloperLicense": "Licence de développeur supplémentaire",
+ "ProjectCount": "Nombre de projets",
+ "AllProModules": "Tous les modules pro",
+ "AllProThemes": "Tous les thèmes pro",
+ "AllProStartupTemplates": "Tous les modèles de démarrage pro",
+ "SourceCodeOfAllModules": "Code source de tous les modules",
+ "SourceCodeOfAllThemes": "Code source de tous les thèmes",
+ "PerpetualLicense": "Licence perpétuelle",
+ "UnlimitedServerDeployment": "Déploiement de serveur illimité",
+ "YearUpgrade": "Mise à jour d'un an",
+ "YearPremiumForumSupport": "1 an de support premium pour le forum",
+ "ForumSupportIncidentCountYear": "Nombre d'incidents de support du forum / an",
+ "PrivateTicketEmailSupport": "Support privé pour les tickets et e-mail",
+ "BuyNow": "Acheter maintenant",
+ "PayViaAmexCard": "Comment puis-je payer via ma carte AMEX?",
+ "PayViaAmexCardDescription": "La passerelle de paiement par défaut «Iyzico» peut refuser certaines cartes de crédit AMEX en raison des mesures de sécurité. Dans ce cas, vous pouvez payer via la passerelle de paiement alternative «2Checkout».",
+ "ThankYou": "Merci",
+ "InvalidReCaptchaErrorMessage": "Une erreur s'est produite lors de la vérification de reCAPTCHA. Veuillez réessayer."
+ }
+}
\ No newline at end of file
diff --git a/abp_io/AbpIoLocalization/AbpIoLocalization/Commercial/Localization/Resources/fi.json b/abp_io/AbpIoLocalization/AbpIoLocalization/Commercial/Localization/Resources/fi.json
new file mode 100644
index 0000000000..b2da832b2a
--- /dev/null
+++ b/abp_io/AbpIoLocalization/AbpIoLocalization/Commercial/Localization/Resources/fi.json
@@ -0,0 +1,296 @@
+{
+ "culture": "fi",
+ "texts": {
+ "OrganizationManagement": "Organisaation hallinta",
+ "OrganizationList": "Organisaatioluettelo",
+ "Volo.AbpIo.Commercial:010003": "Et ole tämän organisaation omistaja!",
+ "OrganizationNotFoundMessage": "Organisaatiota ei löytynyt!",
+ "DeveloperCount": "Kohdistetut / yhteensä kehittäjät",
+ "QuestionCount": "Jäljellä olevat / yhteensä kysymykset",
+ "Unlimited": "Rajoittamaton",
+ "Owners": "Omistajat",
+ "AddMember": "Lisää jäsen",
+ "AddOwner": "Lisää omistaja",
+ "AddDeveloper": "Lisää kehittäjä",
+ "UserName": "Käyttäjätunnus",
+ "Name": "Nimi",
+ "EmailAddress": "Sähköpostiosoite",
+ "Developers": "Kehittäjät",
+ "LicenseType": "Lisenssi-tyyppi",
+ "Manage": "Hallitse",
+ "StartDate": "Aloituspäivämäärä",
+ "EndDate": "Päättymispäivä",
+ "Modules": "Moduulit",
+ "LicenseExtendMessage": "Käyttöoikeutesi päättymispäivä on pidennetty {0}",
+ "LicenseUpgradeMessage": "Lisenssisi on päivitetty versioon {0}",
+ "LicenseAddDeveloperMessage": "{0} kehittäjää lisäsi lisenssiisi",
+ "Volo.AbpIo.Commercial:010004": "Määritettyä käyttäjää ei löydy! Käyttäjän on oltava jo rekisteröitynyt.",
+ "MyOrganizations": "Omat organisaatiot",
+ "ApiKey": "API-avain",
+ "UserNameNotFound": "Käyttäjää, jolla on käyttäjänimi {0}, ei ole",
+ "SuccessfullyAddedToNewsletter": "Kiitos, että tilasit uutiskirjeemme!",
+ "MyProfile": "Profiilini",
+ "EmailNotValid": "Ole hyvä ja syötä toimiva sähköpostiosoite.",
+ "JoinOurMarketingNewsletter": "Liity markkinointikirjeeseemme",
+ "WouldLikeToReceiveMarketingMaterials": "Haluaisin saada markkinointimateriaalia, kuten tuotetarjouksia ja erikoistarjouksia.",
+ "StartUsingYourLicenseNow": "Aloita lisenssin käyttö nyt!",
+ "WelcomePage": "Tervetuloa sivu",
+ "UnsubscriptionExpireEmail": "Peruuta lisenssin vanhentumispäivämäärän muistutussähköpostit",
+ "UnsubscribeLicenseExpireEmailReminderMessage": "Tämä sähköpostitilaus sisältää vain muistutuksen lisenssin vanhentumispäivästä.",
+ "UnsubscribeFromLicenseExpireEmails": "Jos et halua vastaanottaa lisenssin voimassaolon päättymispäivää koskevia sähköposteja, voit peruuttaa tilauksen milloin tahansa.",
+ "Unsubscribe": "Lopeta tilaus",
+ "NotOrganizationMember": "Et ole minkään organisaation jäsen.",
+ "UnsubscribeLicenseExpirationEmailSuccessTitle": "Tilauksen peruutus onnistui",
+ "UnsubscribeLicenseExpirationEmailSuccessMessage": "Et enää saa muistutuksia lisenssin vanhentumispäivästä.",
+ "IndexPageHeroSection": " Täydellinen verkkokehitysympäristö sisäänrakennettu kehys ",
+ "AbpCommercialShortDescription": "ABP Commercial tarjoaa valmiita sovellusmoduuleja, nopean sovelluskehitystyökalun, ammattimaiset käyttöliittymäteemat, ensiluokkaisen tuen ja paljon muuta.",
+ "LiveDemo": "Live-esittely",
+ "GetLicence": "Hanki lisenssi",
+ "Application": "Sovellus",
+ "StartupTemplates": "Käynnistysmallit",
+ "Startup": "Aloittaa",
+ "Templates": "Mallit",
+ "Developer": "Kehittäjä",
+ "Tools": "Työkalut",
+ "Premium": "Premium",
+ "PremiumSupport": "Ensiluokkainen tuki",
+ "PremiumForumSupport": "Premium-foorumin tuki",
+ "UI": "UI",
+ "Themes": "Teemat",
+ "JoinOurNewsletter": "Liity uutiskirjeemme",
+ "Send": "Lähettää",
+ "Learn": "Oppia",
+ "AdditionalServices": "Lisäpalvelut",
+ "WhatIsABPFramework": "MIKÄ ON ABP-KEHYS?",
+ "OpenSourceBaseFramework": "Avoimen lähdekoodin peruskehys",
+ "ABPFrameworkExplanation": "
ABP Commercial perustuu ABP Frameworkiin, avoimen lähdekoodin ja yhteisövetoiseen verkkosovelluskehykseen ASP.NET Core -sovellukselle.
ABP Framework tarjoaa erinomaisen infrastruktuurin ylläpitettävien, laajennettavien tiedostojen kirjoittamiseen. ja testattava koodi parhailla käytänteillä.
Rakennettu ja integroitu jo tunnettujen suosittujen työkalujen kanssa. Matala oppimiskäyrä, helppo sopeutuminen, mukava kehitys.
Yritysluokan verkkosovellusten rakentaminen voi olla monimutkaista ja aikaa vievää.
ABP Commercial tarjoaa täydellisen perusinfrastruktuurin, joka tarvitaan kaikille nykyaikaisille yritystason ASP.NET-ytimille perustuvat ratkaisut. ABP: n sisäänrakennetut ominaisuudet ja moduulit tukevat koko suunnittelusykliä suunnittelusta käyttöönottoon asti.
",
+ "StartupTemplatesShortDescription": "Käynnistysmallien avulla voit aloittaa projektisi muutamassa sekunnissa.",
+ "UIFrameworksOptions": "Käyttöliittymäkehysvaihtoehdot;",
+ "DatabaseProviderOptions": "Tietokannan tarjoajan vaihtoehdot;",
+ "PreBuiltApplicationModules": "Valmiit sovellusmoduulit",
+ "PreBuiltApplicationModulesShortDescription": "Yleisimmät sovellusvaatimukset on jo kehitetty sinulle uudelleenkäytettävinä moduuleina.",
+ "Account": "Tili",
+ "Blogging": "Bloggaaminen",
+ "Identity": "Identiteetti",
+ "IdentityServer": "Identity Server",
+ "Saas": "Saas",
+ "LanguageManagement": "Kielen hallinta",
+ "TextTemplateManagement": "Tekstimallien hallinta",
+ "See All Modules": "Katso kaikki moduulit",
+ "ABPSuite": "ABP Suite",
+ "AbpSuiteShortDescription": "ABP Suite on ABP-mainosmateriaalia täydentävä työkalu.",
+ "AbpSuiteExplanation": "Sen avulla voit rakentaa verkkosivuja muutamassa minuutissa. Se on .NET Core Global -työkalu, joka voidaan asentaa komentoriviltä. Se voi luoda uuden ABP-ratkaisun, luoda CRUD-sivuja tietokannasta käyttöliittymään.",
+ "Details": "Yksityiskohdat",
+ "LeptonTheme": "Lepton-teema",
+ "ProfessionalModernUIThemes": "Ammattimaiset, modernit käyttöliittymäteemat",
+ "LeptonThemeExplanation": "Lepton tarjoaa valikoiman Bootstrap-järjestelmänvalvojan teemoja, jotka ovat vankka perusta mille tahansa projektille, joka vaatii järjestelmänvalvojan hallintapaneelin.",
+ "DefaultTheme": "Oletusteema",
+ "MaterialTheme": "Materiaaliteema",
+ "Default2Theme": "Oletus 2 teema",
+ "DarkTheme": "Tumma teema",
+ "DarkBlueTheme": "Tummansininen teema",
+ "LightTheme": "Kevyt teema",
+ "ProudToWorkWith": "Ylpeä työskennellä",
+ "OurConsumers": "Sadat yritykset ja kehittäjät yli 50 maassa ympäri maailmaa luottavat ABP Commercialiin.",
+ "JoinOurConsumers": "Liity heihin ja rakenna upeita tuotteita nopeasti.",
+ "AdditionalServicesExplanation": "Tarvitsetko lisä- tai mukautettuja palveluita? Me ja kumppanimme voimme tarjota; ",
+ "CustomProjectDevelopment": "Mukautettu projektikehitys",
+ "CustomProjectDevelopmentExplanation": "Omistetut kehittäjät mukautetuille projekteillesi.",
+ "PortingExistingProjects": "Olemassa olevien projektien siirtäminen",
+ "PortingExistingProjectsExplanation": "Vanhojen projektien siirtäminen ABP-alustalle.",
+ "LiveSupport": "Live-tuki",
+ "LiveSupportExplanation": "Live-etätukivaihtoehto, kun tarvitset sitä.",
+ "Training": "Koulutus",
+ "TrainingExplanation": "Oma koulutus kehittäjille.",
+ "OnBoarding": "Perehdytys",
+ "OnBoardingExplanation": "Auta määrittämään kehitys-, CI- ja CD-ympäristösi.",
+ "PrioritizedTechnicalSupport": "Ensisijainen tekninen tuki",
+ "PremiumSupportExplanation": "ABP-kehyksen suuren yhteisötuen lisäksi tukitiimimme vastaa ensisijaisesti kaupallisten käyttäjien teknisiin kysymyksiin ja ongelmiin.",
+ "SeeTheSupportOptions": "Katso tukivaihtoehdot",
+ "Contact": "Ottaa yhteyttä",
+ "TellUsWhatYouNeed": "Kerro meille mitä tarvitset.",
+ "YourMessage": "Viestisi",
+ "YourFullName": "Koko nimesi",
+ "EmailField": "Sähköpostiosoite",
+ "YourEmailAddress": "Sähköpostiosoitteesi",
+ "HowMayWeHelpYou": "Kuinka voimme auttaa sinua?",
+ "SendMessage": "Lähetä viesti",
+ "Success": "Menestys",
+ "WeWillReplyYou": "Saimme viestisi ja otamme sinuun pian yhteyttä.",
+ "GoHome": "Mene kotiin",
+ "CreateLiveDemo": "Luo live-esittely",
+ "RegisterToTheNewsletter": "Rekisteröidy uutiskirjeeseen saadaksesi tietoa ABP.IO: sta, mukaan lukien uudet julkaisut jne.",
+ "EnterYourEmailOrLogin": "Kirjoita sähköpostiosoitteesi luodaksesi esittely tai kirjaudu sisään nykyisellä tililläsi.",
+ "ApplicationTemplate": "Sovelluksen malli",
+ "ApplicationTemplateExplanation": "Sovelluksen käynnistysmallia käytetään uuden verkkosovelluksen luomiseen.",
+ "EfCoreProvider": "Entity Framework (tukee SQL Serveriä, MySQL: ää, PostgreSQL: ää, Oracle ja muita )",
+ "AlreadyIncludedInTemplateModules": "Seuraavat moduulit ovat jo mukana ja määritetty tähän malliin:",
+ "ApplicationTemplateArchitecture": "Tämä sovellusmalli tukee myös porrastettua arkkitehtuuria, jossa käyttöliittymäkerros, API-kerros ja todennuspalvelu on fyysisesti erotettu.",
+ "SeeTheGuideOrGoToTheLiveDemo": "Katso teknistä tietoa tästä mallista kehittäjän oppaasta tai siirry live-esittelyyn.",
+ "DeveloperGuide": "Kehittäjän opas",
+ "ModuleTemplate": "Moduulimalli",
+ "ModuleTemplateExplanation1": "Haluatko luoda moduulin ja käyttää sitä uudelleen eri sovelluksissa? Tämä käynnistysmalli valmistaa kaiken aloittamaan uudelleenkäytettävän sovellusmoduulin tai mikropalvelun luomisen.",
+ "ModuleTemplateExplanation2": "
Voit tukea yhtä tai useampaa käyttöliittymäkehystä, yhtä tai useampaa tietokantapalvelua yhdelle moduulille. Käynnistysmalli on määritetty suorittamaan ja testaamaan moduulia pienimmässä sovelluksessa yksikön ja integraatiotestiinfrastruktuurin lisäksi.
Katso teknistä tietoa mallista kehittäjän oppaasta.
",
+ "WithAllStyleOptions": "kaikilla tyylivaihtoehdoilla",
+ "Demo": "Demo",
+ "SeeAllModules": "Katso kaikki moduulit",
+ "ABPCLIExplanation": "ABP CLI (Command Line Interface) on komentorivityökalu joidenkin yleisten toimintojen suorittamiseen ABP-pohjaisiin ratkaisuihin.",
+ "ABPSuiteEasilyCURD": "ABP Suite on työkalu, jonka avulla voit helposti luoda CRUD-sivuja",
+ "WeAreHereToHelp": " Apua olemme täällä",
+ "BrowseOrAskQuestion": "Voit selata ohjeaiheitamme tai etsiä usein kysyttyjä kysymyksiä tai voit esittää meille kysymyksiä yhteydenottolomakkeella .",
+ "SearchQuestionPlaceholder": "Hae usein kysyttyjä kysymyksiä",
+ "WhatIsTheABPCommercial": "Mikä on ABP-kauppa?",
+ "WhatAreDifferencesThanAbpFramework": "Mitä eroja on avoimen lähdekoodin ABP Frameworkilla ja ABP Commercialilla?",
+ "ABPCommercialExplanation": "ABP Commercial on joukko ensiluokkaisia moduuleja, työkaluja, teemoja ja palveluja, jotka on rakennettu avoimen lähdekoodin ABP-kehyksen päälle. ABP Commercial kehittää ja tukee samaa tiimiä ABP-kehyksen takana.",
+ "WhatAreDifferencesThanABPFrameworkExplanation": "
ABP-kehys on modulaarinen, teemoitettava, mikropalvelujen kanssa yhteensopiva sovelluskehys ASP.NET Core -sovellukselle. Se tarjoaa täydellisen arkkitehtuurin ja vahvan infrastruktuurin, joka saa sinut keskittymään omaan yrityskoodiin sen sijaan, että toistat itsesi jokaisessa uudessa projektissa. Se perustuu ohjelmistokehityksen parhaisiin käytäntöihin ja jo tiedettyihin suosittuihin työkaluihin.
ABP-kehykset ovat täysin ilmaisia, avoimen lähdekoodin ja yhteisölähtöisiä. Se tarjoaa myös ilmaisen teeman ja joitain valmiita moduuleja (esim. Henkilöllisyyden hallinta ja vuokralaisten hallinta).
",
+ "VisitTheFrameworkVSCommercialDocument": "Vieraile seuraavalla linkillä saadaksesi lisätietoja {1} ",
+ "ABPCommercialFollowingBenefits": "ABP Commercial lisää seuraavat edut ABP-kehyksen päälle;",
+ "Professional": "Ammattilainen",
+ "UIThemes": "Käyttöliittymän teemat",
+ "EnterpriseModules": "Yrityskäyttöiset, monipuoliset, valmiit sovellusmoduulit (esim. Identity Server -hallinta, SaaS-hallinta, kielen hallinta)",
+ "ToolingToSupport": "Työkalut, jotka tukevat kehitystesi tuottavuutta (esim. ABP Suite )",
+ "PremiumSupportLink": "Ensiluokkainen tuki ",
+ "WhatDoIDownloadABPCommercial": "Mitä lataan ostaessani ABP Commercial -palvelua?",
+ "CreateUnlimitedSolutions": "Kun olet ostanut ABP Commercial -lisenssin, voit luoda rajoittamattomia ratkaisuja, kuten Aloittaminen -asiakirjassa kuvataan.",
+ "ABPCommercialSolutionExplanation": "Kun luot uuden sovelluksen, saat Visual Studio -ratkaisun (käynnistysmalli) mieltymystesi perusteella. Ladatussa ratkaisussa on kaupallisia moduuleja ja teemoja, jotka on jo asennettu ja määritetty sinulle. Voit poistaa esiasennetun moduulin tai lisätä toisen moduulin, jos haluat. Kaikissa moduuleissa ja teemoissa käytetään oletuksena NuGet / NPM-paketteja.",
+ "StartDevelopWithTutorials": "Ladattu ratkaisu on hyvin suunniteltu ja dokumentoitu. Voit aloittaa oman yrityskoodisi kehittämisen sen perusteella opetusohjelmien mukaisesti",
+ "TryTheCommercialDemo": "Voit kokeilla esittelyä nähdäksesi esimerkkisovelluksen, joka on luotu ABP Commercial -käynnistysmallin avulla.",
+ "HowManyProducts": "Kuinka monta erilaista tuotetta / ratkaisua voin rakentaa ABP Commercial -sovelluksella?",
+ "HowManyProductsExplanation": "ABP-projektin luomiselle ei ole rajoituksia. Voit luoda niin monta projektia kuin haluat, kehittää ja ladata ne eri palvelimille.",
+ "HowManyDevelopers": "Kuinka monta kehittäjää voi työskennellä ABP-kaupassa?",
+ "HowManyDevelopersExplanation": "ABP Commercial -lisenssit ovat kehittäjää kohti. Eri lisenssityypeillä on erilaiset kehittäjien rajoitukset. Voit kuitenkin lisätä lisää kehittäjiä mihin tahansa lisenssityyppiin milloin tahansa. Katso hinnat -sivulta lisenssityypit, kehittäjien rajoitukset ja kehittäjien lisäkustannukset.",
+ "ChangingLicenseType": "Voinko muuttaa lisenssityyppiäni tulevaisuudessa?",
+ "ChangingLicenseTypeExplanation": "Voit aina lisätä uusia kehittäjiä samaan lisenssityyppiin. Katso myös \"Kuinka monta kehittäjää voi työskennellä ABP Commercialilla?\". Voit myös päivittää korkeampaan lisenssiin maksamalla lasketun hintaeron. Kun päivität korkeampaan lisenssisuunnitelmaan, saat uuden suunnitelman edut, mutta lisenssin päivitys ei muuta lisenssin voimassaolon päättymispäivää.",
+ "LicenseExtendUpgradeDiff": "Mitä eroa on lisenssin laajennuksella ja päivityksellä?",
+ "LicenseExtendUpgradeDiffExplanation": " Laajentaminen: Laajentamalla / uusimalla käyttöoikeutta saat jatkossakin ensiluokkaista tukea ja saat tärkeitä päivityksiä moduuleille ja teemoille. Lisäksi voit jatkaa uusien projektien luomista. Ja voit silti käyttää ABP Suitea, joka vauhdittaa kehitystäsi. Päivittäminen: Päivittämällä lisenssisi edistyt korkeampaan lisenssisuunnitelmaan, jonka avulla voit saada lisäetuja . Katso lisenssisuunnitelmien väliset erot lisenssien vertailutaulukosta . Toisaalta, kun päivität, lisenssin vanhentumispäivä ei muutu! Strong > Lisenssin päättymispäivän jatkamiseksi sinun on jatkettava käyttöoikeutta.",
+ "LicenseRenewalCost": "Mitkä ovat lisenssin uusimiskustannukset vuoden kuluttua?",
+ "LicenseRenewalCostExplanation": "Kaikkien ABP Commercial perpetual -lisenssien uusimis- (laajennus) hinta on {0} lisenssiluettelohinnasta. Tavallisen tiimilisenssin uusimishinta on $ {1}, tavallinen yrityslisenssi on $ {2} ja tavallinen yrityslisenssi on $ {3}. Jos olet jo asiakas, kirjaudu tilillesi ja tarkista käytettävissä oleva uusimishinta.",
+ "HowDoIRenewMyLicense": "Kuinka uusin lisenssin?",
+ "HowDoIRenewMyLicenseExplanation": "Voit uusia käyttöoikeutesi siirtymällä organisaation hallintasivulle . Jotta voisit hyödyntää alennettujen varhaisen uusimisen hintojamme, muista uusia ennen lisenssin voimassaolon päättymistä. Älä huoli siitä, ettet tiedä, milloin Varhaisen uudistamisen mahdollisuus sulkeutuu. Saat kaksi muistutussähköpostia ennen tilauksesi päättymistä. Lähetämme ne 30 päivää, 7 päivää ennen vanhenemista.",
+ "IsSourceCodeIncluded": "Sisältääkö lisenssini kaupallisten moduulien ja teemojen lähdekoodin?",
+ "IsSourceCodeIncludedExplanation1": "Riippuu ostamastasi lisenssityypistä:",
+ "IsSourceCodeIncludedExplanation2": " Tiimi : Ratkaisusi käyttää moduuleja ja teemoja NuGet- ja NPM-paketteina. Se ei sisällä heidän lähdekoodiaan. Tällä tavoin voit helposti päivittää nämä moduulit ja teemat aina, kun uusi versio on saatavana. Et kuitenkaan voi saada moduulien ja teemojen lähdekoodia.",
+ "IsSourceCodeIncludedExplanation3": " Yritys / yritys : Tiimilisenssin lisäksi voit ladata minkä tahansa tarvitsemasi moduulin tai teeman lähdekoodin. Voit jopa poistaa tietyn moduulin NuGet / NPM-pakettiviitteet ja lisätä sen lähdekoodin suoraan ratkaisuusi sen muuttamiseksi kokonaan.",
+ "IsSourceCodeIncludedExplanation4": "
Moduulin lähdekoodin sisällyttäminen ratkaisuun antaa sinulle maksimaalisen vapauden mukauttaa moduulia. Tällöin moduulia ei voida päivittää automaattisesti, kun uusi versio julkaistaan.
Mikään lisensseistä ei sisällä ABP Suiten lähdekoodia, joka on ulkoinen työkalu, joka tuottaa koodia sinulle ja auttaa kehitykseen.
",
+ "ChangingDevelopers": "Voinko muuttaa organisaationi rekisteröityneitä kehittäjiä tulevaisuudessa?",
+ "ChangingDevelopersExplanation": "Uusien kehittäjien lisäämisen lisenssiin lisäksi voit myös muuttaa olemassa olevia kehittäjiä (voit poistaa kehittäjän ja lisätä uuden samalle paikalle) ilman lisäkustannuksia.",
+ "WhatHappensWhenLicenseEnds": "Mitä tapahtuu, kun lisenssikauteni päättyy?",
+ "WhatHappensWhenLicenseEndsExplanation1": "ABP Commercial -lisenssityyppi on jatkuva lisenssi . Kun lisenssi vanhenee, voit jatkaa projektisi kehittämistä. Ja sinun ei tarvitse uudistaa lisenssiäsi. Lisenssisi mukana toimitetaan yhden vuoden päivitys- ja tukisuunnitelma. Jos haluat edelleen saada uusia ominaisuuksia, suorituskyvyn parannuksia, virhekorjauksia, tukea ja jatkaa ABP Suite -sovelluksen käyttöä, muista uusia suunnitelma joka vuosi. Kun lisenssi vanhenee, et voi saada enemmän seuraavista eduista;",
+ "WhatHappensWhenLicenseEndsExplanation2": "Et voi luoda uusia ratkaisuja ABP Commercial -sovelluksella, mutta voit jatkaa olemassa olevien sovellusten kehittämistä ikuisesti.",
+ "WhatHappensWhenLicenseEndsExplanation3": "Voit saada päivityksiä moduuleista ja teemoista MAJOR-versiostasi. Esimerkiksi; jos käytät moduulin v3.2.0-versiota, voit silti saada päivityksiä kyseisen moduulin versiolle v3.x.x (v3.3.0, v3.5.2 ... jne.). Mutta et voi saada päivityksiä seuraavaan pääversioon (kuten v4.x, v5.x)",
+ "WhatHappensWhenLicenseEndsExplanation4": "Et voi asentaa uusia moduuleja ja teemoja, jotka on lisätty ABP Commercial -alustalle käyttöoikeuden päättymisen jälkeen.",
+ "WhatHappensWhenLicenseEndsExplanation5": "Et voi käyttää ABP Suitea.",
+ "WhatHappensWhenLicenseEndsExplanation6": "Et voi enää saada premium-tukea .",
+ "WhatHappensWhenLicenseEndsExplanation7": "Voit uusia tilauksesi, jos haluat jatkaa näiden etujen saamista. Tilauksen uusimisessa on 20% alennus.",
+ "WhenShouldIRenewMyLicense": "Milloin minun pitäisi uusia lisenssini?",
+ "WhenShouldIRenewMyLicenseExplanation1": "Jos uusit lisenssin kuukauden kuluessa lisenssin voimassaolon päättymisestä, lisenssin kokonaishintaan sovelletaan 20% alennusta.",
+ "WhenShouldIRenewMyLicenseExplanation2": "Jos uusit lisenssin kuukauden kuluttua lisenssin voimassaolon päättymispäivästä, uusimishinta on sama kuin lisenssin ostohinta eikä uusimiselle ole alennusta.",
+ "TrialPlan": "Onko sinulla kokeilusuunnitelma?",
+ "TrialPlanExplanation": "Toistaiseksi ABP Commercialilla ei ole kokeilusuunnitelmaa. Joukkueen lisensseille tarjoamme 30 päivän rahanpalautustakuun. Voit vain pyytää hyvitystä 30 ensimmäisen päivän aikana. Yritys- ja yrityslisensseille hyvitämme 60% 30 päivässä. Tämä johtuu siitä, että yritys- ja yrityslisenssit sisältävät kaikkien moduulien ja teemojen täydellisen lähdekoodin.",
+ "DoYouAcceptBankWireTransfer": "Hyväksytkö pankkisiirron?",
+ "DoYouAcceptBankWireTransferExplanation": "Kyllä, hyväksymme pankkisiirron. Kun olet lähettänyt lisenssimäärän pankkisiirrolla, lähetä meille kuitti ja pyydetty lisenssityyppi sähköpostitse. Kansainväliset pankkitilitiedot:",
+ "HowToUpgrade": "Kuinka päivittää olemassa olevia sovelluksia, kun uusi versio on saatavilla?",
+ "HowToUpgradeExplanation1": "Kun luot uuden sovelluksen ABP Commercial -sovelluksella, kaikkia moduuleja ja teemaa käytetään NuGet- ja NPM-paketteina. Joten voit päivittää paketit helposti, kun uusi versio on saatavilla.",
+ "HowToUpgradeExplanation2": "Normaalien NuGet / NPM-päivitysten lisäksi ABP CLI tarjoaa päivityskomennon, joka etsii ja päivittää kaikki ratkaisusi ABP-paketit.",
+ "DatabaseSupport": "Mitä tietokantajärjestelmiä tuetaan?",
+ "DatabaseSupportExplanation": "ABP Framework itsessään on tietokanta-agnostinen ja voi luonteeltaan työskennellä minkä tahansa tietokantapalvelujen kanssa. Katso tietojen käyttöasiakirjasta luettelo tällä hetkellä toteutetuista palveluntarjoajista.",
+ "UISupport": "Mitä käyttöliittymäkehyksiä tuetaan?",
+ "Supported": "Tuettu",
+ "UISupportExplanation": "ABP Framework itsessään on käyttöliittymäkehyksen agnostikko ja voi toimia minkä tahansa käyttöliittymäkehyksen kanssa. Käynnistysmalleja, moduulin käyttöliittymiä ja teemoja ei kuitenkaan otettu käyttöön kaikissa käyttöliittymäkehyksissä. Katso käyttöliittymävaihtoehtojen ajantasainen luettelo aloitusasiakirjasta .",
+ "MicroserviceSupport": "Tukeeko se mikropalveluarkkitehtuuria?",
+ "MicroserviceSupportExplanation1": "Yksi sivutuotekehyksen tärkeimmistä tavoitteista on tarjota kätevä infrastruktuuri mikropalveluratkaisujen luomiseksi. Katso mikropalveluarkkitehtuuri -asiakirjasta, miten se auttaa luomaan mikropalvelujärjestelmiä.",
+ "MicroserviceSupportExplanation2": "Kaikki ABP Commercial -moduulit on suunniteltu tukemaan mikropalvelujen käyttöönottotilanteita (omalla sovellusliittymällä ja tietokannalla) noudattamalla moduulien kehittämisen parhaita käytäntöjä -asiakirjaa.",
+ "MicroserviceSupportExplanation3": "Tarjoamme esimerkin mikropalveluiden esittelyratkaisusta , joka osoittaa mikropalveluarkkitehtuurin toteutuksen auttaakseen sinua luomaan oman ratkaisun.",
+ "MicroserviceSupportExplanation4": "Lyhyt vastaus on \" kyllä, se tukee mikropalveluarkkitehtuuria \".",
+ "MicroserviceSupportExplanation5": "Mikropalvelujärjestelmä on kuitenkin ratkaisu, ja jokaisella ratkaisulla on erilaiset vaatimukset, verkon topologia, viestintätavat, todennusmahdollisuudet, tietokannan erottamis- / jakamispäätökset, ajonaikaiset kokoonpanot, kolmannen osapuolen järjestelmäintegraatiot ja paljon muuta.",
+ "MicroserviceSupportExplanation6": "ABP Framework ja ABP Commercial tarjoavat infrastruktuurin mikropalvelumalleja varten, mikropalvelujen kanssa yhteensopivia moduuleja, näytteitä ja dokumentaatiota, jotka auttavat sinua rakentamaan oman ratkaisun. Mutta älä odota lataavan unelmaratkaisua suoraan sinulle valmiiksi. Sinun täytyy ymmärtää se ja tuoda joitain osia toiveidesi mukaan.",
+ "WhereCanIDownloadSourceCode": "Mistä voin ladata lähdekoodin?",
+ "WhereCanIDownloadSourceCodeExplanation": "Voit ladata kaikkien ABP-moduulien, kulmapakettien ja teemojen lähdekoodin ABP Suite- tai ABP CLI -palvelun kautta. Katso Lähdekoodin lataaminen? ",
+ "ComputerLimitation": "Kuinka monta tietokonetta kehittäjä voi kirjautua kehittäessään ABP: tä?",
+ "ComputerLimitationExplanation": "Sallimme erikseen {0} tietokoneet yksittäistä / lisensoitua kehittäjää kohti. Aina kun kehittäjän on tarpeen kehittää ABP Commercial -tuotteita kolmannella koneella, on lähetettävä sähköpostiviesti osoitteeseen license@abp.io, jossa selitetään tilanne, ja sitten suoritamme sopivan varauksen järjestelmäämme.",
+ "RefundPolicy": "Onko sinulla hyvityskäytäntö?",
+ "RefundPolicyExplanation": "Voit pyytää hyvitystä 30 päivän kuluessa lisenssiostoksestasi. Yritys- ja yrityslisenssityypeillä on lähdekoodin latausvaihtoehto, joten hyvityksiä ei ole saatavana yrityksille ja yrityksille (eikä lisensseille, jotka sisältävät oikeuden saada lähdekoodia). Lisäksi uusimista ja toisen lisenssin ostoja ei hyvitetä.",
+ "HowCanIRefundVat": "Kuinka voin palauttaa arvonlisäveron?",
+ "HowCanIRefundVatExplanation1": "Jos suoritit maksun käyttämällä 2Checkoutia, voit palauttaa arvonlisäveron 2Checkout-tilisi kautta:",
+ "HowCanIRefundVatExplanation2": "Kirjaudu sisään 2Tarkista -tiliisi.",
+ "HowCanIRefundVatExplanation3": "Etsi sopiva tilaus ja paina \"Hyvitä myöhässä oleva alv\" (kirjoita ALV-tunnuksesi)",
+ "HowCanIGetMyInvoice": "Kuinka saan laskuni?",
+ "HowCanIGetMyInvoiceExplanation": "Lisenssin ostamiseen on 2 maksuyhdyskäytävää: PayU ja 2Checkout. Jos ostat lisenssin 2Checkout gatewayn kautta, se lähettää PDF-laskun sähköpostiosoitteeseesi, katso 2Tarkista laskutus. Jos ostat PayU-yhdyskäytävän kautta tai pankkisiirrolla, valmistelemme ja lähetämme laskusi. Voit pyytää laskua organisaation hallintasivulta ",
+ "Forum": "Foorumi",
+ "SupportExplanation": "ABP Commercial -lisenssit tarjoavat ensiluokkaisen foorumituen ABP-kehyksen asiantuntijoista koostuvalle tiimille.",
+ "PrivateTicket": "Yksityinen lippu",
+ "PrivateTicketExplanation": "Yrityslisenssi sisältää myös yksityisen tuen sähköposti- ja lippujärjestelmällä.",
+ "AbpSuiteExplanation1": "ABP Suiten avulla voit luoda verkkosivuja muutamassa minuutissa. Se on .NET Core Global -työkalu, joka voidaan asentaa komentoriviltä.",
+ "AbpSuiteExplanation2": "Se voi luoda uuden ABP-ratkaisun, luoda CRUD-sivuja tietokannasta käyttöliittymään. Katso tekninen yleiskatsaus asiakirjasta ",
+ "FastEasy": "Nopea ja helppo",
+ "AbpSuiteExplanation3": "ABP Suiten avulla voit luoda helposti CRUD-sivuja. Sinun tarvitsee vain määritellä entiteetti ja sen ominaisuudet, antaa loput ABP Suiten puolestasi! ABP Suite luo kaikki tarvittavat koodit CRUD-sivullesi muutamassa sekunnissa. Se tukee Angular-, MVC- ja Blazor-käyttöliittymiä.",
+ "RichOptions": "Monipuoliset vaihtoehdot",
+ "AbpSuiteExplanation4": "ABP Suite tukee useita käyttöliittymävaihtoehtoja, kuten Razor Pages ja Kulma .Se tukee myös useita tietokantoja, kuten MongoDB ja kaikkia EntityFramework Core <: n tukemia tietokantoja. / strong> (MS SQL Server, Oracle, MySql, PostgreSQL ja lisää ).",
+ "AbpSuiteExplanation5": "Hyvä asia on, että sinun ei tarvitse huolehtia näistä vaihtoehdoista. ABP Suite ymmärtää projektisi tyypin ja luo koodin projektillesi ja sijoittaa luodun koodin oikeaan paikkaan projektissasi.",
+ "SourceCode": "Lähdekoodi",
+ "AbpSuiteExplanation6": "ABP Suite luo lähdekoodin sinulle! Se ei luo taikuustiedostoja verkkosivun luomiseksi. ABP Suite luo lähdekoodin Entity, Repository, Application Service, Code First Migration, JavaScript / TypeScript ja CSHTML / HTML sekä tarvittavat liitännät. ABP Suite tuottaa koodin myös ohjelmistokehityksen parhaiden käytäntöjen mukaisesti, joten sinun ei tarvitse huolehtia luodun koodin laadusta.",
+ "AbpSuiteExplanation7": "Koska luotun CRUD-sivun rakennuspalikoiden lähdekoodi on oikeissa sovelluskerroksissa, voit helposti muokata lähdekoodia ja pistää mukautetun / bussiness-logiikan luotuun koodiin.",
+ "CrossPlatform": "Cross Platform",
+ "AbpSuiteExplanation8": "ABP Suite on rakennettu .NET Core -sovelluksella ja se on alustojen välinen. Se toimii verkkosovelluksena paikallisella tietokoneellasi. Voit käyttää sitä Windows , Mac ja Linux ",
+ "OtherFeatures": "Muut ominaisuudet",
+ "OtherFeatures1": "Päivittää ratkaisusi NuGet ja NPM -paketit helposti.",
+ "OtherFeatures2": "Palauttaa jo luodut sivut tyhjästä.",
+ "OtherFeatures3": "Luo uusia ratkaisuja",
+ "ThanksForCreatingProject": "Kiitos projektin luomisesta!",
+ "HotToRunSolution": "Kuinka ajaa ratkaisusi?",
+ "HotToRunSolutionExplanation": "Katso aloitusasiakirjasta lisätietoja ratkaisun määrittämisestä ja ajamisesta.",
+ "GettingStarted": "Päästä alkuun",
+ "WebAppDevTutorial": "Verkkosovellusten kehittäjän opetusohjelma",
+ "WebAppDevTutorialExplanation": "Katso vaiheittainen kehitysnäyte verkkosovellusten kehittämisoppaasta.",
+ "Document": "Asiakirja",
+ "UsingABPSuiteToCURD": "ABP Suiten käyttäminen CRUD-sivunluontia ja työkaluja varten",
+ "SeeABPSuiteDocument": "Katso ABP Suite -asiakirjasta ABP Suiten käyttö.",
+ "AskQuestionsOnSupport": "Voit esittää kysymyksiä ABP: n kaupallisesta tuesta.",
+ "Documentation": "Dokumentointi",
+ "SeeModulesDocument": "Katso moduulidokumentista luettelo kaikista kaupallisista (pro) moduuleista ja niiden asiakirjoista.",
+ "Pricing": "Hinnoittelu",
+ "PricingExplanation": "Valitse ominaisuudet ja toiminnot, joita yrityksesi tarvitsee tänään. Päivitä helposti, kun yrityksesi kasvaa.",
+ "Team": "Tiimi",
+ "Business": "Liiketoiminta",
+ "Enterprise": "Yritys",
+ "Custom": "Mukautettu",
+ "IncludedDeveloperLicenses": "Mukana kehittäjälisenssit",
+ "CustomLicenceOrAdditionalServices": "Tarvitsetko mukautettua lisenssiä tai lisäpalveluja?",
+ "CustomOrVolumeLicense": "Mukautettu tai volyymilisenssi",
+ "LiveTrainingSupport": "Live-koulutus ja tuki",
+ "AndMore": "ja enemmän",
+ "AdditionalDeveloperLicense": "Kehittäjän lisenssi",
+ "ProjectCount": "Projektilaskenta",
+ "AllProModules": "Kaikki pro-moduulit",
+ "AllProThemes": "Kaikki pro-teemat",
+ "AllProStartupTemplates": "Kaikki pro-käynnistysmallit",
+ "SourceCodeOfAllModules": "Kaikkien moduulien lähdekoodi",
+ "SourceCodeOfAllThemes": "Kaikkien teemojen lähdekoodi",
+ "PerpetualLicense": "Jatkuva lisenssi",
+ "UnlimitedServerDeployment": "Rajoittamaton palvelimen käyttöönotto",
+ "YearUpgrade": "1 vuoden päivitys",
+ "YearPremiumForumSupport": "Yhden vuoden premium-foorumin tuki",
+ "ForumSupportIncidentCountYear": "Foorumin tuen tapahtumien määrä / vuosi",
+ "PrivateTicketEmailSupport": "Yksityinen lippu- ja sähköpostituki",
+ "BuyNow": "Osta nyt",
+ "PayViaAmexCard": "Kuinka voin maksaa AMEX-korttini kautta?",
+ "PayViaAmexCardDescription": "Oletusmaksuyhdyskäytävä 'Iyzico' voi hylätä tietyt AMEX-luottokortit turvatoimenpiteiden takia. Tässä tapauksessa voit maksaa vaihtoehtoisen maksuyhdyskäytävän '2Checkout' kautta.",
+ "ThankYou": "Kiitos",
+ "InvalidReCaptchaErrorMessage": "ReCAPTCHA: n vahvistamisessa tapahtui virhe. Yritä uudelleen."
+ }
+}
\ No newline at end of file
diff --git a/abp_io/AbpIoLocalization/AbpIoLocalization/Community/Localization/Resources/FR.json b/abp_io/AbpIoLocalization/AbpIoLocalization/Community/Localization/Resources/FR.json
new file mode 100644
index 0000000000..8c382f760e
--- /dev/null
+++ b/abp_io/AbpIoLocalization/AbpIoLocalization/Community/Localization/Resources/FR.json
@@ -0,0 +1,144 @@
+{
+ "culture": "fr",
+ "texts": {
+ "Permission:CommunityArticle": "Article communautaire",
+ "Permission:Edit": "Éditer",
+ "Waiting": "Attendre",
+ "Approved": "Approuvé",
+ "Rejected": "Rejeté",
+ "Wait": "Attendez",
+ "Approve": "Approuver",
+ "Reject": "Rejeter",
+ "ReadArticle": "Lire l'article",
+ "Status": "Statut",
+ "ContentSource": "Source du contenu",
+ "Details": "Des détails",
+ "Url": "URL",
+ "Title": "Titre",
+ "CreationTime": "Temps de creation",
+ "Save": "Sauvegarder",
+ "SameUrlAlreadyExist": "La même URL existe déjà si vous souhaitez ajouter cet article, vous devez changer l'url!",
+ "UrlIsNotValid": "L'URL n'est pas valide.",
+ "UrlNotFound": "URL introuvable.",
+ "UrlContentNotFound": "Contenu de l'URL introuvable.",
+ "Summary": "Résumé",
+ "MostRead": "Les plus lus",
+ "Latest": "Dernier",
+ "ContributeAbpCommunity": "Contribuez à la communauté ABP",
+ "SubmitYourArticle": "Soumettez votre message",
+ "ContributionGuide": "Guide de contribution",
+ "BugReport": "Rapport d'erreur",
+ "SeeAllArticles": "Voir tous les articles",
+ "WelcomeToABPCommunity!": "Bienvenue dans la communauté ABP!",
+ "MyProfile": "Mon profil",
+ "MyOrganizations": "Mes organisations",
+ "EmailNotValid": "S'il vous plaît, mettez une adresse email valide.",
+ "FeatureRequest": "Demande de fonctionnalité",
+ "CreateArticleTitleInfo": "Titre du message à afficher dans la liste des messages.",
+ "CreateArticleSummaryInfo": "Un bref résumé du message à afficher dans la liste des messages.",
+ "CreateArticleCoverInfo": "Pour créer un article efficace, ajoutez une photo de couverture. Téléchargez des images au format 16: 9 pour une meilleure vue. Taille maximale du fichier: 1 Mo.",
+ "ThisExtensionIsNotAllowed": "Cette extension n'est pas autorisée.",
+ "TheFileIsTooLarge": "Le fichier est trop volumineux.",
+ "GoToTheArticle": "Aller à l'article",
+ "Contribute": "Contribuer",
+ "OverallProgress": "Les progrès d'ensemble",
+ "Done": "Fait",
+ "Open": "Ouvert",
+ "Closed": "Fermé",
+ "LatestQuestionOnThe": "Dernière question sur le",
+ "Stackoverflow": "Stackoverflow",
+ "Votes": "les votes",
+ "Answer": "Répondre",
+ "Views": "vues",
+ "Answered": "Répondu",
+ "WaitingForYourAnswer": "J'attends ta réponse",
+ "Asked": "demandé",
+ "AllQuestions": "Toutes les questions",
+ "NextVersion": "Version suivante",
+ "MilestoneErrorMessage": "Impossible d'obtenir les détails de l'étape actuelle à partir de Github.",
+ "QuestionItemErrorMessage": "Impossible d'obtenir les derniers détails de la question de Stackoverflow.",
+ "Oops": "Oops!",
+ "CreateArticleSuccessMessage": "L'article a été soumis avec succès. Il sera publié après un examen de l'administrateur du site.",
+ "ChooseCoverImage": "Choisissez une image de couverture ...",
+ "CoverImage": "Image de couverture",
+ "ShareYourExperiencesWithTheABPFramework": "Partagez vos expériences avec le Framework ABP!",
+ "Optional": "Optionnel",
+ "UpdateUserWebSiteInfo": "Exemple: https://johndoe.com",
+ "UpdateUserTwitterInfo": "Exemple: johndoe",
+ "UpdateUserGithubInfo": "Exemple: johndoe",
+ "UpdateUserLinkedinInfo": "Exemple: https: //www.linkedin.com / ...",
+ "UpdateUserCompanyInfo": "Exemple: Volosoft",
+ "UpdateUserJobTitleInfo": "Exemple: développeur de logiciels",
+ "UserName": "Nom d'utilisateur",
+ "Company": "Compagnie",
+ "PersonalWebsite": "Site Web personnel",
+ "RegistrationDate": "Date d'inscription",
+ "Social": "Social",
+ "Biography": "Biographie",
+ "HasNoPublishedArticlesYet": "n'a pas encore d'articles publiés",
+ "Author": "Auteur",
+ "LatestGithubAnnouncements": "Dernières annonces Github",
+ "SeeAllAnnouncements": "Voir toutes les annonces",
+ "LatestBlogPost": "Dernier article de blog",
+ "Edit": "Éditer",
+ "ProfileImageChange": "Changer l'image de profil",
+ "BlogItemErrorMessage": "Impossible d'obtenir les derniers détails du billet de blog d'ABP.",
+ "PlannedReleaseDate": "Date de sortie prévue",
+ "CommunityArticleRequestErrorMessage": "Impossible d'obtenir la dernière demande d'article de Github.",
+ "ArticleRequestFromGithubIssue": "Il n'y a actuellement aucune demande d'article.",
+ "LatestArticles": "Derniers messages",
+ "ArticleRequests": "Demandes d'articles",
+ "AllArticleRequests": "Voir toutes les demandes d'articles",
+ "SubscribeToTheNewsletter": "Abonnez-vous à la newsletter",
+ "NewsletterEmailDefinition": "Obtenez des informations sur les événements d'ABP, comme les nouvelles versions, les sources gratuites, les articles, etc.",
+ "NoThanks": "Non merci",
+ "MaybeLater": "Peut-être plus tard",
+ "JoinOurArticleNewsletter": "Rejoignez notre newsletter d'article",
+ "Community": "Communauté",
+ "Marketing": "Commercialisation",
+ "CommunityPrivacyPolicyConfirmation": "J'accepte les conditions générales et la politique de confidentialité .",
+ "ArticleRequestMessageTitle": " Ouvrez un problème sur le GitHub pour demander un article / didacticiel que vous souhaitez voir sur ce site Web.",
+ "ArticleRequestMessageBody": "Ici, la liste des articles demandés par la communauté. Voulez-vous écrire un article demandé? Veuillez cliquer sur la demande et vous joindre à la discussion.",
+ "Language": "Langue",
+ "CreateArticleLanguageInfo": "La langue du contenu de l'article.",
+ "VideoPost": "Message vidéo",
+ "Article": "Article",
+ "Read": "Lis",
+ "CreateGithubArticleUrlInfo": "URL GitHub d'origine de l'article.",
+ "CreateVideoContentUrlInfo": "URL Youtube d'origine du message.",
+ "CreateExternalArticleUrlInfo": "URL externe d'origine de l'article.",
+ "VideoContentForm": "Soumettre une vidéo sur YouTube",
+ "GithubPostForm": "Soumettre un article sur GitHub",
+ "ExternalPostForm": "Soumettre un contenu externe",
+ "HowToPost": "Comment publier?",
+ "Posts": "Des postes",
+ "VideoUrl": "URL de la vidéo",
+ "GithubArticleUrl": "URL de l'article Github",
+ "ExternalArticleUrl": "URL de l'article externe",
+ "CreatePostCoverInfo": "Pour créer un article efficace, ajoutez une photo de couverture. Téléchargez des images au format 16: 9 pour une meilleure vue. Taille maximale du fichier: 1 Mo.",
+ "ThankYouForContribution": "Merci de contribuer à la communauté ABP.",
+ "GithubArticle": "Article Github",
+ "GithubArticleSubmitStepOne": " 1. Rédigez un article sur n'importe quel référentiel GitHub public au format Markdown. Exemple de ",
+ "GithubArticleSubmitStepTwo": " 2. Envoyez l'URL de votre article à l'aide du formulaire.",
+ "GithubArticleSubmitStepThree": " 3. Votre article sera rendu sur ce site Web.",
+ "YoutubeVideo": "Vidéo Youtube",
+ "YoutubeVideoSubmitStepOne": " 1. Publiez votre vidéo sur YouTube.",
+ "YoutubeVideoSubmitStepTwo": " 2. Envoyez l'URL de la vidéo à l'aide du formulaire.",
+ "YoutubeVideoSubmitStepThree": " 3. Les visiteurs pourront visionner votre contenu vidéo directement sur ce site Web.",
+ "ExternalContent": "Contenu externe",
+ "ExternalContentSubmitStepOne": " 1. Créez un contenu sur n'importe quelle plate-forme publique (support, votre propre blog ou partout où vous le souhaitez).",
+ "ExternalContentSubmitStepTwo": " 2. Envoyez votre URL de contenu à l'aide du formulaire.",
+ "ExternalContentSubmitStepThree": " 3. Les visiteurs sont redirigés vers le contenu du site Web d'origine.",
+ "ChooseYourContentType": "Veuillez choisir la manière dont vous souhaitez ajouter votre contenu.",
+ "PostContentViaGithub": "Je souhaite ajouter mon article avec GitHub conformément aux règles de démarque.",
+ "PostContentViaYoutube": "Je souhaite partager mes vidéos disponibles sur Youtube ici.",
+ "PostContentViaExternalSource": "Je souhaite ajouter le contenu que j'ai publié sur une autre plate-forme ici.",
+ "GitHubUserNameValidationMessage": "Votre nom d'utilisateur Github ne peut pas inclure d'espaces, veuillez vous assurer que votre nom d'utilisateur Github est correct.",
+ "PersonalSiteUrlValidationMessage": "L'URL de votre site personnel ne peut pas inclure d'espaces, veuillez vous assurer que l'URL de votre site personnel est correcte.",
+ "TwitterUserNameValidationMessage": "Votre nom d'utilisateur Twitter ne peut pas inclure d'espaces, veuillez vous assurer que votre nom d'utilisateur Twitter est correct.",
+ "LinkedinUrlValidationMessage": "Votre URL Linkedin ne peut pas inclure d'espace blanc, veuillez vous assurer que votre URL Linkedin est correcte.",
+ "NoPostsFound": "Aucun article trouvé!",
+ "SearchInPosts": "Rechercher dans les messages ...",
+ "MinimumSearchContent": "Vous devez saisir au moins 3 caractères!"
+ }
+}
\ No newline at end of file
diff --git a/abp_io/AbpIoLocalization/AbpIoLocalization/Community/Localization/Resources/en.json b/abp_io/AbpIoLocalization/AbpIoLocalization/Community/Localization/Resources/en.json
index 82033e5849..7be579f1fb 100644
--- a/abp_io/AbpIoLocalization/AbpIoLocalization/Community/Localization/Resources/en.json
+++ b/abp_io/AbpIoLocalization/AbpIoLocalization/Community/Localization/Resources/en.json
@@ -139,6 +139,9 @@
"LinkedinUrlValidationMessage": "Your Linkedin URL can not include whitespace, please be sure your Linkedin URL is correct.",
"NoPostsFound": "No posts found!",
"SearchInPosts": "Search in posts...",
- "MinimumSearchContent": "You must enter at least 3 characters!"
+ "MinimumSearchContent": "You must enter at least 3 characters!",
+ "Volo.AbpIo.Domain:060001": "Source URL(\"{ArticleUrl}\") is not Github URL",
+ "Volo.AbpIo.Domain:060002": "Article Content is not available from Github(\"{ArticleUrl}\") resource.",
+ "Volo.AbpIo.Domain:060003": "No article content found!"
}
}
diff --git a/abp_io/AbpIoLocalization/AbpIoLocalization/Community/Localization/Resources/fi.json b/abp_io/AbpIoLocalization/AbpIoLocalization/Community/Localization/Resources/fi.json
new file mode 100644
index 0000000000..cba33bfc30
--- /dev/null
+++ b/abp_io/AbpIoLocalization/AbpIoLocalization/Community/Localization/Resources/fi.json
@@ -0,0 +1,144 @@
+{
+ "culture": "fi",
+ "texts": {
+ "Permission:CommunityArticle": "Yhteisön artikkeli",
+ "Permission:Edit": "Muokata",
+ "Waiting": "Odottaa",
+ "Approved": "Hyväksytty",
+ "Rejected": "Hylätty",
+ "Wait": "Odota",
+ "Approve": "Hyväksyä",
+ "Reject": "Hylätä",
+ "ReadArticle": "Lue artikkeli",
+ "Status": "Tila",
+ "ContentSource": "Sisältölähde",
+ "Details": "Yksityiskohdat",
+ "Url": "URL-osoite",
+ "Title": "Otsikko",
+ "CreationTime": "Luomisaika",
+ "Save": "Tallentaa",
+ "SameUrlAlreadyExist": "Sama URL-osoite on jo olemassa, jos haluat lisätä tämän artikkelin, vaihda URL-osoite!",
+ "UrlIsNotValid": "URL-osoite ei kelpaa.",
+ "UrlNotFound": "URL-osoitetta ei löydy.",
+ "UrlContentNotFound": "URL-osoitteen sisältöä ei löydy.",
+ "Summary": "Yhteenveto",
+ "MostRead": "Luetuimmat",
+ "Latest": "Viimeisin",
+ "ContributeAbpCommunity": "Osallistu sivutuotteiden yhteisöön",
+ "SubmitYourArticle": "Lähetä viesti",
+ "ContributionGuide": "Contribution Guide",
+ "BugReport": "Virhe raportti",
+ "SeeAllArticles": "Katso kaikki viestit",
+ "WelcomeToABPCommunity!": "Tervetuloa ABP-yhteisöön!",
+ "MyProfile": "Profiilini",
+ "MyOrganizations": "Omat organisaatiot",
+ "EmailNotValid": "Ole hyvä ja syötä toimiva sähköpostiosoite.",
+ "FeatureRequest": "Ominaisuuspyyntö",
+ "CreateArticleTitleInfo": "Viestiluettelossa näytettävän viestin nimi.",
+ "CreateArticleSummaryInfo": "Lyhyt yhteenveto viestistä, joka näytetään postituslistalla.",
+ "CreateArticleCoverInfo": "Lisää tehokkaan artikkelin luomiseksi kansikuva. Lataa 16: 9-kuvasuhteen kuvat parhaan näkymän saamiseksi. Tiedoston enimmäiskoko: 1 Mt.",
+ "ThisExtensionIsNotAllowed": "Tätä laajennusta ei sallita.",
+ "TheFileIsTooLarge": "Tiedosto on liian suuri.",
+ "GoToTheArticle": "Siirry artikkeliin",
+ "Contribute": "Osallistu",
+ "OverallProgress": "Kokonaisedistyminen",
+ "Done": "Tehty",
+ "Open": "Avata",
+ "Closed": "Suljettu",
+ "LatestQuestionOnThe": "Viimeisin kysymys",
+ "Stackoverflow": "Pinoaminen",
+ "Votes": "ääntä",
+ "Answer": "Vastaus",
+ "Views": "näkymät",
+ "Answered": "Vastasi",
+ "WaitingForYourAnswer": "Odotan vastaustasi",
+ "Asked": "kysyi",
+ "AllQuestions": "Kaikki kysymykset",
+ "NextVersion": "Seuraava versio",
+ "MilestoneErrorMessage": "Nykyisiä virstanpylväitä koskevia tietoja ei saatu Githubilta.",
+ "QuestionItemErrorMessage": "Viimeisimmät kysymystiedot Stackoverflow'sta epäonnistui.",
+ "Oops": "Oho!",
+ "CreateArticleSuccessMessage": "Artikkeli on lähetetty onnistuneesti. Se julkaistaan sivuston järjestelmänvalvojan tarkistuksen jälkeen.",
+ "ChooseCoverImage": "Valitse kansikuva ...",
+ "CoverImage": "Kansikuva",
+ "ShareYourExperiencesWithTheABPFramework": "Jaa kokemuksesi ABP-puitteista!",
+ "Optional": "Valinnainen",
+ "UpdateUserWebSiteInfo": "Esimerkki: https://johndoe.com",
+ "UpdateUserTwitterInfo": "Esimerkki: johndoe",
+ "UpdateUserGithubInfo": "Esimerkki: johndoe",
+ "UpdateUserLinkedinInfo": "Esimerkki: https: //www.linkedin.com / ...",
+ "UpdateUserCompanyInfo": "Esimerkki: Volosoft",
+ "UpdateUserJobTitleInfo": "Esimerkki: Ohjelmistokehittäjä",
+ "UserName": "Käyttäjänimi",
+ "Company": "Yhtiö",
+ "PersonalWebsite": "Henkilökohtainen verkkosivusto",
+ "RegistrationDate": "rekisteröinti päivämäärä",
+ "Social": "Sosiaalinen",
+ "Biography": "Elämäkerta",
+ "HasNoPublishedArticlesYet": "ei ole vielä julkaissut artikkeleita",
+ "Author": "Kirjoittaja",
+ "LatestGithubAnnouncements": "Viimeisimmät Github-ilmoitukset",
+ "SeeAllAnnouncements": "Katso kaikki ilmoitukset",
+ "LatestBlogPost": "Viimeisin blogiviesti",
+ "Edit": "Muokata",
+ "ProfileImageChange": "Vaihda profiilikuva",
+ "BlogItemErrorMessage": "Viimeisimpiä blogiviestitietoja ei saatu ABP: ltä.",
+ "PlannedReleaseDate": "Suunniteltu julkaisupäivä",
+ "CommunityArticleRequestErrorMessage": "Uusinta artikkelipyyntöä ei saatu Githubilta.",
+ "ArticleRequestFromGithubIssue": "Artikkelipyyntöjä ei ole nyt.",
+ "LatestArticles": "Uusimmat viestit",
+ "ArticleRequests": "Artikkelipyynnöt",
+ "AllArticleRequests": "Katso kaikki artikkelipyynnöt",
+ "SubscribeToTheNewsletter": "Tilaa uutiskirje",
+ "NewsletterEmailDefinition": "Hanki tietoa ABP: n tapahtumista, kuten uusista julkaisuista, ilmaisista lähteistä, artikkeleista ja muusta.",
+ "NoThanks": "Ei kiitos",
+ "MaybeLater": "Ehkä myöhemmin",
+ "JoinOurArticleNewsletter": "Liity artikkeliuutiskirjeeseemme",
+ "Community": "Yhteisö",
+ "Marketing": "Markkinointi",
+ "CommunityPrivacyPolicyConfirmation": "Hyväksyn käyttöehdot ja tietosuojakäytännön .",
+ "ArticleRequestMessageTitle": " Avaa ongelma GitHubissa pyytääksesi artikkelia / opetusohjelmaa, jonka haluat nähdä tällä verkkosivustolla.",
+ "ArticleRequestMessageBody": "Tässä luettelo yhteisön pyytämistä artikkeleista. Haluatko kirjoittaa pyydetyn artikkelin? Napsauta pyyntöä ja liity keskusteluun.",
+ "Language": "Kieli",
+ "CreateArticleLanguageInfo": "Viestin sisällön kieli.",
+ "VideoPost": "Videoposti",
+ "Article": "Artikla",
+ "Read": "Lukea",
+ "CreateGithubArticleUrlInfo": "Artikkelin alkuperäinen GitHub-URL-osoite.",
+ "CreateVideoContentUrlInfo": "Viestin alkuperäinen Youtube-URL-osoite.",
+ "CreateExternalArticleUrlInfo": "Artikkelin alkuperäinen ulkoinen URL-osoite.",
+ "VideoContentForm": "Lähetä video YouTubessa",
+ "GithubPostForm": "Lähetä artikkeli GitHubista",
+ "ExternalPostForm": "Lähetä ulkoinen sisältö",
+ "HowToPost": "Kuinka lähettää?",
+ "Posts": "Viestit",
+ "VideoUrl": "Videon URL-osoite",
+ "GithubArticleUrl": "Github-artikkelien URL-osoite",
+ "ExternalArticleUrl": "Ulkoisen artikkelin URL-osoite",
+ "CreatePostCoverInfo": "Lisää kansikuva, jotta voit luoda tehokkaan viestin. Lataa 16: 9-kuvasuhteen kuvat parhaan näkymän saamiseksi. Tiedoston enimmäiskoko: 1 Mt.",
+ "ThankYouForContribution": "Kiitos osallistumisesta ABP-yhteisöön.",
+ "GithubArticle": "Github-artikkeli",
+ "GithubArticleSubmitStepOne": " 1. Kirjoita artikkeli mistä tahansa julkisesta GitHub-arkistosta Markdown-muodossa. esimerkki ",
+ "GithubArticleSubmitStepTwo": " 2. Lähetä artikkelin URL-osoite lomaketta käyttämällä.",
+ "GithubArticleSubmitStepThree": " 3. Artikkelisi renderöidään tällä verkkosivustolla.",
+ "YoutubeVideo": "Youtube-video",
+ "YoutubeVideoSubmitStepOne": " 1. Julkaise videosi YouTubessa.",
+ "YoutubeVideoSubmitStepTwo": " 2. Lähetä videon URL-osoite lomaketta käyttäen.",
+ "YoutubeVideoSubmitStepThree": " 3. Vierailijat voivat katsella videosisältöäsi suoraan tällä verkkosivustolla.",
+ "ExternalContent": "Ulkoinen sisältö",
+ "ExternalContentSubmitStepOne": " 1. Luo sisältöä mille tahansa julkiselle alustalle (media, oma blogi tai mihin tahansa haluat).",
+ "ExternalContentSubmitStepTwo": " 2. Lähetä sisällön URL-osoite lomaketta käyttämällä.",
+ "ExternalContentSubmitStepThree": " 3. Vierailijat ohjataan alkuperäisen verkkosivuston sisältöön.",
+ "ChooseYourContentType": "Valitse tapa, jolla haluat lisätä sisältöä.",
+ "PostContentViaGithub": "Haluan lisätä artikkelini GitHub -merkintäsääntöjen mukaisesti.",
+ "PostContentViaYoutube": "Haluan jakaa videoni, jotka ovat käytettävissä Youtube täällä.",
+ "PostContentViaExternalSource": "Haluan lisätä toisella alustalla julkaisemani sisällön tähän.",
+ "GitHubUserNameValidationMessage": "Github-käyttäjänimesi ei voi sisältää välilyöntiä. Varmista, että Github-käyttäjänimesi on oikea.",
+ "PersonalSiteUrlValidationMessage": "Henkilökohtaisen sivuston URL-osoite ei voi sisältää välilyöntiä. Varmista, että henkilökohtaisen sivuston URL-osoite on oikea.",
+ "TwitterUserNameValidationMessage": "Twitter-käyttäjänimesi ei voi sisältää välilyöntiä. Varmista, että Twitter-käyttäjänimesi on oikea.",
+ "LinkedinUrlValidationMessage": "Linkedin-URL-osoitteesi ei voi sisältää välilyöntiä. Varmista, että Linkedin-URL-osoitteesi on oikea.",
+ "NoPostsFound": "Viestejä ei löytynyt!",
+ "SearchInPosts": "Hae viesteistä ...",
+ "MinimumSearchContent": "Sinun on annettava vähintään 3 merkkiä!"
+ }
+}
\ No newline at end of file
diff --git a/abp_io/AbpIoLocalization/AbpIoLocalization/Www/Localization/Resources/FR.json b/abp_io/AbpIoLocalization/AbpIoLocalization/Www/Localization/Resources/FR.json
new file mode 100644
index 0000000000..b3b8d3e241
--- /dev/null
+++ b/abp_io/AbpIoLocalization/AbpIoLocalization/Www/Localization/Resources/FR.json
@@ -0,0 +1,202 @@
+{
+ "culture": "fr",
+ "texts": {
+ "GetStarted": "Commencer - Modèles de démarrage",
+ "Create": "Créer",
+ "NewProject": "Nouveau projet",
+ "DirectDownload": "Téléchargement direct",
+ "ProjectName": "Nom du projet",
+ "ProjectType": "Type de projet",
+ "DatabaseProvider": "Fournisseur de base de données",
+ "DatabaseManagementSystem": "Système de gestion de base de données",
+ "NTier": "N-Tier",
+ "IncludeUserInterface": "Inclure l'interface utilisateur",
+ "CreateNow": "Créer maintenant",
+ "TheStartupProject": "Le projet de démarrage",
+ "Tutorial": "Didacticiel",
+ "UsingCLI": "Utilisation de la CLI",
+ "SeeDetails": "Voir les détails",
+ "AbpShortDescription": "ABP Framework est une infrastructure complète pour créer des applications Web modernes en suivant les meilleures pratiques et conventions de développement logiciel.",
+ "SourceCodeUpper": "CODE SOURCE",
+ "LatestReleaseLogs": "Derniers journaux de version",
+ "Infrastructure": "Infrastructure",
+ "Architecture": "Architecture",
+ "Modular": "Modulaire",
+ "DontRepeatYourself": "Ne vous répétez pas",
+ "DeveloperFocused": "Axé sur les développeurs",
+ "FullStackApplicationInfrastructure": "Infrastructure d'application complète.",
+ "DomainDrivenDesign": "Conception pilotée par le domaine",
+ "DomainDrivenDesignExplanation": "Conçu et développé sur la base des modèles et principes DDD. Fournit un modèle en couches pour votre application.",
+ "Authorization": "Autorisation",
+ "AuthorizationExplanation": "Autorisation avancée avec utilisateur, rôle et système d'autorisation précis. Construit sur la bibliothèque d'identité Microsoft.",
+ "MultiTenancy": "Locations multiples",
+ "MultiTenancyExplanationShort": "Les applications SaaS simplifiées! Multi-location intégrée de la base de données à l'interface utilisateur.",
+ "CrossCuttingConcerns": "Préoccupations transversales",
+ "CrossCuttingConcernsExplanationShort": "Infrastructure complète pour l'autorisation, la validation, la gestion des exceptions, la mise en cache, la journalisation d'audit, la gestion des transactions et plus encore.",
+ "BuiltInBundlingMinification": "Regroupement et minification intégrés",
+ "BuiltInBundlingMinificationExplanation": "Pas besoin d'utiliser des outils externes pour le regroupement et la minimisation. ABP offre un moyen plus simple, dynamique, puissant, modulaire et intégré!",
+ "VirtualFileSystem": "Système de fichiers virtuel",
+ "VirtualFileSystemExplanation": "Incorporez des vues, des scripts, des styles, des images ... dans des packages / bibliothèques et réutilisez-les dans différentes applications.",
+ "Theming": "Thème",
+ "ThemingExplanationShort": "Utilisez et personnalisez le thème d'interface utilisateur standard basé sur le bootstrap ou créez le vôtre.",
+ "BootstrapTagHelpersDynamicForms": "Aide aux balises Bootstrap et formulaires dynamiques",
+ "BootstrapTagHelpersDynamicFormsExplanation": "Au lieu d'écrire manuellement les détails répétitifs des composants d'amorçage, utilisez les assistants de balises d'ABP pour le simplifier et tirer parti d'intellisense. Créez rapidement des formulaires d'interface utilisateur basés sur un modèle C # à l'aide de l'assistant de balise de formulaire dynamique.",
+ "HTTPAPIsDynamicProxies": "API HTTP et proxys dynamiques",
+ "HTTPAPIsDynamicProxiesExplanation": "Exposez automatiquement les services d'application en tant qu'API HTTP de style REST et utilisez-les avec des proxys JavaScript et C # dynamiques.",
+ "CompleteArchitectureInfo": "Architecture moderne pour créer des solutions logicielles maintenables.",
+ "DomainDrivenDesignBasedLayeringModelExplanation": "Vous aide à implémenter une architecture en couches basée sur DDD et à créer une base de code maintenable.",
+ "DomainDrivenDesignBasedLayeringModelExplanationCont": "Fournit des modèles de démarrage, des abstractions, des classes de base, des services, de la documentation et des guides pour vous aider à développer votre application basée sur les modèles et principes DDD.",
+ "MicroserviceCompatibleModelExplanation": "Le cadre de base et les modules de pré-construction sont conçus avec l'architecture de microservice à l'esprit.",
+ "MicroserviceCompatibleModelExplanationCont": "Fournit une infrastructure, des intégrations, des exemples et de la documentation pour mettre en œuvre des solutions de microservices plus facilement, sans apporter de complexité supplémentaire si vous souhaitez une application monolithique.",
+ "ModularInfo": "ABP fournit un système de modules qui vous permet de développer des modules d'application réutilisables, de les relier aux événements du cycle de vie des applications et d'exprimer les dépendances entre les parties centrales de votre système.",
+ "PreBuiltModulesThemes": "Modules et thèmes prédéfinis",
+ "PreBuiltModulesThemesExplanation": "Les modules et thèmes open source et commerciaux sont prêts à être utilisés dans votre application professionnelle.",
+ "NuGetNPMPackages": "Packages NuGet et NPM",
+ "NuGetNPMPackagesExplanation": "Distribué sous forme de packages NuGet et NPM. Facile à installer et à mettre à jour.",
+ "ExtensibleReplaceable": "Extensible / remplaçable",
+ "ExtensibleReplaceableExplanation": "Tous les services et modules sont conçus pour l'extensibilité. Vous pouvez remplacer des services, des pages, des styles et des composants.",
+ "CrossCuttingConcernsExplanation2": "Réduisez la taille de votre base de code afin de rester concentré sur le code spécifique à votre entreprise.",
+ "CrossCuttingConcernsExplanation3": "N'envoyez pas de temps pour mettre en œuvre les exigences d'application communes sur plusieurs projets.",
+ "AuthenticationAuthorization": "Autorisation d'authentification",
+ "ExceptionHandling": "Gestion des exceptions",
+ "Validation": "Validation",
+ "DatabaseConnection": "Connexion à la base de données",
+ "TransactionManagement": "Gestion des transactions",
+ "AuditLogging": "Journalisation d'audit",
+ "Caching": "Mise en cache",
+ "Multitenancy": "Locations multiples",
+ "DataFiltering": "Filtrage des données",
+ "ConventionOverConfiguration": "Convention sur la configuration",
+ "ConventionOverConfigurationExplanation": "ABP implémente par défaut des conventions d'application communes avec une configuration minimale ou nulle.",
+ "ConventionOverConfigurationExplanationList1": "Enregistre automatiquement les services connus pour l'injection de dépendances.",
+ "ConventionOverConfigurationExplanationList2": "Expose les services d'application en tant qu'API HTTP par des conventions de dénomination.",
+ "ConventionOverConfigurationExplanationList3": "Crée des proxys client HTTP dynamiques pour C # et JavaScript.",
+ "ConventionOverConfigurationExplanationList4": "Fournit des référentiels par défaut pour vos entités.",
+ "ConventionOverConfigurationExplanationList5": "Gère l'unité de travail par demande Web ou méthode de service d'application.",
+ "ConventionOverConfigurationExplanationList6": "Publie des événements de création, de mise à jour et de suppression pour vos entités.",
+ "BaseClasses": "Classes de base",
+ "BaseClassesExplanation": "Classes de base prédéfinies pour les modèles d'application courants.",
+ "DeveloperFocusedExplanation": "ABP est destiné aux développeurs.",
+ "DeveloperFocusedExplanationCont": "Il vise à simplifier votre développement logiciel quotidien sans vous empêcher d'écrire du code de bas niveau.",
+ "SeeAllFeatures": "Voir toutes les fonctionnalités",
+ "CLI_CommandLineInterface": "CLI (interface de ligne de commande)",
+ "CLI_CommandLineInterfaceExplanation": "Inclut une CLI pour vous aider à automatiser la création de nouveaux projets et l'ajout de nouveaux modules.",
+ "StartupTemplates": "Modèles de démarrage",
+ "StartupTemplatesExplanation": "Divers modèles de démarrage fournissent une solution entièrement configurée pour démarrer rapidement votre développement.",
+ "BasedOnFamiliarTools": "Basé sur des outils familiers",
+ "BasedOnFamiliarToolsExplanation": "Construit sur et intégré avec des outils populaires que vous connaissez déjà. Faible courbe d'apprentissage, adaptation facile, développement confortable.",
+ "ORMIndependent": "ORM indépendant",
+ "ORMIndependentExplanation": "Le framework de base est indépendant de l'ORM / de la base de données et peut fonctionner avec n'importe quelle source de données. Les fournisseurs Entity Framework Core et MongoDB sont déjà disponibles.",
+ "Features": "Explorez les fonctionnalités du framework ABP",
+ "ABPCLI": "CLI ABP",
+ "Modularity": "Modularité",
+ "BootstrapTagHelpers": "Assistants de balises Bootstrap",
+ "DynamicForms": "Formulaires dynamiques",
+ "BundlingMinification": "Regroupement et minification",
+ "BackgroundJobs": "Emplois d'arrière-plan",
+ "BackgroundJobsExplanation": "Définissez des classes simples pour exécuter les travaux en arrière-plan comme mis en file d'attente. Utilisez le gestionnaire de tâches intégré ou intégrez le vôtre. Les intégrations Hangfire et RabbitMQ sont déjà disponibles.",
+ "DDDInfrastructure": "Infrastructure DDD",
+ "DomainDrivenDesignInfrastructure": "Infrastructure de conception pilotée par domaine",
+ "AutoRESTAPIs": "API REST automatiques",
+ "DynamicClientProxies": "Proxys clients dynamiques",
+ "DistributedEventBus": "Bus d'événements distribués",
+ "DistributedEventBusWithRabbitMQIntegration": "Bus d'événements distribués avec intégration RabbitMQ",
+ "TestInfrastructure": "Infrastructure de test",
+ "AuditLoggingEntityHistories": "Journalisation d'audit et historiques d'entités",
+ "ObjectToObjectMapping": "Mappage d'objet à objet",
+ "ObjectToObjectMappingExplanation": " Mappage objet à objet abstraction avec intégration AutoMapper.",
+ "EmailSMSAbstractions": "Abstractions par e-mail et SMS",
+ "EmailSMSAbstractionsWithTemplatingSupport": "Abstractions par e-mail et SMS avec prise en charge de la création de modèles",
+ "Localization": "Localisation",
+ "SettingManagement": "Gestion des paramètres",
+ "ExtensionMethods": "Méthodes d'extension",
+ "ExtensionMethodsHelpers": "Méthodes d'extension et aides",
+ "AspectOrientedProgramming": "Programmation orientée aspect",
+ "DependencyInjection": "Injection de dépendance",
+ "DependencyInjectionByConventions": "Injection de dépendances par conventions",
+ "ABPCLIExplanation": "ABP CLI (Command Line Interface) est un outil de ligne de commande pour effectuer certaines opérations courantes pour les solutions basées sur ABP.",
+ "ModularityExplanation": "ABP fournit une infrastructure complète pour créer vos propres modules d'application qui peuvent avoir des entités, des services, une intégration de base de données, des API, des composants d'interface utilisateur, etc.",
+ "MultiTenancyExplanation": "Le framework ABP prend non seulement en charge le développement d'applications multi-locataires, mais rend également votre code pratiquement inconscient de la multi-location.",
+ "MultiTenancyExplanation2": "Peut déterminer automatiquement le locataire actuel, isoler les données de différents locataires les uns des autres.",
+ "MultiTenancyExplanation3": "Prend en charge une base de données unique, une base de données par locataire et des approches hybrides.",
+ "MultiTenancyExplanation4": "Vous vous concentrez sur votre code métier et laissez le framework gérer la multi-location en votre nom.",
+ "BootstrapTagHelpersExplanation": "Au lieu d'écrire manuellement les détails répétitifs des composants d'amorçage, utilisez les aides de balises d'ABP pour le simplifier et tirer parti d'intellisense. Vous pouvez certainement utiliser Bootstrap chaque fois que vous en avez besoin.",
+ "DynamicFormsExplanation": "Les assistants dynamiques de formulaire et de balise d'entrée peuvent créer le formulaire complet à partir d'une classe C # comme modèle.",
+ "AuthenticationAuthorizationExplanation": "Options d'authentification et d'autorisation riches intégrées à ASP.NET Core Identity & IdentityServer4. Fournit un système d'autorisation extensible et détaillé.",
+ "CrossCuttingConcernsExplanation": "Ne vous répétez pas pour mettre en œuvre toutes ces choses courantes encore et encore. Concentrez-vous sur votre code métier et laissez ABP les automatiser par des conventions.",
+ "DatabaseConnectionTransactionManagement": "Connexion à la base de données et gestion des transactions",
+ "CorrelationIdTracking": "Suivi des identifiants de corrélation",
+ "BundlingMinificationExplanation": "ABP offre un système de regroupement et de minification simple, dynamique, puissant, modulaire et intégré.",
+ "VirtualFileSystemnExplanation": "Le système de fichiers virtuel permet de gérer des fichiers qui n'existent pas physiquement sur le système de fichiers (disque). Il est principalement utilisé pour incorporer des fichiers (js, css, image, cshtml ...) dans des assemblys et les utiliser comme des fichiers physiques lors de l'exécution.",
+ "ThemingExplanation": "Le système de thématisation permet de développer votre application et vos modules indépendamment du thème en définissant un ensemble de bibliothèques et de mises en page de base communes, basées sur le dernier framework Bootstrap.",
+ "DomainDrivenDesignInfrastructureExplanation": "Une infrastructure complète pour créer des applications en couches basées sur les modèles et principes de conception pilotée par domaine;",
+ "Specification": "spécification",
+ "Repository": "Dépôt",
+ "DomainService": "Service de domaine",
+ "ValueObject": "Objet de valeur",
+ "ApplicationService": "Service d'application",
+ "DataTransferObject": "Objet de transfert de données",
+ "AggregateRootEntity": "Racine agrégée, entité",
+ "AutoRESTAPIsExplanation": "ABP peut configurer automatiquement vos services d'application en tant que contrôleurs d'API par convention.",
+ "DynamicClientProxiesExplanation": "Utilisez facilement vos API à partir de clients JavaScript et C #.",
+ "DistributedEventBusWithRabbitMQIntegrationExplanation": "Publiez et consommez facilement des événements distribués à l'aide du bus d'événements distribués intégré avec l'intégration RabbitMQ disponible.",
+ "TestInfrastructureExplanation": "Le cadre a été développé en pensant aux tests unitaires et d'intégration. Vous fournit des classes de base pour vous faciliter la tâche. Les modèles de démarrage sont pré-configurés pour les tests.",
+ "AuditLoggingEntityHistoriesExplanation": "Journalisation d'audit intégrée pour les applications stratégiques. Requête, service, journalisation d'audit au niveau de la méthode et historiques d'entités avec des détails au niveau de la propriété.",
+ "EmailSMSAbstractionsWithTemplatingSupportExplanation": "Les abstractions IEmailSender et ISmsSender découpent la logique de votre application de l'infrastructure. Le système de modèle de courrier électronique avancé permet de créer et de localiser des modèles de courrier électronique et de les utiliser facilement en cas de besoin.",
+ "LocalizationExplanation": "Le système de localisation permet de créer des ressources dans des fichiers JSON simples et de les utiliser pour localiser votre interface utilisateur. Il prend en charge des scénarios avancés tels que l'héritage, les extensions et l'intégration JavaScript tout en étant entièrement compatible avec le système de localisation d'AspNet Core.",
+ "SettingManagementExplanation": "Définissez les paramètres de votre application et obtenez des valeurs à l'exécution en fonction de la configuration, du locataire et de l'utilisateur actuels.",
+ "ExtensionMethodsHelpersExplanation": "Ne vous répétez pas même pour des parties de code triviales. Les extensions et aides pour les types standard rendent votre code beaucoup plus propre et facile à écrire.",
+ "AspectOrientedProgrammingExplanation": "Fournit une infrastructure confortable pour créer des proxys dynamiques et mettre en œuvre la programmation orientée aspect. Interceptez n'importe quelle classe et exécutez votre code avant et après chaque exécution de méthode.",
+ "DependencyInjectionByConventionsExplanation": "Inutile d'inscrire manuellement vos classes à l'injection de dépendances. Enregistre automatiquement les types de services courants par convention. Pour les autres types de services, vous pouvez utiliser des interfaces et des attributs pour le rendre plus simple et sur place.",
+ "DataFilteringExplanation": "Définissez et utilisez des filtres de données qui sont automatiquement appliqués lorsque vous interrogez des entités de la base de données. Les filtres Soft Delete et MultiTenant sont fournis par défaut lorsque vous implémentez des interfaces simples.",
+ "PublishEvents": "Publier des événements",
+ "HandleEvents": "Gérer les événements",
+ "AndMore": "et plus...",
+ "Code": "Code",
+ "Result": "Résultat",
+ "SeeTheDocumentForMoreInformation": "Consultez le {0} document pour plus d'informations",
+ "IndexPageHeroSection": " open source Application Web Framework pour asp.net core ",
+ "UiFramework": "Cadre de l'interface utilisateur",
+ "EmailAddress": "Adresse e-mail",
+ "Mobile": "Mobile",
+ "ReactNative": "Réagir natif",
+ "Strong": "Fort",
+ "Complete": "Compléter",
+ "BasedLayeringModel": "Modèle de couches basé",
+ "Microservice": "Microservice",
+ "Compatible": "Compatible",
+ "MeeTTheABPCommunityInfo": "Notre mission est de créer un environnement où les développeurs peuvent s'entraider avec des articles, des tutoriels, des études de cas, etc. et rencontrer des personnes partageant les mêmes idées.",
+ "JoinTheABPCommunityInfo": "Impliquez-vous dans une communauté dynamique et devenez un contributeur au cadre ABP!",
+ "AllArticles": "Tous les articles",
+ "SubmitYourArticle": "Soumettez votre article",
+ "DynamicClientProxyDocument": "Consultez les documentations sur le proxy client dynamique pour JavaScript et C # .",
+ "EmailSMSAbstractionsDocument": "Consultez les documents e-mail et Envoi de SMS pour plus d'informations.",
+ "CreateProjectWizard": "Cet assistant crée un nouveau projet à partir du modèle de démarrage qui est correctement configuré pour démarrer rapidement votre projet.",
+ "TieredOption": "Crée une solution à plusieurs niveaux dans laquelle les couches API Web et Http sont physiquement séparées. Si elle n'est pas cochée, crée une solution en couches qui est moins complexe et adaptée à la plupart des scénarios.",
+ "SeparateIdentityServerOption": "Sépare le côté serveur en deux applications: la première est pour le serveur d'identité et la seconde pour votre API HTTP côté serveur.",
+ "UseslatestPreVersion": "Utilise la dernière version préliminaire",
+ "ReadTheDocumentation": " Lire La documentation ",
+ "Documentation": "Documentation",
+ "GettingStartedTutorial": "Tutoriel de mise en route",
+ "ApplicationDevelopmentTutorial": "Tutoriel de développement d'applications",
+ "TheStartupTemplate": "Le modèle de démarrage",
+ "InstallABPCLIInfo": "ABP CLI est le moyen le plus rapide de démarrer une nouvelle solution avec le framework ABP. Installez l'interface de ligne de commande ABP à l'aide d'une fenêtre de ligne de commande:",
+ "DifferentLevelOfNamespaces": "Vous pouvez utiliser différents niveaux d'espaces de noms; par exemple. BookStore, Acme.BookStore ou Acme.Retail.BookStore.",
+ "ABPCLIExamplesInfo": "La commande nouvelle crée une application MVC en couches avec Entity Framework Core comme fournisseur de base de données. Cependant, il a des options supplémentaires. Exemples:",
+ "SeeCliDocumentForMoreInformation": "Consultez le document ABP CLI pour plus d'options ou sélectionnez l'onglet \"Téléchargement direct\" ci-dessus.",
+ "Optional": "Optionnel",
+ "LocalFrameworkRef": "Conservez la référence de projet locale pour les packages de structure.",
+ "BlobStoring": "Stockage BLOB",
+ "BlobStoringExplanation": "Le système de stockage BLOB fournit une abstraction pour travailler avec les BLOB. ABP fournit des intégrations de fournisseur de stockage prédéfinies (Azure, AWS, système de fichiers, base de données, etc.) que vous pouvez facilement utiliser dans vos applications.",
+ "TextTemplating": "Création de modèles de texte",
+ "TextTemplatingExplanation": "La création de modèles de texte est utilisée pour rendre le contenu de manière dynamique en fonction d'un modèle et d'un modèle (un objet de données). Par exemple, vous pouvez l'utiliser pour créer des contenus d'e-mail dynamiques avec un modèle prédéfini.",
+ "MultipleUIOptions": "Options d'interface utilisateur multiples",
+ "MultipleDBOptions": "Fournisseurs de bases de données multiples",
+ "MultipleUIOptionsExplanation": "Le cadre de base est conçu comme indépendant de l'interface utilisateur et peut fonctionner avec tout type de système d'interface utilisateur, tandis que plusieurs options prédéfinies et intégrées sont fournies prêtes à l'emploi.",
+ "MultipleDBOptionsExplanation": "Le cadre peut fonctionner avec n'importe quelle source de données, tandis que les fournisseurs suivants sont officiellement développés et pris en charge;",
+ "SelectLanguage": "Choisir la langue",
+ "LatestArticleOnCommunity": "Dernier article sur la communauté ABP",
+ "Register": "S'inscrire",
+ "IsDownloadable": "Est téléchargeable"
+ }
+}
\ No newline at end of file
diff --git a/abp_io/AbpIoLocalization/AbpIoLocalization/Www/Localization/Resources/fi.json b/abp_io/AbpIoLocalization/AbpIoLocalization/Www/Localization/Resources/fi.json
new file mode 100644
index 0000000000..9b15582b38
--- /dev/null
+++ b/abp_io/AbpIoLocalization/AbpIoLocalization/Www/Localization/Resources/fi.json
@@ -0,0 +1,202 @@
+{
+ "culture": "fi",
+ "texts": {
+ "GetStarted": "Aloitus - Käynnistysmallit",
+ "Create": "Luoda",
+ "NewProject": "Uusi projekti",
+ "DirectDownload": "Suora lataus",
+ "ProjectName": "Projektin nimi",
+ "ProjectType": "Projektityyppi",
+ "DatabaseProvider": "Tietokannan tarjoaja",
+ "DatabaseManagementSystem": "Tietokannan ohjausjärjestelmä",
+ "NTier": "N-taso",
+ "IncludeUserInterface": "Sisällytä käyttöliittymä",
+ "CreateNow": "Luo nyt",
+ "TheStartupProject": "Käynnistysprojekti",
+ "Tutorial": "Opetusohjelma",
+ "UsingCLI": "CLI: n käyttö",
+ "SeeDetails": "Katso yksityiskohdat",
+ "AbpShortDescription": "ABP Framework on täydellinen infrastruktuuri nykyaikaisten verkkosovellusten luomiseen noudattamalla ohjelmistokehityksen parhaita käytäntöjä ja käytäntöjä.",
+ "SourceCodeUpper": "LÄHDEKOODI",
+ "LatestReleaseLogs": "Uusimmat julkaisulokit",
+ "Infrastructure": "Infrastruktuuri",
+ "Architecture": "Arkkitehtuuri",
+ "Modular": "Modulaarinen",
+ "DontRepeatYourself": "Älä toista itseäsi",
+ "DeveloperFocused": "Kehittäjä kohdennettu",
+ "FullStackApplicationInfrastructure": "Täyden pinon sovellusinfrastruktuuri.",
+ "DomainDrivenDesign": "Toimialueohjattu suunnittelu",
+ "DomainDrivenDesignExplanation": "Suunniteltu ja kehitetty DDD-mallien ja -periaatteiden perusteella. Tarjoaa kerrostetun mallin sovelluksellesi.",
+ "Authorization": "Valtuutus",
+ "AuthorizationExplanation": "Edistynyt käyttöoikeudet käyttäjän, roolin ja tarkan käyttöjärjestelmän avulla. Rakennettu Microsoft Identity -kirjastoon.",
+ "MultiTenancy": "Monivuokraus",
+ "MultiTenancyExplanationShort": "SaaS-sovellukset on tehty helpoksi! Integroitu monivuokraus tietokannasta käyttöliittymään.",
+ "CrossCuttingConcerns": "Laaja-alaiset huolenaiheet",
+ "CrossCuttingConcernsExplanationShort": "Täydellinen infrastruktuuri valtuutusta, validointia, poikkeusten käsittelyä, välimuistia, auditointilokia, tapahtumien hallintaa ja muuta varten.",
+ "BuiltInBundlingMinification": "Sisäänrakennettu niputtaminen ja pienentäminen",
+ "BuiltInBundlingMinificationExplanation": "Niputtamiseen ja pienentämiseen ei tarvitse käyttää ulkoisia työkaluja. ABP tarjoaa yksinkertaisemman, dynaamisemman, tehokkaamman, modulaarisemman ja sisäänrakennetun tavan!",
+ "VirtualFileSystem": "Virtuaalinen tiedostojärjestelmä",
+ "VirtualFileSystemExplanation": "Upota näkymät, komentosarjat, tyylit, kuvat ... paketteihin / kirjastoihin ja käytä niitä uudelleen eri sovelluksissa.",
+ "Theming": "Heidät",
+ "ThemingExplanationShort": "Käytä ja muokkaa bootstrap-pohjaista vakiokäyttöliittymän teemaa tai luo oma.",
+ "BootstrapTagHelpersDynamicForms": "Bootstrap Tag Helpers ja dynaamiset lomakkeet",
+ "BootstrapTagHelpersDynamicFormsExplanation": "Sen sijaan, että kirjoittaisit manuaalisesti käynnistysstrap-komponenttien toistuvia yksityiskohtia, käytä ABP: n tag-avustajia yksinkertaistaaksesi sitä ja hyödyntääksesi älykkäitä ominaisuuksia. Rakenna käyttöliittymälomakkeet nopeasti C # -mallin perusteella käyttämällä dynaamista lomaketunnisteen auttajaa.",
+ "HTTPAPIsDynamicProxies": "HTTP-sovellusliittymät ja dynaamiset välityspalvelimet",
+ "HTTPAPIsDynamicProxiesExplanation": "Altista sovelluspalvelut automaattisesti REST-tyylisiksi HTTP-sovellusliittymiksi ja kuluta niitä dynaamisilla JavaScript- ja C # -välityspalvelimilla.",
+ "CompleteArchitectureInfo": "Moderni arkkitehtuuri ylläpidettävien ohjelmistoratkaisujen luomiseksi.",
+ "DomainDrivenDesignBasedLayeringModelExplanation": "Auttaa sinua toteuttamaan DDD-pohjaisen kerrostetun arkkitehtuurin ja rakentamaan ylläpidettävän koodipohjan.",
+ "DomainDrivenDesignBasedLayeringModelExplanationCont": "Tarjoaa käynnistysmalleja, abstrakteja, perusluokkia, palveluja, dokumentaatiota ja oppaita, joiden avulla voit kehittää sovellustasi DDD-mallien ja -periaatteiden perusteella.",
+ "MicroserviceCompatibleModelExplanation": "Ydinkehys ja esirakennemoduulit on suunniteltu mikropalveluarkkitehtuuria ajatellen.",
+ "MicroserviceCompatibleModelExplanationCont": "Tarjoaa infrastruktuurin, integraatiot, näytteet ja dokumentaation mikropalveluratkaisujen toteuttamiseksi helpommin, mutta se ei tuo lisää monimutkaisuutta, jos haluat monoliittisen sovelluksen.",
+ "ModularInfo": "ABP tarjoaa moduulijärjestelmän, jonka avulla voit kehittää uudelleenkäytettäviä sovellusmoduuleja, sitoutua sovelluksen elinkaaren tapahtumiin ja ilmaista riippuvuuksia järjestelmän ydinosien välillä.",
+ "PreBuiltModulesThemes": "Valmiit moduulit ja teemat",
+ "PreBuiltModulesThemesExplanation": "Avoimen lähdekoodin ja kaupalliset moduulit ja teemat ovat käyttövalmiita yrityssovelluksessasi.",
+ "NuGetNPMPackages": "NuGet- ja NPM-paketit",
+ "NuGetNPMPackagesExplanation": "Jaettu NuGet- ja NPM-paketteina. Helppo asentaa ja päivittää.",
+ "ExtensibleReplaceable": "Laajennettavissa / vaihdettavissa",
+ "ExtensibleReplaceableExplanation": "Kaikki palvelut ja moduulit on suunniteltu laajennettavuutta ajatellen. Voit korvata palvelut, sivut, tyylit ja komponentit.",
+ "CrossCuttingConcernsExplanation2": "Pidä koodipohjasi pienempi, jotta voit keskittyä yritykseesi liittyvään koodiin.",
+ "CrossCuttingConcernsExplanation3": "Älä lähetä aikaa useiden projektien yhteisten hakemusvaatimusten toteuttamiseen.",
+ "AuthenticationAuthorization": "Todennus ja valtuutus",
+ "ExceptionHandling": "Poikkeusten käsittely",
+ "Validation": "Vahvistus",
+ "DatabaseConnection": "Tietokantayhteys",
+ "TransactionManagement": "Tapahtumien hallinta",
+ "AuditLogging": "Tarkastusten kirjaaminen",
+ "Caching": "Välimuisti",
+ "Multitenancy": "Monivärinen",
+ "DataFiltering": "Tietojen suodatus",
+ "ConventionOverConfiguration": "Kokoonpanon määritys",
+ "ConventionOverConfigurationExplanation": "ABP toteuttaa oletusarvoisesti yleiset sovelluskäytännöt minimaalisella tai nolla-kokoonpanolla.",
+ "ConventionOverConfigurationExplanationList1": "Auto rekisteröi tunnetut palvelut riippuvuusinjektioon.",
+ "ConventionOverConfigurationExplanationList2": "Paljastaa sovelluspalvelut HTTP-sovellusliittyminä nimeämällä käytäntöjä.",
+ "ConventionOverConfigurationExplanationList3": "Luo dynaamiset HTTP-asiakasvälityspalvelimet C #: lle ja JavaScriptille.",
+ "ConventionOverConfigurationExplanationList4": "Tarjoaa oletusvarastoja yhteisöillesi.",
+ "ConventionOverConfigurationExplanationList5": "Hallitsee työyksikköä verkkopyynnön tai sovelluspalvelumenetelmän mukaan.",
+ "ConventionOverConfigurationExplanationList6": "Julkaisee luoda, päivittää ja poistaa tapahtumia yhteisöillesi.",
+ "BaseClasses": "Perusluokat",
+ "BaseClassesExplanation": "Valmiiksi rakennettu perusluokka yleisiä sovelluskuvioita varten.",
+ "DeveloperFocusedExplanation": "ABP on kehittäjille.",
+ "DeveloperFocusedExplanationCont": "Sen tarkoituksena on yksinkertaistaa päivittäistä ohjelmistokehitystäsi samalla, kun se ei estä sinua kirjoittamasta matalan tason koodia.",
+ "SeeAllFeatures": "Katso kaikki ominaisuudet",
+ "CLI_CommandLineInterface": "CLI (komentoriviliitäntä)",
+ "CLI_CommandLineInterfaceExplanation": "Sisältää CLI: n, jonka avulla voit automatisoida uusien projektien luomisen ja uusien moduulien lisäämisen.",
+ "StartupTemplates": "Käynnistysmallit",
+ "StartupTemplatesExplanation": "Erilaiset käynnistysmallit tarjoavat täysin määritetyn ratkaisun kehityksen aloittamiseksi.",
+ "BasedOnFamiliarTools": "Perustuu tuttuihin työkaluihin",
+ "BasedOnFamiliarToolsExplanation": "Rakennettu ja integroitu jo tunnettujen suosittujen työkalujen kanssa. Matala oppimiskäyrä, helppo sopeutuminen, mukava kehitys.",
+ "ORMIndependent": "ORM riippumaton",
+ "ORMIndependentExplanation": "Ydinkehys on ORM / tietokannasta riippumaton ja voi toimia minkä tahansa tietolähteen kanssa. Entity Framework Core- ja MongoDB-palveluntarjoajat ovat jo saatavilla.",
+ "Features": "Tutustu ABP-kehyksen ominaisuuksiin",
+ "ABPCLI": "ABP CLI",
+ "Modularity": "Modulaarisuus",
+ "BootstrapTagHelpers": "Bootstrap Tag Helpers",
+ "DynamicForms": "Dynaamiset lomakkeet",
+ "BundlingMinification": "Niputtaminen ja minimointi",
+ "BackgroundJobs": "Taustatyöt",
+ "BackgroundJobsExplanation": "Määritä yksinkertaiset luokat taustalla olevien töiden suorittamiseksi jonossa. Käytä sisäänrakennettua työnhallintaa tai integroi oma. Hangfire ja RabbitMQ -integraatiot ovat jo käytettävissä.",
+ "DDDInfrastructure": "DDD-infrastruktuuri",
+ "DomainDrivenDesignInfrastructure": "Toimialueohjattu suunnittelun infrastruktuuri",
+ "AutoRESTAPIs": "Auto REST -sovellusliittymät",
+ "DynamicClientProxies": "Dynaamiset asiakaskohtaiset välityspalvelimet",
+ "DistributedEventBus": "Hajautettu tapahtumabussi",
+ "DistributedEventBusWithRabbitMQIntegration": "Hajautettu tapahtumaväylä RabbitMQ-integraatiolla",
+ "TestInfrastructure": "Testaa infrastruktuuri",
+ "AuditLoggingEntityHistories": "Tarkastusloki ja entiteettihistoria",
+ "ObjectToObjectMapping": "Object to Object Mapping",
+ "ObjectToObjectMappingExplanation": " Objektin kartoitus abstraktio AutoMapper-integraatiolla.",
+ "EmailSMSAbstractions": "Sähköposti ja tekstiviestit",
+ "EmailSMSAbstractionsWithTemplatingSupport": "Sähköposti- ja SMS-abstraktit mallintamistuen avulla",
+ "Localization": "Lokalisointi",
+ "SettingManagement": "Asetusten hallinta",
+ "ExtensionMethods": "Laajennusmenetelmät",
+ "ExtensionMethodsHelpers": "Laajennusmenetelmät ja auttajat",
+ "AspectOrientedProgramming": "Aspektiorientoitu ohjelmointi",
+ "DependencyInjection": "Riippuvuuden injektio",
+ "DependencyInjectionByConventions": "Riippuvuuden injektio yleissopimusten mukaan",
+ "ABPCLIExplanation": "ABP CLI (Command Line Interface) on komentorivityökalu joidenkin yleisten toimintojen suorittamiseen ABP-pohjaisiin ratkaisuihin.",
+ "ModularityExplanation": "ABP tarjoaa täydellisen infrastruktuurin omien sovellusmoduulien rakentamiseen. Niillä voi olla entiteettejä, palveluja, tietokantaintegraatioita, sovellusliittymiä, käyttöliittymäkomponentteja ja niin edelleen.",
+ "MultiTenancyExplanation": "ABP-kehys ei vain tue useiden vuokralaisten sovellusten kehittämistä, vaan tekee koodistasi myös enimmäkseen tietämättömän monivuokralaisesta.",
+ "MultiTenancyExplanation2": "Voi määrittää automaattisesti nykyisen vuokralaisen, eristää eri vuokralaisten tiedot toisistaan.",
+ "MultiTenancyExplanation3": "Tukee yhtä tietokantaa, tietokantaa vuokralaista kohti ja hybridi-lähestymistapoja.",
+ "MultiTenancyExplanation4": "Keskity yrityksesi koodiin ja annat kehyksen hoitamaan monivuokrausta puolestasi.",
+ "BootstrapTagHelpersExplanation": "Sen sijaan, että kirjoittaisit manuaalisesti uudelleenkäynnistyskomponenttien yksityiskohtia, käytä ABP: n tunnisteita yksinkertaistaaksesi sitä ja hyödyntäksesi älykkäitä ominaisuuksia. Voit ehdottomasti käyttää Bootstrapia milloin tahansa.",
+ "DynamicFormsExplanation": "Dynaamiset lomake- ja syöttötunnisteiden apurit voivat luoda täydellisen lomakkeen mallina C # -luokasta.",
+ "AuthenticationAuthorizationExplanation": "ASP.NET Core Identity & IdentityServer4 -palveluun integroidut monipuoliset todennus- ja todennusvaihtoehdot. Tarjoaa laajennettavan ja yksityiskohtaisen lupajärjestelmän.",
+ "CrossCuttingConcernsExplanation": "Älä toista itseäsi kaikkien näiden yleisten asioiden toteuttamiseksi uudelleen ja uudelleen. Keskity yrityskoodiin ja anna ABP: n automatisoida ne käytäntöjen mukaan.",
+ "DatabaseConnectionTransactionManagement": "Tietokantayhteys ja tapahtumien hallinta",
+ "CorrelationIdTracking": "Korrelaatio-Id-seuranta",
+ "BundlingMinificationExplanation": "ABP tarjoaa yksinkertaisen, dynaamisen, tehokkaan, modulaarisen ja sisäänrakennetun niputus- ja pienentämisjärjestelmän.",
+ "VirtualFileSystemnExplanation": "Virtuaalinen tiedostojärjestelmä mahdollistaa sellaisten tiedostojen hallinnan, joita ei ole fyysisesti tiedostojärjestelmässä (levyllä). Sitä käytetään pääasiassa upottamaan (js, css, kuva, cshtml ...) tiedostot kokoonpanoiksi ja käyttämään niitä kuin fyysisiä tiedostoja ajon aikana.",
+ "ThemingExplanation": "Theming-järjestelmän avulla voit kehittää sovellus- ja moduuliteemasi itsenäisesti määrittelemällä joukon yhteisiä peruskirjastoja ja asetteluja uusimman Bootstrap-kehyksen perusteella.",
+ "DomainDrivenDesignInfrastructureExplanation": "Täydellinen infrastruktuuri kerrostettujen sovellusten rakentamiseen, joka perustuu toimialueohjattuihin suunnittelumalleihin ja periaatteisiin;",
+ "Specification": "Erittely",
+ "Repository": "Arkisto",
+ "DomainService": "Verkkotunnuspalvelu",
+ "ValueObject": "Arvo-objekti",
+ "ApplicationService": "Sovelluspalvelu",
+ "DataTransferObject": "Tiedonsiirtokohde",
+ "AggregateRootEntity": "Kokonaisjuuri, entiteetti",
+ "AutoRESTAPIsExplanation": "ABP voi määrittää sovelluspalvelut automaattisesti API-ohjaimiksi sopimuksen mukaan.",
+ "DynamicClientProxiesExplanation": "Kuluta helposti API: si JavaScript- ja C # -asiakkailta.",
+ "DistributedEventBusWithRabbitMQIntegrationExplanation": "Julkaise ja kuluta jaettuja tapahtumia helposti käyttämällä sisäänrakennettua hajautettua tapahtumaväylää, jossa on käytettävissä RabbitMQ-integraatio.",
+ "TestInfrastructureExplanation": "Kehys on kehitetty yksikkö- ja integraatiotestaus ajatellen. Tarjoaa sinulle perusluokkia helpottamaan. Käynnistysmalleissa on valmiiksi konfiguroitu testaus.",
+ "AuditLoggingEntityHistoriesExplanation": "Sisäänrakennettu tarkastuskirjaus yrityskriittisille sovelluksille. Pyyntö-, palvelu-, menetelmätason tarkastusloki ja entiteettihistoria omaisuuden tason yksityiskohdilla.",
+ "EmailSMSAbstractionsWithTemplatingSupportExplanation": "IEmailSender- ja ISmsSender-abstraktit erottavat sovelluslogiikkasi infrastruktuurista. Edistyneen sähköpostimallijärjestelmän avulla voit luoda ja lokalisoida sähköpostimalleja ja käyttää niitä helposti tarvittaessa.",
+ "LocalizationExplanation": "Lokalisointijärjestelmä antaa mahdollisuuden luoda resursseja yksinkertaisiin JSON-tiedostoihin ja käyttää niitä käyttöliittymän lokalisointiin. Se tukee edistyneitä skenaarioita, kuten perintö, laajennukset ja JavaScript-integrointi, samalla kun se on täysin yhteensopiva AspNet Core -järjestelmän lokalisointijärjestelmän kanssa.",
+ "SettingManagementExplanation": "Määritä sovelluksesi asetukset ja hanki ajonaikaiset arvot nykyisen kokoonpanon, vuokralaisen ja käyttäjän perusteella.",
+ "ExtensionMethodsHelpersExplanation": "Älä toista itseäsi edes triviaalien koodiosien suhteen. Vakiotyyppien laajennukset ja apuvälineet tekevät koodistasi paljon puhtaamman ja helpommin kirjoitettavan.",
+ "AspectOrientedProgrammingExplanation": "Tarjoaa mukavan infrastruktuurin dynaamisten valtakirjojen luomiseen ja Aspect Oriented Programming -toiminnon toteuttamiseen. Kuuntele mikä tahansa luokka ja suorita koodisi ennen ja jälkeen jokaisen menetelmän suorituksen.",
+ "DependencyInjectionByConventionsExplanation": "Luokat ei tarvitse rekisteröidä riippuvuusinjektioon manuaalisesti. Rekisteröi yleiset palvelutyypit sopimuksen mukaan automaattisesti. Muun tyyppisissä palveluissa voit käyttää käyttöliittymiä ja määritteitä sen helpottamiseksi ja paikoillaan.",
+ "DataFilteringExplanation": "Määritä ja käytä tietosuodattimia, joita käytetään automaattisesti, kun kysyt entiteettejä tietokannasta. Pehmeä poisto- ja MultiTenant-suodattimet toimitetaan heti, kun otat käyttöön yksinkertaiset käyttöliittymät.",
+ "PublishEvents": "Julkaise tapahtumia",
+ "HandleEvents": "Käsittele tapahtumia",
+ "AndMore": "ja enemmän...",
+ "Code": "Koodi",
+ "Result": "Tulos",
+ "SeeTheDocumentForMoreInformation": "Katso lisätietoja {0} asiakirjasta ",
+ "IndexPageHeroSection": " avoin lähdekoodi verkkosovellus Framework asp.net-ytimelle ",
+ "UiFramework": "Käyttöliittymäkehys",
+ "EmailAddress": "Sähköpostiosoite",
+ "Mobile": "Matkapuhelin",
+ "ReactNative": "Reagoi Native",
+ "Strong": "Vahva",
+ "Complete": "Saattaa loppuun",
+ "BasedLayeringModel": "Perustuva kerrosmalli",
+ "Microservice": "Mikropalvelu",
+ "Compatible": "Yhteensopiva",
+ "MeeTTheABPCommunityInfo": "Tavoitteenamme on luoda ympäristö, jossa kehittäjät voivat auttaa toisiaan artikkeleilla, oppailla, tapaustutkimuksilla jne. Ja tavata samanmielisiä ihmisiä.",
+ "JoinTheABPCommunityInfo": "Ole mukana elävässä yhteisössä ja tule osallistujana sivutuotteiden kehykseen!",
+ "AllArticles": "Kaikki artikkelit",
+ "SubmitYourArticle": "Lähetä artikkelisi",
+ "DynamicClientProxyDocument": "Katso dynaamisen asiakkaan välityspalvelimen dokumentaatiot JavaScriptille ja C # .",
+ "EmailSMSAbstractionsDocument": "Katso lisätietoja sähköpostitse ja tekstiviestien lähettäminen -asiakirjoista.",
+ "CreateProjectWizard": "Tämä ohjattu toiminto luo uuden projektin käynnistysmallista, joka on määritetty oikein aloittamaan projekti.",
+ "TieredOption": "Luo porrastetun ratkaisun, jossa Web- ja Http-API-kerrokset erotetaan fyysisesti. Jos sitä ei ole valittu, luodaan kerrostettu ratkaisu, joka on vähemmän monimutkainen ja sopii useimpiin tilanteisiin.",
+ "SeparateIdentityServerOption": "Erottaa palvelinpuolen kahteen sovellukseen: Ensimmäinen on identiteettipalvelimelle ja toinen palvelinpuolen HTTP-sovellusliittymälle.",
+ "UseslatestPreVersion": "Käyttää uusinta julkaisua edeltävää versiota",
+ "ReadTheDocumentation": " Lue Dokumentaatio ",
+ "Documentation": "Dokumentointi",
+ "GettingStartedTutorial": "Aloitusopas",
+ "ApplicationDevelopmentTutorial": "Sovelluskehitysopastus",
+ "TheStartupTemplate": "Käynnistysmalli",
+ "InstallABPCLIInfo": "ABP CLI on nopein tapa aloittaa uusi ratkaisu ABP-kehyksellä. Asenna ABP CLI komentorivillä:",
+ "DifferentLevelOfNamespaces": "Voit käyttää eri nimiavaruustasoja; esimerkiksi. BookStore, Acme.BookStore tai Acme.Retail.BookStore.",
+ "ABPCLIExamplesInfo": " Uusi -komento luo kerrostetun MVC-sovelluksen , jonka tietokannan tarjoaja on Entity Framework Core . Sillä on kuitenkin muita vaihtoehtoja. Esimerkkejä:",
+ "SeeCliDocumentForMoreInformation": "Katso lisää vaihtoehtoja ABP CLI -asiakirjasta tai valitse yllä Suora lataus -välilehti.",
+ "Optional": "Valinnainen",
+ "LocalFrameworkRef": "Säilytä kehyspakettien paikalliset projektiviitteet.",
+ "BlobStoring": "BLOB-tallennus",
+ "BlobStoringExplanation": "BLOB-tallennusjärjestelmä tarjoaa abstraktin BLOBien kanssa työskentelemiseen. ABP tarjoaa joitain valmiita tallennuspalveluntarjoajan integraatioita (Azure, AWS, tiedostojärjestelmä, tietokanta jne.), Joita voit helposti käyttää sovelluksissasi.",
+ "TextTemplating": "Tekstin mallintaminen",
+ "TextTemplatingExplanation": "Tekstimallia käytetään sisällön renderointiin dynaamisesti mallin ja mallin (dataobjektin) perusteella. Voit käyttää sitä esimerkiksi dynaamisen sähköpostisisällön luomiseen valmiilla mallilla.",
+ "MultipleUIOptions": "Useita käyttöliittymävaihtoehtoja",
+ "MultipleDBOptions": "Useita tietokantapalveluja",
+ "MultipleUIOptionsExplanation": "Ydinkehys on suunniteltu käyttöliittymästä riippumattomaksi ja se voi toimia minkä tahansa tyyppisen käyttöliittymäjärjestelmän kanssa, kun taas useita valmiiksi rakennettuja ja integroituja vaihtoehtoja toimitetaan heti.",
+ "MultipleDBOptionsExplanation": "Kehys voi toimia minkä tahansa tietolähteen kanssa, kun taas seuraavat palveluntarjoajat on virallisesti kehitetty ja tuettu;",
+ "SelectLanguage": "Valitse kieli",
+ "LatestArticleOnCommunity": "Viimeisin artikkeli ABP-yhteisöstä",
+ "Register": "Rekisteröidy",
+ "IsDownloadable": "On ladattavissa"
+ }
+}
\ No newline at end of file
diff --git a/common.props b/common.props
index 593fe92213..a62f5b67b2 100644
--- a/common.props
+++ b/common.props
@@ -1,7 +1,7 @@
- latest
- 4.3.0
+ latest
+ 4.4.0$(NoWarn);CS1591;CS0436https://abp.io/assets/abp_nupkg.pnghttps://abp.io/
diff --git a/docs/en/Blog-Posts/2021-03-31 v4_3 Commercial Preview/POST.md b/docs/en/Blog-Posts/2021-03-31 v4_3 Commercial Preview/POST.md
index 50aab3559b..31946691ab 100644
--- a/docs/en/Blog-Posts/2021-03-31 v4_3 Commercial Preview/POST.md
+++ b/docs/en/Blog-Posts/2021-03-31 v4_3 Commercial Preview/POST.md
@@ -1,6 +1,6 @@
# ABP Commercial 4.3 RC Has Been Published
-ABP Commercial version 4.3 RC (Release Candidate) has been published alongside ABP Framework 4.3. RC (TODO: link). I will introduce the new features in this blog post. Here, a list of highlights for this release;
+ABP Commercial version 4.3 RC (Release Candidate) has been published alongside [ABP Framework 4.3. RC](https://blog.abp.io/abp/ABP-Framework-4.3-RC-Has-Been-Published). I will introduce the new features in this blog post. Here, a list of highlights for this release;
* The **microservice starter template** is getting more mature. We've also added a **service template** to add new microservices to the solution.
* New option for the application starter template to have a **separate database schema for tenant databases**.
@@ -15,7 +15,7 @@ Here, some other features already covered in the ABP Framework announcement, but
* **Email setting** management UI
* **Module extensibility** system is now available for the **Blazor UI** too.
-> This post doesn't cover the features and changes done on the ABP Framework side. Please also see the **ABP Framework 4.3. RC blog post** (TODO: link).
+> This post doesn't cover the features and changes done on the ABP Framework side. Please also see the **[ABP Framework 4.3. RC blog post](https://blog.abp.io/abp/ABP-Framework-4.3-RC-Has-Been-Published)**.
## The Migration Guide
@@ -69,7 +69,7 @@ Automatic migration only tries one time. If it fails, it writes the exception lo
### New Module: CMS Kit
-CMS Kit module initial version has been released with this version. As stated in the ABP Framework 4.3 announcement post (TODO: link), it should be considered premature for now.
+CMS Kit module initial version has been released with this version. As stated in the [ABP Framework 4.3 announcement post](https://blog.abp.io/abp/ABP-Framework-4.3-RC-Has-Been-Published), it should be considered premature for now.
For ABP Commercial application startup template, we are providing an option to include the CMS Kit into the solution while creating new solutions:
diff --git a/docs/en/Blog-Posts/2021-03-31 v4_3 Preview/POST.md b/docs/en/Blog-Posts/2021-03-31 v4_3 Preview/POST.md
index cfb9bf0eed..e1e04e7a90 100644
--- a/docs/en/Blog-Posts/2021-03-31 v4_3 Preview/POST.md
+++ b/docs/en/Blog-Posts/2021-03-31 v4_3 Preview/POST.md
@@ -10,11 +10,11 @@ We are super excited to announce the ABP Framework 4.3 RC (Release Candidate). H
* CLI support to easily add the **Basic Theme** into the solution.
* New **IInitLogger** service to write logs before dependency injection phase completed.
-Besides the new features above, we've done many performance improvements, enhancements and bug fixes on the current features. See the [4.3 milestone](https://github.com/abpframework/abp/milestone/49) on GitHub for all changes made on this version.
+Besides the new features above, we've done many performance improvements, enhancements and bug fixes on the current features. See the [4.3 milestone](https://github.com/abpframework/abp/milestone/49?closed=1) on GitHub for all changes made on this version.
-This version was a big development journey for us; [~160 issues](https://github.com/abpframework/abp/issues?q=is%3Aopen+is%3Aissue+milestone%3A4.3-preview) resolved, [~300 PRs](https://github.com/abpframework/abp/pulls?q=is%3Aopen+is%3Apr+milestone%3A4.3-preview) merged and **~1,700 commits** done only in the [main framework repository](https://github.com/abpframework/abp). **Thanks to the ABP Framework team and all the contributors.**
+This version was a big development journey for us; [~160 issues](https://github.com/abpframework/abp/issues?q=is%3Aissue+milestone%3A4.3-preview+is%3Aclosed) resolved, [~300 PRs](https://github.com/abpframework/abp/issues?q=is%3Apr+milestone%3A4.3-preview+is%3Aclosed) merged and **~1,700 commits** done only in the [main framework repository](https://github.com/abpframework/abp). **Thanks to the ABP Framework team and all the contributors.**
-> ABP Commercial 4.3 RC has also been published. We will write a separate blog post for it.
+> ABP Commercial 4.3 RC has also been published. Check out [the commercial blog post](https://blog.abp.io/abp/ABP-Commercial-4.3-RC-Has-Been-Published).
## The Migration Guide
@@ -63,7 +63,7 @@ CMS (Content Management System) Kit was a module we worked on for the last coupl
* **Reactions**: Allows users to react to content via emojis, like a smile, upvote, downvote, etc.
* **Rating**: This component is used to rate content by users.
-All features are separately usable. For example, you can create an image gallery and reuse the Comments and Tags features for the images. You can enable/disable features individually using the [Global Features System](https://docs.abp.io/en/abp/4.3/global-features).
+All features are separately usable. For example, you can create an image gallery and reuse the Comments and Tags features for the images. You can enable/disable features individually using the [Global Features System](https://docs.abp.io/en/abp/4.3/Global-Features).
> We will create a separate blog post for the CMS Kit module, so I keep it short.
diff --git a/docs/en/Blog-Posts/2021-04-05 CmsKit/POST.md b/docs/en/Blog-Posts/2021-04-05 CmsKit/POST.md
index ad8b89faa0..740adb96c7 100644
--- a/docs/en/Blog-Posts/2021-04-05 CmsKit/POST.md
+++ b/docs/en/Blog-Posts/2021-04-05 CmsKit/POST.md
@@ -1,3 +1,85 @@
-# Introducing the CMS Kit Module for the ABP Framework
+# Introducing The CMS-Kit Module
+
+One of the most exciting announcements of the ABP Framework 4.3 release was releasing the initial version of the CMS Kit module. The team had been working hard to release the initial version for months. For those who didn't read the [ABP Framework 4.3 release post](https://blog.abp.io/abp/ABP-Framework-4.3-RC-Has-Been-Published), the CMS Kit module adds CMS(Content Management System) capabilities to your application. Some of the CMS Kit features are open source and free, while others are only included in the Pro version included in the ABP Commercial.
+
+List of free and pro features in the CMS Kit module;
+
+- Free
+ - Page System: Provides a **page** management system to manage dynamic pages.
+ - Blog System: Provides a **blog** system to create blogs and publish posts.
+ - Tag System: Provides a **tag** system to tag any kind of resources, such as blog posts.
+ - Comment System: Provides a **comment** system to add comments feature to any type of resource, such as blog posts, products, etc.
+ - Reaction System: Provides a **reaction** system to add reactions to any type of resource, such as blog posts or comments, etc.
+ - Rating System: Provides a **rating** system to add ratings feature to any type of resource, such as comments, products, etc.
+- Pro
+ - Newsletter System: Provides a **newsletter** system to allow users to subscribe to newsletters.
+ - Contact Form System: Provides a **contact form** system to allow users to write a message to you on public websites.
+
+## Installation
+
+CMS Kit module comes installed with commercial templates when you create the solution with the public website option. You can run the following command and create a solution with a public website.
+
+```bash
+abp new Acme --with-public-website
+```
+
+If you're using the open-source version or adding the module to an existing project, the ABP CLI allows adding a module to a solution using `add-module` command.
+
+You can run the following command to add the module to an open-source solution.
+
+```bash
+abp add-module Volo.CmsKit
+```
+
+If you're a commercial user, run the following command to install the pro version of the module.
+
+```bash
+abp add-module Volo.CmsKit.Pro
+```
+
+After adding the module to the solution, you need to configure features. The CMS Kit module uses the [global feature](https://docs.abp.io/en/abp/latest/Global-Features) system for all features. To enable the features in the CMS Kit module, open the `GlobalFeatureConfigurator` class in the `Domain.Shared` project and place the following code to the `Configure` method to enable all features in the CMS kit module.
+
+ ```csharp
+GlobalFeatureManager.Instance.Modules.CmsKit(cmsKit =>
+{
+ cmsKit.EnableAll();
+});
+ ```
+
+If you're a commercial user, you need to enable CMS Kit Pro features as well.
+
+```csharp
+GlobalFeatureManager.Instance.Modules.CmsKitPro(cmsKitPro =>
+{
+ cmsKitPro.EnableAll();
+});
+```
+
+> If you are using Entity Framework Core, do not forget to add a new migration and update your database after configuring the features.
+
+We've completed the installation step. Run the project, and you will see the CMS menu item in the menu.
+
+
+
+> CMS Kit's initial release only supports the MVC UI. We're planning to add Angular and Blazor support in upcoming releases.
+
+## Package Structures
+
+CMS Kit is designed for various usage scenarios. When you visit [nuget.org](https://www.nuget.org/packages?q=Volo.CmsKit) or [abp.io](https://abp.io/packages?moduleName=Volo.CmsKit.Pro) to see the available CMS Kit packages, you will find out that packages have admin, public and unified versions.
+
+For example,
+
+ - `Volo.CmsKit.Admin.Application`: Contains functionality required by admin websites.
+ - `Volo.CmsKit.Public.Application`: Contains functionality required by public websites.
+ - `Volo.CmsKit.Application` : Unified package dependent on both public and admin packages.
+
+ If you want to separate admin and public website codes, you can use the admin and public packages. However, if you want to keep admin and public website codes in a shared project, you can use the unified packages to include admin and public packages.
+
+> It is recommended to use the unified packages instead of adding both admin and public packages.
+
+
+
+We've covered the initial features, installation and configuration steps in this post. You can read the [open-source](https://docs.abp.io/en/abp/latest/Modules/Cms-Kit) and [commercial](https://docs.abp.io/en/commercial/latest/modules/CMS-Kit) documentation to get further information about features and the CMS Kit module. CMS Kit's initial version contains lots of features that you can easily integrate and use in your applications. We're planning to improve the existing features, fixing bugs and adding new features in upcoming releases. If you want to give some feedback or have a feature request, please reach out to us from [GitHub](https://github.com/abpframework/abp) or [support.abp.io](https://support.abp.io). We will be happy to plan the CMS Kit module's future together.
+
+Thank you!
-TODO...
\ No newline at end of file
diff --git a/docs/en/Blog-Posts/2021-04-05 CmsKit/cms-kit-menu.png b/docs/en/Blog-Posts/2021-04-05 CmsKit/cms-kit-menu.png
new file mode 100644
index 0000000000..3f187c9a9d
Binary files /dev/null and b/docs/en/Blog-Posts/2021-04-05 CmsKit/cms-kit-menu.png differ
diff --git a/docs/en/Blog-Posts/2021-04-26 v4_3_Release_Stable/POST.md b/docs/en/Blog-Posts/2021-04-26 v4_3_Release_Stable/POST.md
new file mode 100644
index 0000000000..d06e2370e0
--- /dev/null
+++ b/docs/en/Blog-Posts/2021-04-26 v4_3_Release_Stable/POST.md
@@ -0,0 +1,53 @@
+# ABP.IO Platform 4.3 Final Has Been Released!
+
+[ABP Framework](https://abp.io/) and [ABP Commercial](https://commercial.abp.io/) 4.3 versions have been released today.
+
+## What's New With 4.3?
+
+Since all the new features are already explained in details with the 4.3 RC announcement posts, I will not repeat all the details again. See the related blog posts for all the features and enhancements;
+
+* [What's New with the ABP Framework 4.3](https://blog.abp.io/abp/ABP-Framework-4.3-RC-Has-Been-Published)
+* [What's new with the ABP Commercial 4.3](https://blog.abp.io/abp/ABP-Commercial-4.3-RC-Has-Been-Published)
+
+## The Quick Start Tutorial
+
+With this version, we've created a minimalist [quick start tutorial](https://docs.abp.io/en/abp/latest/Tutorials/Todo/Index) for developers who are new to the ABP Framework.
+
+## How to Upgrade an Existing Solution
+
+### Install/Update the ABP CLI
+
+First of all, install the ABP CLI or upgrade to the latest version.
+
+If you haven't installed yet:
+
+```bash
+dotnet tool install -g Volo.Abp.Cli
+```
+
+To update an existing installation:
+
+```bash
+dotnet tool update -g Volo.Abp.Cli
+```
+
+### ABP UPDATE Command
+
+[ABP CLI](https://docs.abp.io/en/abp/latest/CLI) provides a handy command to update all the ABP related NuGet and NPM packages in your solution with a single command:
+
+```bash
+abp update
+```
+
+Run this command in the root folder of your solution.
+
+## Migration Guides
+
+**Check the migration guides ([for ABP Framework](https://docs.abp.io/en/abp/latest/Migration-Guides/Abp-4_3) & for [ABP Commercial](https://docs.abp.io/en/commercial/latest/migration-guides/v4_3)) for the applications with the version 4.2.x upgrading to the version 4.3.0.**
+
+## The Road Map
+
+The next feature version will be 4.4. It is planned to release the 4.4 RC (Release Candidate) at the end of Quarter 2, 2021. See the updated road maps;
+
+* [ABP Framework Road Map](https://docs.abp.io/en/abp/latest/Road-Map)
+* [ABP Commercial Road Map](https://docs.abp.io/en/commercial/latest/road-map)
\ No newline at end of file
diff --git a/docs/en/CLI-New-Command-Samples.md b/docs/en/CLI-New-Command-Samples.md
index eedf03353c..52ca533c81 100644
--- a/docs/en/CLI-New-Command-Samples.md
+++ b/docs/en/CLI-New-Command-Samples.md
@@ -126,6 +126,12 @@ Module are reusable sub applications used by your main project. Using ABP Module
```bash
abp new Acme.IssueManagement -t module --no-ui
```
+
+* Creates the module and adds it to your solution
+
+ ```bash
+ abp new Acme.IssueManagement -t module --add-to-solution-file
+ ```
## Create a solution from a specific version
diff --git a/docs/en/Community-Articles/2020-10-08-How-To-Add-Custom-Property-To-The-User-Entity/How-To-Add-Custom-Property-To-The-User-Entity.md b/docs/en/Community-Articles/2020-10-08-How-To-Add-Custom-Property-To-The-User-Entity/How-To-Add-Custom-Property-To-The-User-Entity.md
index 86f9774c7f..80141a32fe 100644
--- a/docs/en/Community-Articles/2020-10-08-How-To-Add-Custom-Property-To-The-User-Entity/How-To-Add-Custom-Property-To-The-User-Entity.md
+++ b/docs/en/Community-Articles/2020-10-08-How-To-Add-Custom-Property-To-The-User-Entity/How-To-Add-Custom-Property-To-The-User-Entity.md
@@ -18,7 +18,7 @@ Abp Framework offers startup templates to get into the work faster. We can creat
`abp new CustomizeUserDemo`
-> In this article, I will go through the MVC application, but it will work also in the [Angular](https://docs.abp.io/en/abp/latest/Getting-Started?UI=NG&DB=EF&Tiered=No) application.
+> In this article, I will go through the MVC application, but it will work also in the [Angular](https://docs.abp.io/en/abp/latest/Getting-Started?UI=NG&DB=EF&Tiered=No), [Blazor Server](https://docs.abp.io/en/abp/latest/Getting-Started?UI=BlazorServer&DB=EF&Tiered=No), and [Blazor WebAssembly](https://docs.abp.io/en/abp/latest/Getting-Started?UI=Blazor&DB=EF&Tiered=No) application.
After the download is finished, we can run **CustomizeUserDemo.DbMigrator** project to create the database migrations and seed the initial data (admin user, role, etc). Then we can run `CustomizeUserDemo.Web` to see that our application is working.
@@ -78,7 +78,7 @@ public static class CustomizeUserDemoEfCoreEntityExtensionMappings
nameof(AppUser.Title),
(entityBuilder, propertyBuilder) =>
{
- propertyBuilder.HasDefaultValue();
+ propertyBuilder.HasDefaultValue("");
propertyBuilder.HasMaxLength(UserConsts.MaxTitleLength);
}
).MapEfCoreProperty(
diff --git a/docs/en/Community-Articles/2020-12-04-Event-Organizer/Post.md b/docs/en/Community-Articles/2020-12-04-Event-Organizer/Post.md
index b36d83d0ba..076ceb3aa0 100644
--- a/docs/en/Community-Articles/2020-12-04-Event-Organizer/Post.md
+++ b/docs/en/Community-Articles/2020-12-04-Event-Organizer/Post.md
@@ -447,11 +447,12 @@ namespace EventOrganizer.Events
public async Task> GetUpcomingAsync()
{
- var events = await AsyncExecuter.ToListAsync(
- _eventRepository
- .Where(x => x.StartTime > Clock.Now)
- .OrderBy(x => x.StartTime)
- );
+ var queryable = await _eventRepository.GetQueryableAsync();
+ var query = queryable
+ .Where(x => x.StartTime > Clock.Now)
+ .OrderBy(x => x.StartTime);
+
+ var events = await AsyncExecuter.ToListAsync(query);
return ObjectMapper.Map, List>(events);
}
@@ -653,11 +654,12 @@ namespace EventOrganizer.Events
public async Task> GetUpcomingAsync()
{
- var events = await AsyncExecuter.ToListAsync(
- _eventRepository
- .Where(x => x.StartTime > Clock.Now)
- .OrderBy(x => x.StartTime)
- );
+ var queryable = await _eventRepository.GetQueryableAsync();
+ var query = queryable
+ .Where(x => x.StartTime > Clock.Now)
+ .OrderBy(x => x.StartTime);
+
+ var events = await AsyncExecuter.ToListAsync(query);
return ObjectMapper.Map, List>(events);
}
@@ -666,7 +668,12 @@ namespace EventOrganizer.Events
{
var @event = await _eventRepository.GetAsync(id);
var attendeeIds = @event.Attendees.Select(a => a.UserId).ToList();
- var attendees = (await AsyncExecuter.ToListAsync(_userRepository.Where(u => attendeeIds.Contains(u.Id))))
+
+ var queryable = await _userRepository.GetQueryableAsync();
+ var query = queryable
+ .Where(u => attendeeIds.Contains(u.Id));
+
+ var attendees = (await AsyncExecuter.ToListAsync(query))
.ToDictionary(x => x.Id);
var result = ObjectMapper.Map(@event);
diff --git a/docs/en/Community-Articles/2021-04-22-How-to-Integrate-the-Syncfusion-Blazor-Component/POST.md b/docs/en/Community-Articles/2021-04-22-How-to-Integrate-the-Syncfusion-Blazor-Component/POST.md
new file mode 100644
index 0000000000..2e8fa867fb
--- /dev/null
+++ b/docs/en/Community-Articles/2021-04-22-How-to-Integrate-the-Syncfusion-Blazor-Component/POST.md
@@ -0,0 +1,114 @@
+## Integrating SyncFusion UI with ABP Framework Blazor UI
+
+Hi, in this step by step article, I will show you how to integrate [Syncfusion](https://www.syncfusion.com/blazor-components), a blazor UI components into ABP Framework-based applications.
+
+
+
+*(A screenshot from the example application developed in this article)*
+
+## Create the Project
+
+> First thing is to create the project. ABP Framework offers startup templates to get into business faster.
+
+In this article, I will create a new startup template with EF Core as a database provider and Blazor for UI framework. But if you already have a project with Blazor UI, you don't need to create a new startup template, you can directly implement the following steps to your existing project.
+
+> If you already have a project with the Blazor UI, you can skip this section.
+
+* Before starting the development, we will create a new solution named `SyncfusionSample` (or whatever you want). We will create a new startup template with EF Core as a database provider and Blazor for UI framework by using [ABP CLI](https://docs.abp.io/en/abp/latest/CLI):
+
+````bash
+md SyncfusionSample
+cd SyncfusionSample
+````
+
+After we have navigated inside of `SyncfusionSample` directory, we can create a new project. Note that I am creating Blazor Server (`blazor-server`) project. If you want to create a regular Blazor WebAssembly project just use `blazor` keyword instead.
+
+````bash
+abp new SyncfusionSample -u blazor-server
+````
+
+and
+
+````bash
+dotnet restore
+````
+
+* Our project boilerplate will be ready after the download is finished. Then, we can open the solution in the Visual Studio (or any other IDE) and run the `SyncfusionSample.DbMigrator` to create the database and seed initial data (which creates the admin user, admin role, permissions etc.)
+
+
+
+* After database and initial data created,
+* Run the `SyncfusionSample.Blazor` to see our UI working properly.
+
+> _Default login credentials for admin: username is **admin** and password is **1q2w3E\***_
+
+## Install Syncfusion
+
+You can follow [this documentation](https://blazor.syncfusion.com/documentation/getting-started/blazor-server-side-visual-studio-2019/) to install Syncfusion packages into your computer.
+
+### Adding Syncfusion NuGet Packages
+
+Select `SyncfusionSample.Blazor` as the **default project** and then install NuGet packages.
+
+```bash
+Install-Package Syncfusion.Blazor.Grid
+```
+
+### Register Syncfusion Resources
+
+1. Add the following line to the HEAD section of the `_Host.cshtml` file within the `SyncfusionSample.Blazor` project:
+
+ ```Razor
+
+
+
+
+ ```
+
+2. In the `SyncfusionSampleBlazorModule` class, call the `AddSyncfusionBlazor()` method from your project's `ConfigureServices()` method:
+
+ ```csharp
+ public override void ConfigureServices(ServiceConfigurationContext context)
+ {
+ var hostingEnvironment = context.Services.GetHostingEnvironment();
+ var configuration = context.Services.GetConfiguration();
+
+ // ...
+
+ context.Services.AddSyncfusionBlazor();
+ Syncfusion.Licensing.SyncfusionLicenseProvider.RegisterLicense("YOUR LICENSE KEY");
+ }
+ ```
+
+ > To get the `LICENSE KEY` you can login into your Syncfusion account and request the key. Trial keys are also available.
+
+3. Register the **SyncfusionSample.Blazor** namespace(s) in the `_Imports.razor` file:
+
+ ```Razor
+ @using Syncfusion.Blazor
+ @using Syncfusion.Blazor.Buttons
+ @using Syncfusion.Blazor.Inputs
+ @using Syncfusion.Blazor.Calendars
+ @using Syncfusion.Blazor.Popups
+ @using Syncfusion.Blazor.Grids
+ ```
+
+## The Sample Application
+
+We have created a sample application with [SfGrid](https://blazor.syncfusion.com/documentation/datagrid/getting-started/) example.
+
+### The Source Code
+
+You can download the source code from [here](https://github.com/abpframework/abp-samples/tree/master/SyncfusionSample).
+
+The related files for this example are marked in the following screenshots.
+
+
+
+
+
+
+
+## Conclusion
+
+In this article, I've explained how to use [Syncfusion](https://www.syncfusion.com/blazor-components) components in your application. ABP Framework is designed so that it can work with any UI library/framework.
diff --git a/docs/en/Community-Articles/2021-04-22-How-to-Integrate-the-Syncfusion-Blazor-Component/example-result.png b/docs/en/Community-Articles/2021-04-22-How-to-Integrate-the-Syncfusion-Blazor-Component/example-result.png
new file mode 100644
index 0000000000..e773d100f0
Binary files /dev/null and b/docs/en/Community-Articles/2021-04-22-How-to-Integrate-the-Syncfusion-Blazor-Component/example-result.png differ
diff --git a/docs/en/Community-Articles/2021-04-22-How-to-Integrate-the-Syncfusion-Blazor-Component/initial-project.png b/docs/en/Community-Articles/2021-04-22-How-to-Integrate-the-Syncfusion-Blazor-Component/initial-project.png
new file mode 100644
index 0000000000..eb28aacfe0
Binary files /dev/null and b/docs/en/Community-Articles/2021-04-22-How-to-Integrate-the-Syncfusion-Blazor-Component/initial-project.png differ
diff --git a/docs/en/Community-Articles/2021-04-22-How-to-Integrate-the-Syncfusion-Blazor-Component/table-app-contract.png b/docs/en/Community-Articles/2021-04-22-How-to-Integrate-the-Syncfusion-Blazor-Component/table-app-contract.png
new file mode 100644
index 0000000000..be0accc721
Binary files /dev/null and b/docs/en/Community-Articles/2021-04-22-How-to-Integrate-the-Syncfusion-Blazor-Component/table-app-contract.png differ
diff --git a/docs/en/Community-Articles/2021-04-22-How-to-Integrate-the-Syncfusion-Blazor-Component/table-application.png b/docs/en/Community-Articles/2021-04-22-How-to-Integrate-the-Syncfusion-Blazor-Component/table-application.png
new file mode 100644
index 0000000000..e2b552479d
Binary files /dev/null and b/docs/en/Community-Articles/2021-04-22-How-to-Integrate-the-Syncfusion-Blazor-Component/table-application.png differ
diff --git a/docs/en/Community-Articles/2021-04-22-How-to-Integrate-the-Syncfusion-Blazor-Component/table-web.png b/docs/en/Community-Articles/2021-04-22-How-to-Integrate-the-Syncfusion-Blazor-Component/table-web.png
new file mode 100644
index 0000000000..289ad0805b
Binary files /dev/null and b/docs/en/Community-Articles/2021-04-22-How-to-Integrate-the-Syncfusion-Blazor-Component/table-web.png differ
diff --git a/docs/en/Text-Templating-Razor.md b/docs/en/Text-Templating-Razor.md
new file mode 100644
index 0000000000..44a207a991
--- /dev/null
+++ b/docs/en/Text-Templating-Razor.md
@@ -0,0 +1,578 @@
+# Razor Integration
+
+
+The Razor template is a standard C# class, so you can freely use the functions of C#, such as `dependency injection`, using `LINQ`, custom methods, and even using `Repository`.
+
+
+## Installation
+
+It is suggested to use the [ABP CLI](CLI.md) to install this package.
+
+### Using the ABP CLI
+
+Open a command line window in the folder of the project (.csproj file) and type the following command:
+
+````bash
+abp add-package Volo.Abp.TextTemplating.Razor
+````
+
+### Manual Installation
+
+If you want to manually install;
+
+1. Add the [Volo.Abp.TextTemplating.Razor](https://www.nuget.org/packages/Volo.Abp.TextTemplating.Razor) NuGet package to your project:
+
+````
+Install-Package Volo.Abp.TextTemplating.Razor
+````
+
+2. Add the `AbpTextTemplatingRazorModule` to the dependency list of your module:
+
+````csharp
+[DependsOn(
+ //...other dependencies
+ typeof(AbpTextTemplatingRazorModule) //Add the new module dependency
+ )]
+public class YourModule : AbpModule
+{
+}
+````
+
+## Add MetadataReference to CSharpCompilerOptions
+
+You need to add the `MetadataReference` of the type used in the template to `CSharpCompilerOptions's References`.
+
+````csharp
+public override void ConfigureServices(ServiceConfigurationContext context)
+{
+ Configure(options =>
+ {
+ options.References.Add(MetadataReference.CreateFromFile(typeof(YourModule).Assembly.Location));
+ });
+}
+````
+
+## Add MetadataReference for a template.
+
+You can add some `MetadataReference` to the template
+
+````csharp
+public override void ConfigureServices(ServiceConfigurationContext context)
+{
+ services.Configure(options =>
+ {
+ //Hello is template name.
+ options.TemplateReferences.Add("Hello", new List()
+ {
+ Assembly.Load("Microsoft.Extensions.Logging.Abstractions"),
+ Assembly.Load("Microsoft.Extensions.Logging")
+ }
+ .Select(x => MetadataReference.CreateFromFile(x.Location))
+ .ToList());
+ });
+}
+````
+
+## Defining Templates
+
+Before rendering a template, you should define it. Create a class inheriting from the `TemplateDefinitionProvider` base class:
+
+````csharp
+public class DemoTemplateDefinitionProvider : TemplateDefinitionProvider
+{
+ public override void Define(ITemplateDefinitionContext context)
+ {
+ context.Add(
+ new TemplateDefinition("Hello") //template name: "Hello"
+ .WithRazorEngine()
+ .WithVirtualFilePath(
+ "/Demos/Hello/Hello.cshtml", //template content path
+ isInlineLocalized: true
+ )
+ );
+ }
+}
+````
+
+* `context` object is used to add new templates or get the templates defined by depended modules. Used `context.Add(...)` to define a new template.
+* `TemplateDefinition` is the class represents a template. Each template must have a unique name (that will be used while you are rendering the template).
+* `/Demos/Hello/Hello.cshtml` is the path of the template file.
+* `isInlineLocalized` is used to declare if you are using a single template for all languages (`true`) or different templates for each language (`false`). See the Localization section below for more.
+* `WithRenderEngine` method is used to set the render engine of the template.
+
+### The Template Base
+
+Every `cshtml` template page needs to inherit `RazorTemplatePageBase` or `RazorTemplatePageBase`.
+There are some useful properties in the base class that can be used in templates. eg: `Localizer`, `ServiceProvider`.
+
+### The Template Content
+
+`WithVirtualFilePath` indicates that we are using the [Virtual File System](Virtual-File-System.md) to store the template content. Create a `Hello.cshtml` file inside your project and mark it as "**embedded resource**" on the properties window:
+
+
+
+Example `Hello.cshtml` content is shown below:
+
+````
+@inherits Volo.Abp.TextTemplating.Razor.RazorTemplatePageBase
+Hello @Model.Name
+````
+
+The `HelloModel` class is:
+````csharp
+namespace HelloModelNamespace
+{
+ public class HelloModel
+ {
+ public string Name { get; set; }
+ }
+}
+````
+
+The [Virtual File System](Virtual-File-System.md) requires to add your files in the `ConfigureServices` method of your [module](Module-Development-Basics.md) class:
+
+````csharp
+Configure(options =>
+{
+ options.FileSets.AddEmbedded("TextTemplateDemo");
+});
+````
+
+* `TextTemplateDemoModule` is the module class that you define your template in.
+* `TextTemplateDemo` is the root namespace of your project.
+
+## Rendering the Template
+
+`ITemplateRenderer` service is used to render a template content.
+
+### Example: Rendering a Simple Template
+
+````csharp
+public class HelloDemo : ITransientDependency
+{
+ private readonly ITemplateRenderer _templateRenderer;
+
+ public HelloDemo(ITemplateRenderer templateRenderer)
+ {
+ _templateRenderer = templateRenderer;
+ }
+
+ public async Task RunAsync()
+ {
+ var result = await _templateRenderer.RenderAsync(
+ "Hello", //the template name
+ new HelloModel
+ {
+ Name = "John"
+ }
+ );
+
+ Console.WriteLine(result);
+ }
+}
+````
+
+* `HelloDemo` is a simple class that injects the `ITemplateRenderer` in its constructor and uses it inside the `RunAsync` method.
+* `RenderAsync` gets two fundamental parameters:
+ * `templateName`: The name of the template to be rendered (`Hello` in this example).
+ * `model`: An object that is used as the `model` inside the template (a `HelloModel` object in this example).
+
+The result shown below for this example:
+
+````csharp
+Hello John :)
+````
+## Localization
+
+It is possible to localize a template content based on the current culture. There are two types of localization options described in the following sections.
+
+### Inline localization
+
+Inline localization uses the [localization system](Localization.md) to localize texts inside templates.
+
+#### Example: Reset Password Link
+
+Assuming you need to send an email to a user to reset her/his password. Here, the model/template content:
+
+````csharp
+namespace ResetMyPasswordModelNamespace
+{
+ public class ResetMyPasswordModel
+ {
+ public string Link { get; set; }
+
+ public string Name { get; set; }
+ }
+}
+````
+
+````html
+@inherits Volo.Abp.TextTemplating.Razor.RazorTemplatePageBase
+@Localizer["ResetMyPassword", Model.Name]
+````
+
+`Localizer` service is used to localize the given key based on the current user culture. You need to define the `ResetMyPassword` key inside your localization file:
+
+````json
+"ResetMyPasswordTitle": "Reset my password",
+"ResetMyPassword": "Hi {0}, Click here to reset your password"
+````
+
+You also need to declare the localization resource to be used with this template, inside your template definition provider class:
+
+````csharp
+context.Add(
+ new TemplateDefinition(
+ "PasswordReset", //Template name
+ typeof(DemoResource) //LOCALIZATION RESOURCE
+ )
+ .WithRazorEngine()
+ .WithVirtualFilePath(
+ "/Demos/PasswordReset/PasswordReset.cshtml", //template content path
+ isInlineLocalized: true
+ )
+);
+````
+
+That's all. When you render this template like that:
+
+````csharp
+var result = await _templateRenderer.RenderAsync(
+ "PasswordReset", //the template name
+ new PasswordResetModel
+ {
+ Name = "john",
+ Link = "https://abp.io/example-link?userId=123&token=ABC"
+ }
+);
+````
+
+You will see the localized result:
+
+````html
+Hi john, Click here to reset your password
+````
+
+> If you define the [default localization resource](Localization.md) for your application, then no need to declare the resource type for the template definition.
+
+### Multiple Contents Localization
+
+Instead of a single template that uses the localization system to localize the template, you may want to create different template files for each language. It can be needed if the template should be completely different for a specific culture rather than simple text localizations.
+
+#### Example: Welcome Email Template
+
+Assuming that you want to send a welcome email to your users, but want to define a completely different template based on the user culture.
+
+First, create a folder and put your templates inside it, like `en.cshtml`, `tr.cshtml`... one for each culture you support:
+
+
+
+Then add your template definition in the template definition provider class:
+
+````csharp
+context.Add(
+ new TemplateDefinition(
+ name: "WelcomeEmail",
+ defaultCultureName: "en"
+ )
+ .WithRazorEngine()
+ .WithVirtualFilePath(
+ "/Demos/WelcomeEmail/Templates", //template content folder
+ isInlineLocalized: false
+ )
+);
+````
+
+* Set **default culture name**, so it fallbacks to the default culture if there is no template for the desired culture.
+* Specify **the template folder** rather than a single template file.
+* Set `isInlineLocalized` to `false` for this case.
+
+That's all, you can render the template for the current culture:
+
+````csharp
+var result = await _templateRenderer.RenderAsync("WelcomeEmail");
+````
+
+> Skipped the modal for this example to keep it simple, but you can use models as just explained before.
+
+### Specify the Culture
+
+`ITemplateRenderer` service uses the current culture (`CultureInfo.CurrentUICulture`) if not specified. If you need, you can specify the culture as the `cultureName` parameter:
+
+````csharp
+var result = await _templateRenderer.RenderAsync(
+ "WelcomeEmail",
+ cultureName: "en"
+);
+````
+
+## Layout Templates
+
+Layout templates are used to create shared layouts among other templates. It is similar to the layout system in the ASP.NET Core MVC / Razor Pages.
+
+### Example: Email HTML Layout Template
+
+For example, you may want to create a single layout for all of your email templates.
+
+First, create a template file just like before:
+
+````html
+@inherits Volo.Abp.TextTemplating.Razor.RazorTemplatePageBase
+
+
+
+
+
+
+ @Body
+
+
+````
+
+* A layout template must have a `Body` part as a place holder for the rendered child content.
+
+The register your template in the template definition provider:
+
+````csharp
+context.Add(
+ new TemplateDefinition(
+ "EmailLayout",
+ isLayout: true //SET isLayout!
+ )
+ .WithRazorEngine()
+ .WithVirtualFilePath(
+ "/Demos/EmailLayout/EmailLayout.cshtml",
+ isInlineLocalized: true
+ )
+);
+````
+
+Now, you can use this template as the layout of any other template:
+
+````csharp
+context.Add(
+ new TemplateDefinition(
+ name: "WelcomeEmail",
+ defaultCultureName: "en",
+ layout: "EmailLayout" //Set the LAYOUT
+ )
+ .WithRazorEngine()
+ .WithVirtualFilePath(
+ "/Demos/WelcomeEmail/Templates",
+ isInlineLocalized: false
+ )
+);
+````
+
+## Global Context
+
+ABP passes the `model` that can be used to access to the model inside the template. You can pass more global variables if you need.
+
+An example template content:
+
+````html
+@inherits Volo.Abp.TextTemplating.Razor.RazorTemplatePageBase
+A global object value: @GlobalContext["myGlobalObject"]
+````
+
+This template assumes that that is a `myGlobalObject` object in the template rendering context. You can provide it like shown below:
+
+````csharp
+var result = await _templateRenderer.RenderAsync(
+ "GlobalContextUsage",
+ globalContext: new Dictionary
+ {
+ {"myGlobalObject", "TEST VALUE"}
+ }
+);
+````
+
+The rendering result will be:
+
+````
+A global object value: TEST VALUE
+````
+
+## Replacing the Existing Templates
+
+It is possible to replace a template defined by a module that used in your application. In this way, you can customize the templates based on your requirements without changing the module code.
+
+### Option-1: Using the Virtual File System
+
+The [Virtual File System](Virtual-File-System.md) allows you to override any file by placing the same file into the same path in your project.
+
+#### Example: Replace the Standard Email Layout Template
+
+ABP Framework provides an [email sending system](Emailing.md) that internally uses the text templating to render the email content. It defines a standard email layout template in the `/Volo/Abp/Emailing/Templates/Layout.cshtml` path. The unique name of the template is `Abp.StandardEmailTemplates.Layout` and this string is defined as a constant on the `Volo.Abp.Emailing.Templates.StandardEmailTemplates` static class.
+
+Do the following steps to replace the template file with your own;
+
+**1)** Add a new file into the same location (`/Volo/Abp/Emailing/Templates/Layout.cshtml`) in your project:
+
+
+
+**2)** Prepare your email layout template:
+
+````html
+@inherits Volo.Abp.TextTemplating.Razor.RazorTemplatePageBase
+
+
+
+
+
+
+
This my header
+
+ @Body
+
+
+
+
+````
+
+This example simply adds a header and footer to the template and renders the content between them (see the *Layout Templates* section above to understand it).
+
+**3)** Configure the embedded resources in the `.csproj` file
+
+* Add [Microsoft.Extensions.FileProviders.Embedded](https://www.nuget.org/packages/Microsoft.Extensions.FileProviders.Embedded) NuGet package to the project.
+* Add `true` into the `...` section of your `.csproj` file.
+* Add the following code into your `.csproj` file:
+
+````xml
+
+
+
+
+````
+
+This makes the template files "embedded resource".
+
+**4)** Configure the virtual file system
+
+Configure the `AbpVirtualFileSystemOptions` in the `ConfigureServices` method of your [module](Module-Development-Basics.md) to add the embedded files into the virtual file system:
+
+```csharp
+Configure(options =>
+{
+ options.FileSets.AddEmbedded();
+});
+```
+
+`BookStoreDomainModule` should be your module name, in this example code.
+
+> Be sure that your module (directly or indirectly) [depends on](Module-Development-Basics.md) the `AbpEmailingModule`. Because the VFS can override files based on the dependency order.
+
+Now, your template will be used when you want to render the email layout template.
+
+### Option-2: Using the Template Definition Provider
+
+You can create a template definition provider class that gets the email layout template and changes the virtual file path for the template.
+
+**Example: Use the `/MyTemplates/EmailLayout.cshtml` file instead of the standard template**
+
+```csharp
+using Volo.Abp.DependencyInjection;
+using Volo.Abp.Emailing.Templates;
+using Volo.Abp.TextTemplating;
+
+namespace MyProject
+{
+ public class MyTemplateDefinitionProvider
+ : TemplateDefinitionProvider, ITransientDependency
+ {
+ public override void Define(ITemplateDefinitionContext context)
+ {
+ var emailLayoutTemplate = context.GetOrNull(StandardEmailTemplates.Layout);
+
+ emailLayoutTemplate
+ .WithVirtualFilePath(
+ "/MyTemplates/EmailLayout.cshtml",
+ isInlineLocalized: true
+ );
+ }
+ }
+}
+```
+
+You should still add the file `/MyTemplates/EmailLayout.cshtml` to the virtual file system as explained before. This approach allows you to locate templates in any folder instead of the folder defined by the depended module.
+
+Beside the template content, you can manipulate the template definition properties, like `DisplayName`, `Layout` or `LocalizationSource`.
+
+## Advanced Features
+
+This section covers some internals and more advanced usages of the text templating system.
+
+### Template Content Provider
+
+`ITemplateRenderer` is used to render the template, which is what you want for most of the cases. However, you can use the `ITemplateContentProvider` to get the raw (not rendered) template contents.
+
+> `ITemplateContentProvider` is internally used by the `ITemplateRenderer` to get the raw template contents.
+
+Example:
+
+````csharp
+public class TemplateContentDemo : ITransientDependency
+{
+ private readonly ITemplateContentProvider _templateContentProvider;
+
+ public TemplateContentDemo(ITemplateContentProvider templateContentProvider)
+ {
+ _templateContentProvider = templateContentProvider;
+ }
+
+ public async Task RunAsync()
+ {
+ var result = await _templateContentProvider
+ .GetContentOrNullAsync("Hello");
+
+ Console.WriteLine(result);
+ }
+}
+````
+
+The result will be the raw template content:
+
+````
+@inherits Volo.Abp.TextTemplating.Razor.RazorTemplatePageBase
+Hello @Model.Name
+````
+
+* `GetContentOrNullAsync` returns `null` if no content defined for the requested template.
+* It can get a `cultureName` parameter that is used if template has different files for different cultures (see Multiple Contents Localization section above).
+
+### Template Content Contributor
+
+`ITemplateContentProvider` service uses `ITemplateContentContributor` implementations to find template contents. There is a single pre-implemented content contributor, `VirtualFileTemplateContentContributor`, which gets template contents from the virtual file system as described above.
+
+You can implement the `ITemplateContentContributor` to read raw template contents from another source.
+
+Example:
+
+````csharp
+public class MyTemplateContentProvider
+ : ITemplateContentContributor, ITransientDependency
+{
+ public async Task GetOrNullAsync(TemplateContentContributorContext context)
+ {
+ var templateName = context.TemplateDefinition.Name;
+
+ //TODO: Try to find content from another source
+ return null;
+ }
+}
+
+````
+
+Return `null` if your source can not find the content, so `ITemplateContentProvider` fallbacks to the next contributor.
+
+### Template Definition Manager
+
+`ITemplateDefinitionManager` service can be used to get the template definitions (created by the template definition providers).
+
+## See Also
+
+* [The source code of the sample application](https://github.com/abpframework/abp-samples/tree/master/TextTemplateDemo) developed and referred through this document.
+* [Localization system](Localization.md).
+* [Virtual File System](Virtual-File-System.md).
diff --git a/docs/en/Text-Templating-Scriban.md b/docs/en/Text-Templating-Scriban.md
new file mode 100644
index 0000000000..51b6c50f88
--- /dev/null
+++ b/docs/en/Text-Templating-Scriban.md
@@ -0,0 +1,526 @@
+# Razor Integration
+
+## Installation
+
+It is suggested to use the [ABP CLI](CLI.md) to install this package.
+
+### Using the ABP CLI
+
+Open a command line window in the folder of the project (.csproj file) and type the following command:
+
+````bash
+abp add-package Volo.Abp.TextTemplating.Scriban
+````
+
+### Manual Installation
+
+If you want to manually install;
+
+1. Add the [Volo.Abp.TextTemplating.Scriban](https://www.nuget.org/packages/Volo.Abp.TextTemplating.Scriban) NuGet package to your project:
+
+````
+Install-Package Volo.Abp.TextTemplating.Scriban
+````
+
+2. Add the `AbpTextTemplatingScribanModule` to the dependency list of your module:
+
+````csharp
+[DependsOn(
+ //...other dependencies
+ typeof(AbpTextTemplatingScribanModule) //Add the new module dependency
+ )]
+public class YourModule : AbpModule
+{
+}
+````
+
+## Defining Templates
+
+Before rendering a template, you should define it. Create a class inheriting from the `TemplateDefinitionProvider` base class:
+
+````csharp
+public class DemoTemplateDefinitionProvider : TemplateDefinitionProvider
+{
+ public override void Define(ITemplateDefinitionContext context)
+ {
+ context.Add(
+ new TemplateDefinition("Hello") //template name: "Hello"
+ .WithVirtualFilePath(
+ "/Demos/Hello/Hello.tpl", //template content path
+ isInlineLocalized: true
+ )
+ .WithScribanEngine()
+ );
+ }
+}
+````
+
+* `context` object is used to add new templates or get the templates defined by depended modules. Used `context.Add(...)` to define a new template.
+* `TemplateDefinition` is the class represents a template. Each template must have a unique name (that will be used while you are rendering the template).
+* `/Demos/Hello/Hello.tpl` is the path of the template file.
+* `isInlineLocalized` is used to declare if you are using a single template for all languages (`true`) or different templates for each language (`false`). See the Localization section below for more.
+* `WithRenderEngine` method is used to set the render engine of the template.
+
+### The Template Content
+
+`WithVirtualFilePath` indicates that we are using the [Virtual File System](Virtual-File-System.md) to store the template content. Create a `Hello.tpl` file inside your project and mark it as "**embedded resource**" on the properties window:
+
+
+
+Example `Hello.tpl` content is shown below:
+
+````
+Hello {%{{{model.name}}}%} :)
+````
+
+The [Virtual File System](Virtual-File-System.md) requires to add your files in the `ConfigureServices` method of your [module](Module-Development-Basics.md) class:
+
+````csharp
+Configure(options =>
+{
+ options.FileSets.AddEmbedded("TextTemplateDemo");
+});
+````
+
+* `TextTemplateDemoModule` is the module class that you define your template in.
+* `TextTemplateDemo` is the root namespace of your project.
+
+## Rendering the Template
+
+`ITemplateRenderer` service is used to render a template content.
+
+### Example: Rendering a Simple Template
+
+````csharp
+public class HelloDemo : ITransientDependency
+{
+ private readonly ITemplateRenderer _templateRenderer;
+
+ public HelloDemo(ITemplateRenderer templateRenderer)
+ {
+ _templateRenderer = templateRenderer;
+ }
+
+ public async Task RunAsync()
+ {
+ var result = await _templateRenderer.RenderAsync(
+ "Hello", //the template name
+ new HelloModel
+ {
+ Name = "John"
+ }
+ );
+
+ Console.WriteLine(result);
+ }
+}
+````
+
+* `HelloDemo` is a simple class that injects the `ITemplateRenderer` in its constructor and uses it inside the `RunAsync` method.
+* `RenderAsync` gets two fundamental parameters:
+ * `templateName`: The name of the template to be rendered (`Hello` in this example).
+ * `model`: An object that is used as the `model` inside the template (a `HelloModel` object in this example).
+
+The result shown below for this example:
+
+````csharp
+Hello John :)
+````
+
+### Anonymous Model
+
+While it is suggested to create model classes for the templates, it would be practical (and possible) to use anonymous objects for simple cases:
+
+````csharp
+var result = await _templateRenderer.RenderAsync(
+ "Hello",
+ new
+ {
+ Name = "John"
+ }
+);
+````
+
+In this case, we haven't created a model class, but created an anonymous object as the model.
+
+### PascalCase vs snake_case
+
+PascalCase property names (like `UserName`) is used as snake_case (like `user_name`) in the templates.
+
+## Localization
+
+It is possible to localize a template content based on the current culture. There are two types of localization options described in the following sections.
+
+### Inline localization
+
+Inline localization uses the [localization system](Localization.md) to localize texts inside templates.
+
+#### Example: Reset Password Link
+
+Assuming you need to send an email to a user to reset her/his password. Here, the template content:
+
+````
+{%{{{L "ResetMyPassword" model.name}}}%}
+````
+
+`L` function is used to localize the given key based on the current user culture. You need to define the `ResetMyPassword` key inside your localization file:
+
+````json
+"ResetMyPasswordTitle": "Reset my password",
+"ResetMyPassword": "Hi {0}, Click here to reset your password"
+````
+
+You also need to declare the localization resource to be used with this template, inside your template definition provider class:
+
+````csharp
+context.Add(
+ new TemplateDefinition(
+ "PasswordReset", //Template name
+ typeof(DemoResource) //LOCALIZATION RESOURCE
+ )
+ .WithScribanEngine()
+ .WithVirtualFilePath(
+ "/Demos/PasswordReset/PasswordReset.tpl", //template content path
+ isInlineLocalized: true
+ )
+);
+````
+
+That's all. When you render this template like that:
+
+````csharp
+var result = await _templateRenderer.RenderAsync(
+ "PasswordReset", //the template name
+ new PasswordResetModel
+ {
+ Name = "john",
+ Link = "https://abp.io/example-link?userId=123&token=ABC"
+ }
+);
+````
+
+You will see the localized result:
+
+````csharp
+Hi john, Click here to reset your password
+````
+
+> If you define the [default localization resource](Localization.md) for your application, then no need to declare the resource type for the template definition.
+
+### Multiple Contents Localization
+
+Instead of a single template that uses the localization system to localize the template, you may want to create different template files for each language. It can be needed if the template should be completely different for a specific culture rather than simple text localizations.
+
+#### Example: Welcome Email Template
+
+Assuming that you want to send a welcome email to your users, but want to define a completely different template based on the user culture.
+
+First, create a folder and put your templates inside it, like `en.tpl`, `tr.tpl`... one for each culture you support:
+
+
+
+Then add your template definition in the template definition provider class:
+
+````csharp
+context.Add(
+ new TemplateDefinition(
+ name: "WelcomeEmail",
+ defaultCultureName: "en"
+ )
+ .WithScribanEngine()
+ .WithVirtualFilePath(
+ "/Demos/WelcomeEmail/Templates", //template content folder
+ isInlineLocalized: false
+ )
+);
+````
+
+* Set **default culture name**, so it fallbacks to the default culture if there is no template for the desired culture.
+* Specify **the template folder** rather than a single template file.
+* Set `isInlineLocalized` to `false` for this case.
+
+That's all, you can render the template for the current culture:
+
+````csharp
+var result = await _templateRenderer.RenderAsync("WelcomeEmail");
+````
+
+> Skipped the modal for this example to keep it simple, but you can use models as just explained before.
+
+### Specify the Culture
+
+`ITemplateRenderer` service uses the current culture (`CultureInfo.CurrentUICulture`) if not specified. If you need, you can specify the culture as the `cultureName` parameter:
+
+````csharp
+var result = await _templateRenderer.RenderAsync(
+ "WelcomeEmail",
+ cultureName: "en"
+);
+````
+
+## Layout Templates
+
+Layout templates are used to create shared layouts among other templates. It is similar to the layout system in the ASP.NET Core MVC / Razor Pages.
+
+### Example: Email HTML Layout Template
+
+For example, you may want to create a single layout for all of your email templates.
+
+First, create a template file just like before:
+
+````xml
+
+
+
+
+
+
+ {%{{{content}}}%}
+
+
+````
+
+* A layout template must have a **{%{{{content}}}%}** part as a place holder for the rendered child content.
+
+The register your template in the template definition provider:
+
+````csharp
+context.Add(
+ new TemplateDefinition(
+ "EmailLayout",
+ isLayout: true //SET isLayout!
+ )
+ .WithScribanEngine()
+ .WithVirtualFilePath(
+ "/Demos/EmailLayout/EmailLayout.tpl",
+ isInlineLocalized: true
+ )
+);
+````
+
+Now, you can use this template as the layout of any other template:
+
+````csharp
+context.Add(
+ new TemplateDefinition(
+ name: "WelcomeEmail",
+ defaultCultureName: "en",
+ layout: "EmailLayout" //Set the LAYOUT
+ )
+ .WithScribanEngine()
+ .WithVirtualFilePath(
+ "/Demos/WelcomeEmail/Templates",
+ isInlineLocalized: false
+ )
+);
+````
+
+## Global Context
+
+ABP passes the `model` that can be used to access to the model inside the template. You can pass more global variables if you need.
+
+An example template content:
+
+````
+A global object value: {%{{{myGlobalObject}}}%}
+````
+
+This template assumes that that is a `myGlobalObject` object in the template rendering context. You can provide it like shown below:
+
+````csharp
+var result = await _templateRenderer.RenderAsync(
+ "GlobalContextUsage",
+ globalContext: new Dictionary
+ {
+ {"myGlobalObject", "TEST VALUE"}
+ }
+);
+````
+
+The rendering result will be:
+
+````
+A global object value: TEST VALUE
+````
+
+## Replacing the Existing Templates
+
+It is possible to replace a template defined by a module that used in your application. In this way, you can customize the templates based on your requirements without changing the module code.
+
+### Option-1: Using the Virtual File System
+
+The [Virtual File System](Virtual-File-System.md) allows you to override any file by placing the same file into the same path in your project.
+
+#### Example: Replace the Standard Email Layout Template
+
+ABP Framework provides an [email sending system](Emailing.md) that internally uses the text templating to render the email content. It defines a standard email layout template in the `/Volo/Abp/Emailing/Templates/Layout.tpl` path. The unique name of the template is `Abp.StandardEmailTemplates.Layout` and this string is defined as a constant on the `Volo.Abp.Emailing.Templates.StandardEmailTemplates` static class.
+
+Do the following steps to replace the template file with your own;
+
+**1)** Add a new file into the same location (`/Volo/Abp/Emailing/Templates/Layout.tpl`) in your project:
+
+
+
+**2)** Prepare your email layout template:
+
+````html
+
+
+
+
+
+
+
This my header
+
+ {%{{{content}}}%}
+
+
+
+
+````
+
+This example simply adds a header and footer to the template and renders the content between them (see the *Layout Templates* section above to understand it).
+
+**3)** Configure the embedded resources in the `.csproj` file
+
+* Add [Microsoft.Extensions.FileProviders.Embedded](https://www.nuget.org/packages/Microsoft.Extensions.FileProviders.Embedded) NuGet package to the project.
+* Add `true` into the `...` section of your `.csproj` file.
+* Add the following code into your `.csproj` file:
+
+````xml
+
+
+
+
+````
+
+This makes the template files "embedded resource".
+
+**4)** Configure the virtual file system
+
+Configure the `AbpVirtualFileSystemOptions` in the `ConfigureServices` method of your [module](Module-Development-Basics.md) to add the embedded files into the virtual file system:
+
+```csharp
+Configure(options =>
+{
+ options.FileSets.AddEmbedded();
+});
+```
+
+`BookStoreDomainModule` should be your module name, in this example code.
+
+> Be sure that your module (directly or indirectly) [depends on](Module-Development-Basics.md) the `AbpEmailingModule`. Because the VFS can override files based on the dependency order.
+
+Now, your template will be used when you want to render the email layout template.
+
+### Option-2: Using the Template Definition Provider
+
+You can create a template definition provider class that gets the email layout template and changes the virtual file path for the template.
+
+**Example: Use the `/MyTemplates/EmailLayout.tpl` file instead of the standard template**
+
+```csharp
+using Volo.Abp.DependencyInjection;
+using Volo.Abp.Emailing.Templates;
+using Volo.Abp.TextTemplating;
+
+namespace MyProject
+{
+ public class MyTemplateDefinitionProvider
+ : TemplateDefinitionProvider, ITransientDependency
+ {
+ public override void Define(ITemplateDefinitionContext context)
+ {
+ var emailLayoutTemplate = context.GetOrNull(StandardEmailTemplates.Layout);
+
+ emailLayoutTemplate
+ .WithVirtualFilePath(
+ "/MyTemplates/EmailLayout.tpl",
+ isInlineLocalized: true
+ );
+ }
+ }
+}
+```
+
+You should still add the file `/MyTemplates/EmailLayout.tpl` to the virtual file system as explained before. This approach allows you to locate templates in any folder instead of the folder defined by the depended module.
+
+Beside the template content, you can manipulate the template definition properties, like `DisplayName`, `Layout` or `LocalizationSource`.
+
+## Advanced Features
+
+This section covers some internals and more advanced usages of the text templating system.
+
+### Template Content Provider
+
+`ITemplateRenderer` is used to render the template, which is what you want for most of the cases. However, you can use the `ITemplateContentProvider` to get the raw (not rendered) template contents.
+
+> `ITemplateContentProvider` is internally used by the `ITemplateRenderer` to get the raw template contents.
+
+Example:
+
+````csharp
+public class TemplateContentDemo : ITransientDependency
+{
+ private readonly ITemplateContentProvider _templateContentProvider;
+
+ public TemplateContentDemo(ITemplateContentProvider templateContentProvider)
+ {
+ _templateContentProvider = templateContentProvider;
+ }
+
+ public async Task RunAsync()
+ {
+ var result = await _templateContentProvider
+ .GetContentOrNullAsync("Hello");
+
+ Console.WriteLine(result);
+ }
+}
+````
+
+The result will be the raw template content:
+
+````
+Hello {%{{{model.name}}}%} :)
+````
+
+* `GetContentOrNullAsync` returns `null` if no content defined for the requested template.
+* It can get a `cultureName` parameter that is used if template has different files for different cultures (see Multiple Contents Localization section above).
+
+### Template Content Contributor
+
+`ITemplateContentProvider` service uses `ITemplateContentContributor` implementations to find template contents. There is a single pre-implemented content contributor, `VirtualFileTemplateContentContributor`, which gets template contents from the virtual file system as described above.
+
+You can implement the `ITemplateContentContributor` to read raw template contents from another source.
+
+Example:
+
+````csharp
+public class MyTemplateContentProvider
+ : ITemplateContentContributor, ITransientDependency
+{
+ public async Task GetOrNullAsync(TemplateContentContributorContext context)
+ {
+ var templateName = context.TemplateDefinition.Name;
+
+ //TODO: Try to find content from another source
+ return null;
+ }
+}
+
+````
+
+Return `null` if your source can not find the content, so `ITemplateContentProvider` fallbacks to the next contributor.
+
+### Template Definition Manager
+
+`ITemplateDefinitionManager` service can be used to get the template definitions (created by the template definition providers).
+
+## See Also
+
+* [The source code of the sample application](https://github.com/abpframework/abp-samples/tree/master/TextTemplateDemo) developed and referred through this document.
+* [Localization system](Localization.md).
+* [Virtual File System](Virtual-File-System.md).
diff --git a/docs/en/Text-Templating.md b/docs/en/Text-Templating.md
index bdea7cd00b..47e6c4cc80 100644
--- a/docs/en/Text-Templating.md
+++ b/docs/en/Text-Templating.md
@@ -12,552 +12,26 @@ It is very similar to an ASP.NET Core Razor View (or Page):
You can use the rendered output for any purpose, like sending emails or preparing some reports.
-### Example
-
-Here, a simple template:
-
-````
-Hello {%{{{model.name}}}%} :)
-````
-
-You can define a class with a `Name` property to render this template:
-
-````csharp
-public class HelloModel
-{
- public string Name { get; set; }
-}
-````
-
-If you render the template with a `HelloModel` with the `Name` is `John`, the rendered output is will be:
-
-````
-Hello John :)
-````
-
Template rendering engine is very powerful;
-* It is based on the [Scriban](https://github.com/lunet-io/scriban) library, so it supports **conditional logics**, **loops** and much more.
+* It supports **conditional logics**, **loops** and much more.
* Template content **can be localized**.
* You can define **layout templates** to be used as the layout while rendering other templates.
* You can pass arbitrary objects to the template context (beside the model) for advanced scenarios.
-### Source Code
-
-Get [the source code of the sample application](https://github.com/abpframework/abp-samples/tree/master/TextTemplateDemo) developed and referred through this document.
-
-## Installation
-
-It is suggested to use the [ABP CLI](CLI.md) to install this package.
-
-### Using the ABP CLI
-
-Open a command line window in the folder of the project (.csproj file) and type the following command:
-
-````bash
-abp add-package Volo.Abp.TextTemplating
-````
-
-### Manual Installation
-
-If you want to manually install;
-
-1. Add the [Volo.Abp.TextTemplating](https://www.nuget.org/packages/Volo.Abp.TextTemplating) NuGet package to your project:
-
-````
-Install-Package Volo.Abp.TextTemplating
-````
-
-2. Add the `AbpTextTemplatingModule` to the dependency list of your module:
-
-````csharp
-[DependsOn(
- //...other dependencies
- typeof(AbpTextTemplatingModule) //Add the new module dependency
- )]
-public class YourModule : AbpModule
-{
-}
-````
-
-## Defining Templates
-
-Before rendering a template, you should define it. Create a class inheriting from the `TemplateDefinitionProvider` base class:
-
-````csharp
-public class DemoTemplateDefinitionProvider : TemplateDefinitionProvider
-{
- public override void Define(ITemplateDefinitionContext context)
- {
- context.Add(
- new TemplateDefinition("Hello") //template name: "Hello"
- .WithVirtualFilePath(
- "/Demos/Hello/Hello.tpl", //template content path
- isInlineLocalized: true
- )
- );
- }
-}
-````
-
-* `context` object is used to add new templates or get the templates defined by depended modules. Used `context.Add(...)` to define a new template.
-* `TemplateDefinition` is the class represents a template. Each template must have a unique name (that will be used while you are rendering the template).
-* `/Demos/Hello/Hello.tpl` is the path of the template file.
-* `isInlineLocalized` is used to declare if you are using a single template for all languages (`true`) or different templates for each language (`false`). See the Localization section below for more.
-
-### The Template Content
-
-`WithVirtualFilePath` indicates that we are using the [Virtual File System](Virtual-File-System.md) to store the template content. Create a `Hello.tpl` file inside your project and mark it as "**embedded resource**" on the properties window:
-
-
-
-Example `Hello.tpl` content is shown below:
-
-````
-Hello {%{{{model.name}}}%} :)
-````
-
-The [Virtual File System](Virtual-File-System.md) requires to add your files in the `ConfigureServices` method of your [module](Module-Development-Basics.md) class:
-
-````csharp
-Configure(options =>
-{
- options.FileSets.AddEmbedded("TextTemplateDemo");
-});
-````
-
-* `TextTemplateDemoModule` is the module class that you define your template in.
-* `TextTemplateDemo` is the root namespace of your project.
-
-## Rendering the Template
-
-`ITemplateRenderer` service is used to render a template content.
-
-### Example: Rendering a Simple Template
-
-````csharp
-public class HelloDemo : ITransientDependency
-{
- private readonly ITemplateRenderer _templateRenderer;
-
- public HelloDemo(ITemplateRenderer templateRenderer)
- {
- _templateRenderer = templateRenderer;
- }
-
- public async Task RunAsync()
- {
- var result = await _templateRenderer.RenderAsync(
- "Hello", //the template name
- new HelloModel
- {
- Name = "John"
- }
- );
-
- Console.WriteLine(result);
- }
-}
-````
-
-* `HelloDemo` is a simple class that injects the `ITemplateRenderer` in its constructor and uses it inside the `RunAsync` method.
-* `RenderAsync` gets two fundamental parameters:
- * `templateName`: The name of the template to be rendered (`Hello` in this example).
- * `model`: An object that is used as the `model` inside the template (a `HelloModel` object in this example).
-
-The result shown below for this example:
-
-````csharp
-Hello John :)
-````
-
-### Anonymous Model
-
-While it is suggested to create model classes for the templates, it would be practical (and possible) to use anonymous objects for simple cases:
-
-````csharp
-var result = await _templateRenderer.RenderAsync(
- "Hello",
- new
- {
- Name = "John"
- }
-);
-````
-
-In this case, we haven't created a model class, but created an anonymous object as the model.
-
-### PascalCase vs snake_case
-
-PascalCase property names (like `UserName`) is used as snake_case (like `user_name`) in the templates.
-
-## Localization
-
-It is possible to localize a template content based on the current culture. There are two types of localization options described in the following sections.
-
-### Inline localization
-
-Inline localization uses the [localization system](Localization.md) to localize texts inside templates.
-
-#### Example: Reset Password Link
-
-Assuming you need to send an email to a user to reset her/his password. Here, the template content:
-
-````
-{%{{{L "ResetMyPassword" model.name}}}%}
-````
-
-`L` function is used to localize the given key based on the current user culture. You need to define the `ResetMyPassword` key inside your localization file:
-
-````json
-"ResetMyPasswordTitle": "Reset my password",
-"ResetMyPassword": "Hi {0}, Click here to reset your password"
-````
-
-You also need to declare the localization resource to be used with this template, inside your template definition provider class:
-
-````csharp
-context.Add(
- new TemplateDefinition(
- "PasswordReset", //Template name
- typeof(DemoResource) //LOCALIZATION RESOURCE
- ).WithVirtualFilePath(
- "/Demos/PasswordReset/PasswordReset.tpl", //template content path
- isInlineLocalized: true
- )
-);
-````
-
-That's all. When you render this template like that:
-
-````csharp
-var result = await _templateRenderer.RenderAsync(
- "PasswordReset", //the template name
- new PasswordResetModel
- {
- Name = "john",
- Link = "https://abp.io/example-link?userId=123&token=ABC"
- }
-);
-````
-
-You will see the localized result:
-
-````csharp
-Hi john, Click here to reset your password
-````
-
-> If you define the [default localization resource](Localization.md) for your application, then no need to declare the resource type for the template definition.
-
-### Multiple Contents Localization
-
-Instead of a single template that uses the localization system to localize the template, you may want to create different template files for each language. It can be needed if the template should be completely different for a specific culture rather than simple text localizations.
-
-#### Example: Welcome Email Template
-
-Assuming that you want to send a welcome email to your users, but want to define a completely different template based on the user culture.
-
-First, create a folder and put your templates inside it, like `en.tpl`, `tr.tpl`... one for each culture you support:
-
-
-
-Then add your template definition in the template definition provider class:
-
-````csharp
-context.Add(
- new TemplateDefinition(
- name: "WelcomeEmail",
- defaultCultureName: "en"
- )
- .WithVirtualFilePath(
- "/Demos/WelcomeEmail/Templates", //template content folder
- isInlineLocalized: false
- )
-);
-````
-
-* Set **default culture name**, so it fallbacks to the default culture if there is no template for the desired culture.
-* Specify **the template folder** rather than a single template file.
-* Set `isInlineLocalized` to `false` for this case.
-
-That's all, you can render the template for the current culture:
-
-````csharp
-var result = await _templateRenderer.RenderAsync("WelcomeEmail");
-````
+ABP Framework provides two templating engines;
-> Skipped the modal for this example to keep it simple, but you can use models as just explained before.
+* **[Razor](Text-Templating-Razor.md)**
+* **[Scriban](Text-Templating-Scriban.md)**
-### Specify the Culture
+You can use different template engines in the same application, or even create a new custom template engine.
-`ITemplateRenderer` service uses the current culture (`CultureInfo.CurrentUICulture`) if not specified. If you need, you can specify the culture as the `cultureName` parameter:
+## Source Code
-````csharp
-var result = await _templateRenderer.RenderAsync(
- "WelcomeEmail",
- cultureName: "en"
-);
-````
-
-## Layout Templates
-
-Layout templates are used to create shared layouts among other templates. It is similar to the layout system in the ASP.NET Core MVC / Razor Pages.
-
-### Example: Email HTML Layout Template
-
-For example, you may want to create a single layout for all of your email templates.
-
-First, create a template file just like before:
-
-````xml
-
-
-
-
-
-
- {%{{{content}}}%}
-
-
-````
-
-* A layout template must have a **{%{{{content}}}%}** part as a place holder for the rendered child content.
-
-The register your template in the template definition provider:
-
-````csharp
-context.Add(
- new TemplateDefinition(
- "EmailLayout",
- isLayout: true //SET isLayout!
- ).WithVirtualFilePath(
- "/Demos/EmailLayout/EmailLayout.tpl",
- isInlineLocalized: true
- )
-);
-````
-
-Now, you can use this template as the layout of any other template:
-
-````csharp
-context.Add(
- new TemplateDefinition(
- name: "WelcomeEmail",
- defaultCultureName: "en",
- layout: "EmailLayout" //Set the LAYOUT
- ).WithVirtualFilePath(
- "/Demos/WelcomeEmail/Templates",
- isInlineLocalized: false
- )
-);
-````
-
-## Global Context
-
-ABP passes the `model` that can be used to access to the model inside the template. You can pass more global variables if you need.
-
-An example template content:
-
-````
-A global object value: {%{{{myGlobalObject}}}%}
-````
-
-This template assumes that that is a `myGlobalObject` object in the template rendering context. You can provide it like shown below:
-
-````csharp
-var result = await _templateRenderer.RenderAsync(
- "GlobalContextUsage",
- globalContext: new Dictionary
- {
- {"myGlobalObject", "TEST VALUE"}
- }
-);
-````
-
-The rendering result will be:
-
-````
-A global object value: TEST VALUE
-````
-
-## Replacing the Existing Templates
-
-It is possible to replace a template defined by a module that used in your application. In this way, you can customize the templates based on your requirements without changing the module code.
-
-### Option-1: Using the Virtual File System
-
-The [Virtual File System](Virtual-File-System.md) allows you to override any file by placing the same file into the same path in your project.
-
-#### Example: Replace the Standard Email Layout Template
-
-ABP Framework provides an [email sending system](Emailing.md) that internally uses the text templating to render the email content. It defines a standard email layout template in the `/Volo/Abp/Emailing/Templates/Layout.tpl` path. The unique name of the template is `Abp.StandardEmailTemplates.Layout` and this string is defined as a constant on the `Volo.Abp.Emailing.Templates.StandardEmailTemplates` static class.
-
-Do the following steps to replace the template file with your own;
-
-**1)** Add a new file into the same location (`/Volo/Abp/Emailing/Templates/Layout.tpl`) in your project:
-
-
-
-**2)** Prepare your email layout template:
-
-````html
-
-
-
-
-
-
-
This my header
-
- {%{{{content}}}%}
-
-
-
-
-````
-
-This example simply adds a header and footer to the template and renders the content between them (see the *Layout Templates* section above to understand it).
-
-**3)** Configure the embedded resources in the `.csproj` file
-
-* Add [Microsoft.Extensions.FileProviders.Embedded](https://www.nuget.org/packages/Microsoft.Extensions.FileProviders.Embedded) NuGet package to the project.
-* Add `true` into the `...` section of your `.csproj` file.
-* Add the following code into your `.csproj` file:
-
-````xml
-
-
-
-
-````
-
-This makes the template files "embedded resource".
-
-**4)** Configure the virtual file system
-
-Configure the `AbpVirtualFileSystemOptions` in the `ConfigureServices` method of your [module](Module-Development-Basics.md) to add the embedded files into the virtual file system:
-
-```csharp
-Configure(options =>
-{
- options.FileSets.AddEmbedded();
-});
-```
-
-`BookStoreDomainModule` should be your module name, in this example code.
-
-> Be sure that your module (directly or indirectly) [depends on](Module-Development-Basics.md) the `AbpEmailingModule`. Because the VFS can override files based on the dependency order.
-
-Now, your template will be used when you want to render the email layout template.
-
-### Option-2: Using the Template Definition Provider
-
-You can create a template definition provider class that gets the email layout template and changes the virtual file path for the template.
-
-**Example: Use the `/MyTemplates/EmailLayout.tpl` file instead of the standard template**
-
-```csharp
-using Volo.Abp.DependencyInjection;
-using Volo.Abp.Emailing.Templates;
-using Volo.Abp.TextTemplating;
-
-namespace MyProject
-{
- public class MyTemplateDefinitionProvider
- : TemplateDefinitionProvider, ITransientDependency
- {
- public override void Define(ITemplateDefinitionContext context)
- {
- var emailLayoutTemplate = context.GetOrNull(StandardEmailTemplates.Layout);
-
- emailLayoutTemplate
- .WithVirtualFilePath(
- "/MyTemplates/EmailLayout.tpl",
- isInlineLocalized: true
- );
- }
- }
-}
-```
-
-You should still add the file `/MyTemplates/EmailLayout.tpl` to the virtual file system as explained before. This approach allows you to locate templates in any folder instead of the folder defined by the depended module.
-
-Beside the template content, you can manipulate the template definition properties, like `DisplayName`, `Layout` or `LocalizationSource`.
-
-## Advanced Features
-
-This section covers some internals and more advanced usages of the text templating system.
-
-### Template Content Provider
-
-`ITemplateRenderer` is used to render the template, which is what you want for most of the cases. However, you can use the `ITemplateContentProvider` to get the raw (not rendered) template contents.
-
-> `ITemplateContentProvider` is internally used by the `ITemplateRenderer` to get the raw template contents.
-
-Example:
-
-````csharp
-public class TemplateContentDemo : ITransientDependency
-{
- private readonly ITemplateContentProvider _templateContentProvider;
-
- public TemplateContentDemo(ITemplateContentProvider templateContentProvider)
- {
- _templateContentProvider = templateContentProvider;
- }
-
- public async Task RunAsync()
- {
- var result = await _templateContentProvider
- .GetContentOrNullAsync("Hello");
-
- Console.WriteLine(result);
- }
-}
-````
-
-The result will be the raw template content:
-
-````
-Hello {%{{{model.name}}}%} :)
-````
-
-* `GetContentOrNullAsync` returns `null` if no content defined for the requested template.
-* It can get a `cultureName` parameter that is used if template has different files for different cultures (see Multiple Contents Localization section above).
-
-### Template Content Contributor
-
-`ITemplateContentProvider` service uses `ITemplateContentContributor` implementations to find template contents. There is a single pre-implemented content contributor, `VirtualFileTemplateContentContributor`, which gets template contents from the virtual file system as described above.
-
-You can implement the `ITemplateContentContributor` to read raw template contents from another source.
-
-Example:
-
-````csharp
-public class MyTemplateContentProvider
- : ITemplateContentContributor, ITransientDependency
-{
- public async Task GetOrNullAsync(TemplateContentContributorContext context)
- {
- var templateName = context.TemplateDefinition.Name;
-
- //TODO: Try to find content from another source
- return null;
- }
-}
-
-````
-
-Return `null` if your source can not find the content, so `ITemplateContentProvider` fallbacks to the next contributor.
-
-### Template Definition Manager
-
-`ITemplateDefinitionManager` service can be used to get the template definitions (created by the template definition providers).
+Get [the source code of the sample application](https://github.com/abpframework/abp-samples/tree/master/TextTemplateDemo) developed and referred through this document.
## See Also
* [The source code of the sample application](https://github.com/abpframework/abp-samples/tree/master/TextTemplateDemo) developed and referred through this document.
* [Localization system](Localization.md).
-* [Virtual File System](Virtual-File-System.md).
+* [Virtual File System](Virtual-File-System.md).
\ No newline at end of file
diff --git a/docs/en/docs-nav.json b/docs/en/docs-nav.json
index aa1b2d0a2b..8aae7ac96b 100644
--- a/docs/en/docs-nav.json
+++ b/docs/en/docs-nav.json
@@ -9,7 +9,21 @@
"items": [
{
"text": "Web Application",
- "path": "Getting-Started.md"
+ "path": "Getting-Started.md",
+ "items": [
+ {
+ "text": "1: Setup Your Development Environment",
+ "path": "Getting-Started-Setup-Environment.md"
+ },
+ {
+ "text": "2: Creating a New Solution",
+ "path": "Getting-Started-Create-Solution.md"
+ },
+ {
+ "text": "3: Running the Solution",
+ "path": "Getting-Started-Running-Solution.md"
+ }
+ ]
},
{
"text": "Console Application",
@@ -85,7 +99,17 @@
},
{
"text": "CLI",
- "path": "CLI.md"
+ "path": "CLI.md",
+ "items": [
+ {
+ "text": "Build Command",
+ "path": "CLI-BuildCommand.md"
+ },
+ {
+ "text": "Create Solution Sample Commands",
+ "path": "CLI-New-Command-Samples.md"
+ }
+ ]
},
{
"text": "Startup Templates",
@@ -346,7 +370,17 @@
},
{
"text": "Text Templating",
- "path": "Text-Templating.md"
+ "path": "Text-Templating.md",
+ "items": [
+ {
+ "text": "Razor Integration",
+ "path": "Text-Templating-Razor.md"
+ },
+ {
+ "text": "Scriban Integration",
+ "path": "Text-Templating-Scriban.md"
+ }
+ ]
},
{
"text": "Timing",
@@ -380,9 +414,70 @@
"text": "Customizing/Extending Modules",
"path": "Customizing-Application-Modules-Guide.md"
},
+ {
+ "text": "Customizing/Extending Entities",
+ "path": "Customizing-Application-Modules-Extending-Entities.md"
+ },
+ {
+ "text": "Customizing/Overriding Services",
+ "path": "Customizing-Application-Modules-Overriding-Services.md"
+ },
+ {
+ "text": "Module Entity Extensions",
+ "path": "Module-Entity-Extensions.md"
+ },
{
"text": "Best Practices",
- "path": "Best-Practices/Index.md"
+ "path": "Best-Practices/Index.md",
+ "items": [
+ {
+ "text": "Module Architecture",
+ "path": "Best-Practices/Module-Architecture.md"
+ },
+ {
+ "text": "Domain Layer",
+ "items": [
+ {
+ "text": "Entities",
+ "path": "Best-Practices/Entities.md"
+ },
+ {
+ "text": "Repositories",
+ "path": "Best-Practices/Repositories.md"
+ },
+ {
+ "text": "Domain Services",
+ "path": "Best-Practices/Domain-Services.md"
+ }
+ ]
+ },
+ {
+ "text": "Application Layer",
+ "items": [
+ {
+ "text": "Application Services",
+ "path": "Best-Practices/Application-Services.md"
+ },
+ {
+ "text": "Data Transfer Objects",
+ "path": "Best-Practices/Data-Transfer-Objects.md"
+ }
+ ]
+ },
+ {
+ "text": "Data Access",
+ "items": [
+ {
+ "text": "Entity Framework Core Integration",
+ "path": "Best-Practices/Entity-Framework-Core-Integration.md"
+ },
+ {
+ "text": "MongoDB Integration",
+ "path": "Best-Practices/MongoDB-Integration.md"
+ }
+ ]
+ }
+ ]
}
]
},
@@ -400,6 +495,10 @@
"text": "Entities & Aggregate Roots",
"path": "Entities.md"
},
+ {
+ "text": "Multi Lingual Entities",
+ "path": "Multi-Lingual-Entities.md"
+ },
{
"text": "Value Objects",
"path": "Value-Objects.md"
@@ -627,6 +726,18 @@
{
"text": "Customize/Extend the UI",
"path": "UI/AspNetCore/Customization-User-Interface.md"
+ },
+ {
+ "text": "Entity Action Extensions",
+ "path": "UI/AspNetCore/Entity-Action-Extensions.md"
+ },
+ {
+ "text": "Data Table Column Extensions",
+ "path": "UI/AspNetCore/Data-Table-Column-Extensions.md"
+ },
+ {
+ "text": "Page Toolbar Extensions",
+ "path": "UI/AspNetCore/Page-Toolbar-Extensions.md"
}
]
},
@@ -813,6 +924,10 @@
{
"text": "Multi Tenancy",
"path": "UI/Angular/Multi-Tenancy.md"
+ },
+ {
+ "text": "Account Module",
+ "path": "UI/Angular/Account-Module"
}
]
},
@@ -866,12 +981,36 @@
{
"text": "Ellipsis",
"path": "UI/Angular/Ellipsis-Directive.md"
+ },
+ {
+ "text": "Context Strategy",
+ "path": "UI/Angular/Context-Strategy.md"
+ },
+ {
+ "text": "Cross Origin Strategy",
+ "path": "UI/Angular/Cross-Origin-Strategy.md"
+ },
+ {
+ "text": "Dom Strategy",
+ "path": "UI/Angular/Dom-Strategy.md"
+ },
+ {
+ "text": "Container Strategy",
+ "path": "UI/Angular/Container-Strategy.md"
+ },
+ {
+ "text": "Content Security Strategy",
+ "path": "UI/Angular/Content-Security-Strategy.md"
}
]
},
{
"text": "Customization",
"items": [
+ {
+ "text": "Customization Guide",
+ "path": "UI/Angular/Customization-User-Interface.md"
+ },
{
"text": "Modifying the Menu",
"path": "UI/Angular/Modifying-the-Menu.md"
@@ -930,6 +1069,10 @@
{
"text": "Common",
"items": [
+ {
+ "text": "Overriding the User Interface",
+ "path": "Customizing-Application-Modules-Overriding-User-Interface.md"
+ },
{
"text": "Utilities",
"items": [
@@ -972,7 +1115,17 @@
},
{
"text": "To Oracle",
- "path": "Entity-Framework-Core-Oracle.md"
+ "path": "Entity-Framework-Core-Oracle.md",
+ "items": [
+ {
+ "text": "Oracle",
+ "path": "Entity-Framework-Core-Oracle-Official.md"
+ },
+ {
+ "text": "Oracle Devart",
+ "path": "Entity-Framework-Core-Oracle-Devart.md"
+ }
+ ]
},
{
"text": "To SQLite",
@@ -1100,7 +1253,56 @@
},
{
"text": "Migration Guides",
- "path": "Migration-Guides/Index.md"
+ "path": "Migration-Guides/Index.md",
+ "items": [
+ {
+ "text": "MVC / Razor Pages",
+ "items": [
+ {
+ "text": "3.3 to 4.0",
+ "path": "Migration-Guides/Abp-4_0-MVC-Razor-Pages.md"
+ }
+ ]
+ },
+ {
+ "text": "Blazor",
+ "items": [
+ {
+ "text": "3.2 to 3.3",
+ "path": "Migration-Guides/BlazorUI-3_3.md"
+ },
+ {
+ "text": "3.3 to 4.0",
+ "path": "Migration-Guides/Abp-4_0-Blazor.md"
+ }
+ ]
+ },
+ {
+ "text": "Angular",
+ "items": [
+ {
+ "text": "3.3 to 4.0",
+ "path": "Migration-Guides/Abp-4_0-Angular.md"
+ }
+ ]
+ },
+ {
+ "text": "3.3 to 4.0",
+ "path": "Migration-Guides/Abp-4_0.md"
+ },
+ {
+ "text": "4.2",
+ "path": "Migration-Guides/Abp-4_2.md"
+ },
+ {
+ "text": "4.x to 4.3",
+ "path": "Migration-Guides/Abp-4_3.md"
+ },
+ {
+ "text": "Upgrading the Startup Template",
+ "path": "Migration-Guides/Upgrading-Startup-Template.md"
+ }
+ ]
}
]
},
diff --git a/docs/en/images/hello-template-razor.png b/docs/en/images/hello-template-razor.png
new file mode 100644
index 0000000000..1e0e39fcec
Binary files /dev/null and b/docs/en/images/hello-template-razor.png differ
diff --git a/docs/en/images/multiple-file-template-razor.png b/docs/en/images/multiple-file-template-razor.png
new file mode 100644
index 0000000000..85f87e84f4
Binary files /dev/null and b/docs/en/images/multiple-file-template-razor.png differ
diff --git a/docs/en/images/replace-email-layout-razor.png b/docs/en/images/replace-email-layout-razor.png
new file mode 100644
index 0000000000..84ff6c1080
Binary files /dev/null and b/docs/en/images/replace-email-layout-razor.png differ
diff --git a/docs/zh-Hans/Value-Objects.md b/docs/zh-Hans/Value-Objects.md
index 6735074fd4..c5dd929ff2 100644
--- a/docs/zh-Hans/Value-Objects.md
+++ b/docs/zh-Hans/Value-Objects.md
@@ -1,3 +1,75 @@
-## Value Objects
+## 值对象
- TODO
\ No newline at end of file
+> 一个对象,表示领域的描述方面,没有概念上的身份被称为 值对象.
+>
+> (Eric Evans)
+
+属性相同但`Id`不同的两个[实体](https://docs.abp.io/zh-Hans/abp/latest/Entities) 被视为不同的实体.但是,值对象没有`Id`
+
+## 值对象的类
+
+值对象是一个抽象类,可以继承它来创建值对象类
+
+**示例: An Address class**
+
+```csharp
+public class Address : ValueObject
+{
+ public Guid CityId { get; private set; }
+
+ public string Street { get; private set; }
+
+ public int Number { get; private set; }
+
+ private Address()
+ {
+
+ }
+
+ public Address(
+ Guid cityId,
+ string street,
+ int number)
+ {
+ CityId = cityId;
+ Street = street;
+ Number = number;
+ }
+
+ protected override IEnumerable
diff --git a/framework/src/Volo.Abp.EntityFrameworkCore.Oracle.Devart/Volo.Abp.EntityFrameworkCore.Oracle.Devart.csproj b/framework/src/Volo.Abp.EntityFrameworkCore.Oracle.Devart/Volo.Abp.EntityFrameworkCore.Oracle.Devart.csproj
index 8c1f0cdec3..900a84eca6 100644
--- a/framework/src/Volo.Abp.EntityFrameworkCore.Oracle.Devart/Volo.Abp.EntityFrameworkCore.Oracle.Devart.csproj
+++ b/framework/src/Volo.Abp.EntityFrameworkCore.Oracle.Devart/Volo.Abp.EntityFrameworkCore.Oracle.Devart.csproj
@@ -19,7 +19,7 @@
-
+
diff --git a/framework/src/Volo.Abp.EntityFrameworkCore/Volo/Abp/EntityFrameworkCore/AbpDbContextOptions.cs b/framework/src/Volo.Abp.EntityFrameworkCore/Volo/Abp/EntityFrameworkCore/AbpDbContextOptions.cs
index 92c6935900..75dd6a5dc4 100644
--- a/framework/src/Volo.Abp.EntityFrameworkCore/Volo/Abp/EntityFrameworkCore/AbpDbContextOptions.cs
+++ b/framework/src/Volo.Abp.EntityFrameworkCore/Volo/Abp/EntityFrameworkCore/AbpDbContextOptions.cs
@@ -39,6 +39,11 @@ namespace Volo.Abp.EntityFrameworkCore
DefaultConfigureAction = action;
}
+ public bool IsConfiguredDefault()
+ {
+ return DefaultConfigureAction != null;
+ }
+
public void PreConfigure([NotNull] Action> action)
where TDbContext : AbpDbContext
{
@@ -60,6 +65,16 @@ namespace Volo.Abp.EntityFrameworkCore
ConfigureActions[typeof(TDbContext)] = action;
}
+
+ public bool IsConfigured()
+ {
+ return IsConfigured(typeof(TDbContext));
+ }
+
+ public bool IsConfigured(Type dbContextType)
+ {
+ return ConfigureActions.ContainsKey(dbContextType);
+ }
internal Type GetReplacedTypeOrSelf(Type dbContextType)
{
diff --git a/framework/src/Volo.Abp.EntityFrameworkCore/Volo/Abp/Uow/EntityFrameworkCore/UnitOfWorkDbContextProvider.cs b/framework/src/Volo.Abp.EntityFrameworkCore/Volo/Abp/Uow/EntityFrameworkCore/UnitOfWorkDbContextProvider.cs
index 2fa56b550b..e5e4c2584a 100644
--- a/framework/src/Volo.Abp.EntityFrameworkCore/Volo/Abp/Uow/EntityFrameworkCore/UnitOfWorkDbContextProvider.cs
+++ b/framework/src/Volo.Abp.EntityFrameworkCore/Volo/Abp/Uow/EntityFrameworkCore/UnitOfWorkDbContextProvider.cs
@@ -62,10 +62,9 @@ namespace Volo.Abp.Uow.EntityFrameworkCore
throw new AbpException("A DbContext can only be created inside a unit of work!");
}
- var connectionStringName = ConnectionStringNameAttribute.GetConnStringName();
- var connectionString = ResolveConnectionString(connectionStringName);
-
var targetDbContextType = _options.GetReplacedTypeOrSelf(typeof(TDbContext));
+ var connectionStringName = ConnectionStringNameAttribute.GetConnStringName(targetDbContextType);
+ var connectionString = ResolveConnectionString(connectionStringName);
var dbContextKey = $"{targetDbContextType.FullName}_{connectionString}";
var databaseApi = unitOfWork.GetOrAddDatabaseApi(
@@ -85,10 +84,10 @@ namespace Volo.Abp.Uow.EntityFrameworkCore
throw new AbpException("A DbContext can only be created inside a unit of work!");
}
- var connectionStringName = ConnectionStringNameAttribute.GetConnStringName();
+ var targetDbContextType = _options.GetReplacedTypeOrSelf(typeof(TDbContext));
+ var connectionStringName = ConnectionStringNameAttribute.GetConnStringName(targetDbContextType);
var connectionString = await ResolveConnectionStringAsync(connectionStringName);
- var targetDbContextType = _options.GetReplacedTypeOrSelf(typeof(TDbContext));
var dbContextKey = $"{targetDbContextType.FullName}_{connectionString}";
var databaseApi = unitOfWork.FindDatabaseApi(dbContextKey);
diff --git a/framework/src/Volo.Abp.ExceptionHandling/Volo/Abp/ExceptionHandling/Localization/fi.json b/framework/src/Volo.Abp.ExceptionHandling/Volo/Abp/ExceptionHandling/Localization/fi.json
new file mode 100644
index 0000000000..03f1ce3b5c
--- /dev/null
+++ b/framework/src/Volo.Abp.ExceptionHandling/Volo/Abp/ExceptionHandling/Localization/fi.json
@@ -0,0 +1,25 @@
+{
+ "culture": "fi",
+ "texts": {
+ "InternalServerErrorMessage": "Pyynnön aikana tapahtui sisäinen virhe!",
+ "ValidationErrorMessage": "Pyyntösi ei kelpaa!",
+ "ValidationNarrativeErrorMessageTitle": "Seuraavat virheet havaittiin validoinnin aikana.",
+ "DefaultErrorMessage": "Tapahtui virhe!",
+ "DefaultErrorMessageDetail": "Palvelin ei lähettänyt virhetietoja.",
+ "DefaultErrorMessage401": "Sinua ei ole todennettu!",
+ "DefaultErrorMessage401Detail": "Suorita tämä toimenpide kirjautumalla sisään.",
+ "DefaultErrorMessage403": "Sinulla ei ole valtuuksia!",
+ "DefaultErrorMessage403Detail": "Et saa suorittaa tätä toimintoa!",
+ "DefaultErrorMessage404": "Resurssia ei löydy!",
+ "DefaultErrorMessage404Detail": "Pyydettyä resurssia ei löytynyt palvelimelta!",
+ "EntityNotFoundErrorMessage": "Ei ole olemassa kohdetta {0}, jonka tunnus = {1}!",
+ "Error": "Virhe",
+ "UnhandledException": "Käsittelemätön poikkeus!",
+ "401Message": "Luvaton",
+ "403Message": "Kielletty",
+ "404Message": "Sivua ei löydetty",
+ "500Message": "Sisäinen palvelinvirhe",
+ "403MessageDetail": "Sinulla ei ole oikeutta suorittaa tätä toimintoa!",
+ "404MessageDetail": "Valitettavasti tässä osoitteessa ei ole mitään."
+ }
+}
\ No newline at end of file
diff --git a/framework/src/Volo.Abp.ExceptionHandling/Volo/Abp/ExceptionHandling/Localization/fr.json b/framework/src/Volo.Abp.ExceptionHandling/Volo/Abp/ExceptionHandling/Localization/fr.json
index f1c9713e65..cdbd620313 100644
--- a/framework/src/Volo.Abp.ExceptionHandling/Volo/Abp/ExceptionHandling/Localization/fr.json
+++ b/framework/src/Volo.Abp.ExceptionHandling/Volo/Abp/ExceptionHandling/Localization/fr.json
@@ -18,6 +18,8 @@
"401Message": "Non autorisé",
"403Message": "Interdit",
"404Message": "Page introuvable",
- "500Message": "Erreur Interne du Serveur"
+ "500Message": "Erreur Interne du Serveur",
+ "403MessageDetail": "Vous n'êtes pas autorisé à effectuer cette opération!",
+ "404MessageDetail": "Désolé, il n'y a rien à cette adresse."
}
-}
+}
\ No newline at end of file
diff --git a/framework/src/Volo.Abp.Features/Volo/Abp/Features/FeatureSimpleStateCheckerExtensions.cs b/framework/src/Volo.Abp.Features/Volo/Abp/Features/FeatureSimpleStateCheckerExtensions.cs
new file mode 100644
index 0000000000..d06e55effa
--- /dev/null
+++ b/framework/src/Volo.Abp.Features/Volo/Abp/Features/FeatureSimpleStateCheckerExtensions.cs
@@ -0,0 +1,30 @@
+using JetBrains.Annotations;
+using Volo.Abp.SimpleStateChecking;
+
+namespace Volo.Abp.Features
+{
+ public static class FeatureSimpleStateCheckerExtensions
+ {
+ public static TState RequireFeatures(
+ [NotNull] this TState state,
+ params string[] features)
+ where TState : IHasSimpleStateCheckers
+ {
+ state.RequireFeatures(true, features);
+ return state;
+ }
+
+ public static TState RequireFeatures(
+ [NotNull] this TState state,
+ bool requiresAll,
+ params string[] features)
+ where TState : IHasSimpleStateCheckers
+ {
+ Check.NotNull(state, nameof(state));
+ Check.NotNullOrEmpty(features, nameof(features));
+
+ state.StateCheckers.Add(new RequireFeaturesSimpleStateChecker(requiresAll, features));
+ return state;
+ }
+ }
+}
diff --git a/framework/src/Volo.Abp.Features/Volo/Abp/Features/Localization/FR.json b/framework/src/Volo.Abp.Features/Volo/Abp/Features/Localization/FR.json
new file mode 100644
index 0000000000..19fb314868
--- /dev/null
+++ b/framework/src/Volo.Abp.Features/Volo/Abp/Features/Localization/FR.json
@@ -0,0 +1,8 @@
+{
+ "culture": "fr",
+ "texts": {
+ "Volo.Feature:010001": "La fonctionnalité n'est pas activée: {FeatureName}",
+ "Volo.Feature:010002": "Les fonctionnalités requises ne sont pas activées. Toutes ces fonctionnalités doivent être activées: {FeatureNames}",
+ "Volo.Feature:010003": "Les fonctionnalités requises ne sont pas activées. Au moins une de ces fonctionnalités doit être activée: {FeatureNames}"
+ }
+}
\ No newline at end of file
diff --git a/framework/src/Volo.Abp.Features/Volo/Abp/Features/Localization/fi.json b/framework/src/Volo.Abp.Features/Volo/Abp/Features/Localization/fi.json
new file mode 100644
index 0000000000..4bc400d6f9
--- /dev/null
+++ b/framework/src/Volo.Abp.Features/Volo/Abp/Features/Localization/fi.json
@@ -0,0 +1,8 @@
+{
+ "culture": "fi",
+ "texts": {
+ "Volo.Feature:010001": "Ominaisuus ei ole käytössä: {FeatureName}",
+ "Volo.Feature:010002": "Vaaditut ominaisuudet eivät ole käytössä. Kaikkien näiden ominaisuuksien on oltava käytössä: {FeatureNames}",
+ "Volo.Feature:010003": "Vaaditut ominaisuudet eivät ole käytössä. Ainakin yhden näistä ominaisuuksista on oltava käytössä: {FeatureNames}"
+ }
+}
\ No newline at end of file
diff --git a/framework/src/Volo.Abp.Features/Volo/Abp/Features/PermissionDefinitionExtensions.cs b/framework/src/Volo.Abp.Features/Volo/Abp/Features/PermissionDefinitionExtensions.cs
deleted file mode 100644
index a213232f2f..0000000000
--- a/framework/src/Volo.Abp.Features/Volo/Abp/Features/PermissionDefinitionExtensions.cs
+++ /dev/null
@@ -1,28 +0,0 @@
-using JetBrains.Annotations;
-using Volo.Abp.Authorization.Permissions;
-
-namespace Volo.Abp.Features
-{
- public static class FeatureDefinitionExtensions
- {
- public static PermissionDefinition RequireFeatures(
- [NotNull] this PermissionDefinition permissionDefinition,
- params string[] features)
- {
- return permissionDefinition.RequireFeatures(true, features);
- }
-
- public static PermissionDefinition RequireFeatures(
- [NotNull] this PermissionDefinition permissionDefinition,
- bool requiresAll,
- params string[] features)
- {
- Check.NotNull(permissionDefinition, nameof(permissionDefinition));
- Check.NotNullOrEmpty(features, nameof(features));
-
- return permissionDefinition.AddStateProviders(
- new RequireFeaturesPermissionStateProvider(requiresAll, features)
- );
- }
- }
-}
diff --git a/framework/src/Volo.Abp.Features/Volo/Abp/Features/RequireFeaturesPermissionStateProvider.cs b/framework/src/Volo.Abp.Features/Volo/Abp/Features/RequireFeaturesPermissionStateProvider.cs
deleted file mode 100644
index 0fee54c598..0000000000
--- a/framework/src/Volo.Abp.Features/Volo/Abp/Features/RequireFeaturesPermissionStateProvider.cs
+++ /dev/null
@@ -1,32 +0,0 @@
-using System.Threading.Tasks;
-using Microsoft.Extensions.DependencyInjection;
-using Volo.Abp.Authorization.Permissions;
-
-namespace Volo.Abp.Features
-{
- public class RequireFeaturesPermissionStateProvider : IPermissionStateProvider
- {
- private readonly string[] _featureNames;
- private readonly bool _requiresAll;
-
- public RequireFeaturesPermissionStateProvider(params string[] featureNames)
- : this(true, featureNames)
- {
-
- }
-
- public RequireFeaturesPermissionStateProvider(bool requiresAll, params string[] featureNames)
- {
- Check.NotNullOrEmpty(featureNames, nameof(featureNames));
-
- _requiresAll = requiresAll;
- _featureNames = featureNames;
- }
-
- public async Task IsEnabledAsync(PermissionStateContext context)
- {
- var feature = context.ServiceProvider.GetRequiredService();
- return await feature.IsEnabledAsync(_requiresAll, _featureNames);
- }
- }
-}
diff --git a/framework/src/Volo.Abp.Features/Volo/Abp/Features/RequireFeaturesSimpleStateChecker.cs b/framework/src/Volo.Abp.Features/Volo/Abp/Features/RequireFeaturesSimpleStateChecker.cs
new file mode 100644
index 0000000000..1a4c028653
--- /dev/null
+++ b/framework/src/Volo.Abp.Features/Volo/Abp/Features/RequireFeaturesSimpleStateChecker.cs
@@ -0,0 +1,32 @@
+using System.Threading.Tasks;
+using Microsoft.Extensions.DependencyInjection;
+using Volo.Abp.SimpleStateChecking;
+
+namespace Volo.Abp.Features
+{
+ public class RequireFeaturesSimpleStateChecker : ISimpleStateChecker
+ where TState : IHasSimpleStateCheckers
+ {
+ private readonly string[] _featureNames;
+ private readonly bool _requiresAll;
+
+ public RequireFeaturesSimpleStateChecker(params string[] featureNames)
+ : this(true, featureNames)
+ {
+ }
+
+ public RequireFeaturesSimpleStateChecker(bool requiresAll, params string[] featureNames)
+ {
+ Check.NotNullOrEmpty(featureNames, nameof(featureNames));
+
+ _requiresAll = requiresAll;
+ _featureNames = featureNames;
+ }
+
+ public async Task IsEnabledAsync(SimpleStateCheckerContext context)
+ {
+ var featureChecker = context.ServiceProvider.GetRequiredService();
+ return await featureChecker.IsEnabledAsync(_requiresAll, _featureNames);
+ }
+ }
+}
diff --git a/framework/src/Volo.Abp.GlobalFeatures/Volo.Abp.GlobalFeatures.csproj b/framework/src/Volo.Abp.GlobalFeatures/Volo.Abp.GlobalFeatures.csproj
index 456366b542..024ec5ec17 100644
--- a/framework/src/Volo.Abp.GlobalFeatures/Volo.Abp.GlobalFeatures.csproj
+++ b/framework/src/Volo.Abp.GlobalFeatures/Volo.Abp.GlobalFeatures.csproj
@@ -20,7 +20,6 @@
-
diff --git a/framework/src/Volo.Abp.GlobalFeatures/Volo/Abp/GlobalFeatures/GlobalFeatureDefinitionExtensions.cs b/framework/src/Volo.Abp.GlobalFeatures/Volo/Abp/GlobalFeatures/GlobalFeatureDefinitionExtensions.cs
deleted file mode 100644
index 299994e695..0000000000
--- a/framework/src/Volo.Abp.GlobalFeatures/Volo/Abp/GlobalFeatures/GlobalFeatureDefinitionExtensions.cs
+++ /dev/null
@@ -1,50 +0,0 @@
-using System;
-using JetBrains.Annotations;
-using Volo.Abp.Authorization.Permissions;
-
-namespace Volo.Abp.GlobalFeatures
-{
- public static class GlobalFeatureDefinitionExtensions
- {
- public static PermissionDefinition RequireGlobalFeatures(
- this PermissionDefinition permissionDefinition,
- params string[] globalFeatures)
- {
- return permissionDefinition.RequireGlobalFeatures(true, globalFeatures);
- }
-
- public static PermissionDefinition RequireGlobalFeatures(
- [NotNull] this PermissionDefinition permissionDefinition,
- bool requiresAll,
- params string[] globalFeatures)
- {
- Check.NotNull(permissionDefinition, nameof(permissionDefinition));
- Check.NotNullOrEmpty(globalFeatures, nameof(globalFeatures));
-
- return permissionDefinition.AddStateProviders(
- new RequireGlobalFeaturesPermissionStateProvider(requiresAll, globalFeatures)
- );
- }
-
- public static PermissionDefinition RequireGlobalFeatures(
- this PermissionDefinition permissionDefinition,
- params Type[] globalFeatures)
- {
- return permissionDefinition.RequireGlobalFeatures(true, globalFeatures);
- }
-
- public static PermissionDefinition RequireGlobalFeatures(
- [NotNull] this PermissionDefinition permissionDefinition,
- bool requiresAll,
- params Type[] globalFeatures)
- {
- Check.NotNull(permissionDefinition, nameof(permissionDefinition));
- Check.NotNullOrEmpty(globalFeatures, nameof(globalFeatures));
-
- return permissionDefinition.AddStateProviders(
- new RequireGlobalFeaturesPermissionStateProvider(requiresAll, globalFeatures)
- );
- }
-
- }
-}
diff --git a/framework/src/Volo.Abp.GlobalFeatures/Volo/Abp/GlobalFeatures/GlobalFeatureSimpleStateCheckerExtensions.cs b/framework/src/Volo.Abp.GlobalFeatures/Volo/Abp/GlobalFeatures/GlobalFeatureSimpleStateCheckerExtensions.cs
new file mode 100644
index 0000000000..f18f3d1569
--- /dev/null
+++ b/framework/src/Volo.Abp.GlobalFeatures/Volo/Abp/GlobalFeatures/GlobalFeatureSimpleStateCheckerExtensions.cs
@@ -0,0 +1,51 @@
+using System;
+using JetBrains.Annotations;
+using Volo.Abp.SimpleStateChecking;
+
+namespace Volo.Abp.GlobalFeatures
+{
+ public static class GlobalFeatureSimpleStateCheckerExtensions
+ {
+ public static TState RequireGlobalFeatures(
+ [NotNull] this TState state,
+ params string[] globalFeatures)
+ where TState : IHasSimpleStateCheckers
+ {
+ return state.RequireGlobalFeatures(true, globalFeatures);
+ }
+
+ public static TState RequireGlobalFeatures(
+ [NotNull] this TState state,
+ bool requiresAll,
+ params string[] globalFeatures)
+ where TState : IHasSimpleStateCheckers
+ {
+ Check.NotNull(state, nameof(state));
+ Check.NotNullOrEmpty(globalFeatures, nameof(globalFeatures));
+
+ state.StateCheckers.Add(new RequireGlobalFeaturesSimpleStateChecker(requiresAll, globalFeatures));
+ return state;
+ }
+
+ public static TState RequireGlobalFeatures(
+ [NotNull] this TState state,
+ params Type[] globalFeatures)
+ where TState : IHasSimpleStateCheckers
+ {
+ return state.RequireGlobalFeatures(true, globalFeatures);
+ }
+
+ public static TState RequireGlobalFeatures(
+ [NotNull] this TState state,
+ bool requiresAll,
+ params Type[] globalFeatures)
+ where TState : IHasSimpleStateCheckers
+ {
+ Check.NotNull(state, nameof(state));
+ Check.NotNullOrEmpty(globalFeatures, nameof(globalFeatures));
+
+ state.StateCheckers.Add(new RequireGlobalFeaturesSimpleStateChecker(requiresAll, globalFeatures));
+ return state;
+ }
+ }
+}
diff --git a/framework/src/Volo.Abp.GlobalFeatures/Volo/Abp/GlobalFeatures/Localization/FR.json b/framework/src/Volo.Abp.GlobalFeatures/Volo/Abp/GlobalFeatures/Localization/FR.json
new file mode 100644
index 0000000000..8062337807
--- /dev/null
+++ b/framework/src/Volo.Abp.GlobalFeatures/Volo/Abp/GlobalFeatures/Localization/FR.json
@@ -0,0 +1,6 @@
+{
+ "culture": "fr",
+ "texts": {
+ "Volo.GlobalFeature:010001": "Le service \"{ServiceName}\" doit activer la fonction \"{GlobalFeatureName}\"."
+ }
+}
\ No newline at end of file
diff --git a/framework/src/Volo.Abp.GlobalFeatures/Volo/Abp/GlobalFeatures/Localization/fi.json b/framework/src/Volo.Abp.GlobalFeatures/Volo/Abp/GlobalFeatures/Localization/fi.json
new file mode 100644
index 0000000000..b842a7e3a4
--- /dev/null
+++ b/framework/src/Volo.Abp.GlobalFeatures/Volo/Abp/GlobalFeatures/Localization/fi.json
@@ -0,0 +1,6 @@
+{
+ "culture": "fi",
+ "texts": {
+ "Volo.GlobalFeature:010001": "Palvelun {ServiceName} on oltava käytössä {GlobalFeatureName} -ominaisuus."
+ }
+}
\ No newline at end of file
diff --git a/framework/src/Volo.Abp.GlobalFeatures/Volo/Abp/GlobalFeatures/Localization/nl.json b/framework/src/Volo.Abp.GlobalFeatures/Volo/Abp/GlobalFeatures/Localization/nl.json
new file mode 100644
index 0000000000..449c09efd6
--- /dev/null
+++ b/framework/src/Volo.Abp.GlobalFeatures/Volo/Abp/GlobalFeatures/Localization/nl.json
@@ -0,0 +1,6 @@
+{
+ "culture": "nl",
+ "texts": {
+ "Volo.GlobalFeature:010001": "De service '{ServiceName}' moet de functie '{GlobalFeatureName}' inschakelen."
+ }
+}
\ No newline at end of file
diff --git a/framework/src/Volo.Abp.GlobalFeatures/Volo/Abp/GlobalFeatures/RequireGlobalFeaturesPermissionStateProvider.cs b/framework/src/Volo.Abp.GlobalFeatures/Volo/Abp/GlobalFeatures/RequireGlobalFeaturesSimpleStateChecker.cs
similarity index 61%
rename from framework/src/Volo.Abp.GlobalFeatures/Volo/Abp/GlobalFeatures/RequireGlobalFeaturesPermissionStateProvider.cs
rename to framework/src/Volo.Abp.GlobalFeatures/Volo/Abp/GlobalFeatures/RequireGlobalFeaturesSimpleStateChecker.cs
index c96e652e8c..12754d87df 100644
--- a/framework/src/Volo.Abp.GlobalFeatures/Volo/Abp/GlobalFeatures/RequireGlobalFeaturesPermissionStateProvider.cs
+++ b/framework/src/Volo.Abp.GlobalFeatures/Volo/Abp/GlobalFeatures/RequireGlobalFeaturesSimpleStateChecker.cs
@@ -1,21 +1,22 @@
using System;
using System.Linq;
using System.Threading.Tasks;
-using Volo.Abp.Authorization.Permissions;
+using Volo.Abp.SimpleStateChecking;
namespace Volo.Abp.GlobalFeatures
{
- public class RequireGlobalFeaturesPermissionStateProvider : IPermissionStateProvider
+ public class RequireGlobalFeaturesSimpleStateChecker : ISimpleStateChecker
+ where TState : IHasSimpleStateCheckers
{
private readonly string[] _globalFeatureNames;
private readonly bool _requiresAll;
- public RequireGlobalFeaturesPermissionStateProvider(params string[] globalFeatureNames)
+ public RequireGlobalFeaturesSimpleStateChecker(params string[] globalFeatureNames)
: this(true, globalFeatureNames)
{
}
- public RequireGlobalFeaturesPermissionStateProvider(bool requiresAll, params string[] globalFeatureNames)
+ public RequireGlobalFeaturesSimpleStateChecker(bool requiresAll, params string[] globalFeatureNames)
{
Check.NotNullOrEmpty(globalFeatureNames, nameof(globalFeatureNames));
@@ -23,7 +24,7 @@ namespace Volo.Abp.GlobalFeatures
_globalFeatureNames = globalFeatureNames;
}
- public RequireGlobalFeaturesPermissionStateProvider(bool requiresAll, params Type[] globalFeatureNames)
+ public RequireGlobalFeaturesSimpleStateChecker(bool requiresAll, params Type[] globalFeatureNames)
{
Check.NotNullOrEmpty(globalFeatureNames, nameof(globalFeatureNames));
@@ -31,9 +32,9 @@ namespace Volo.Abp.GlobalFeatures
_globalFeatureNames = globalFeatureNames.Select(GlobalFeatureNameAttribute.GetName).ToArray();
}
- public Task IsEnabledAsync(PermissionStateContext context)
+ public Task IsEnabledAsync(SimpleStateCheckerContext context)
{
- bool isEnabled = _requiresAll
+ var isEnabled = _requiresAll
? _globalFeatureNames.All(x => GlobalFeatureManager.Instance.IsEnabled(x))
: _globalFeatureNames.Any(x => GlobalFeatureManager.Instance.IsEnabled(x));
diff --git a/framework/src/Volo.Abp.Http.Client.IdentityModel.WebAssembly/Volo/Abp/Http/Client/IdentityModel/WebAssembly/AccessTokenProviderIdentityModelRemoteServiceHttpClientAuthenticator.cs b/framework/src/Volo.Abp.Http.Client.IdentityModel.WebAssembly/Volo/Abp/Http/Client/IdentityModel/WebAssembly/AccessTokenProviderIdentityModelRemoteServiceHttpClientAuthenticator.cs
index c86fc095c7..3f74918d98 100644
--- a/framework/src/Volo.Abp.Http.Client.IdentityModel.WebAssembly/Volo/Abp/Http/Client/IdentityModel/WebAssembly/AccessTokenProviderIdentityModelRemoteServiceHttpClientAuthenticator.cs
+++ b/framework/src/Volo.Abp.Http.Client.IdentityModel.WebAssembly/Volo/Abp/Http/Client/IdentityModel/WebAssembly/AccessTokenProviderIdentityModelRemoteServiceHttpClientAuthenticator.cs
@@ -1,6 +1,9 @@
-using System.Threading.Tasks;
+using System;
+using System.Threading.Tasks;
using IdentityModel.Client;
+using JetBrains.Annotations;
using Microsoft.AspNetCore.Components.WebAssembly.Authentication;
+using Microsoft.Extensions.DependencyInjection;
using Volo.Abp.DependencyInjection;
using Volo.Abp.Http.Client.Authentication;
using Volo.Abp.IdentityModel;
@@ -8,16 +11,18 @@ using Volo.Abp.IdentityModel;
namespace Volo.Abp.Http.Client.IdentityModel.WebAssembly
{
[Dependency(ReplaceServices = true)]
- public class AccessTokenProviderIdentityModelRemoteServiceHttpClientAuthenticator : IdentityModelRemoteServiceHttpClientAuthenticator
+ public class AccessTokenProviderIdentityModelRemoteServiceHttpClientAuthenticator
+ : IdentityModelRemoteServiceHttpClientAuthenticator
{
+ [CanBeNull]
protected IAccessTokenProvider AccessTokenProvider { get; }
public AccessTokenProviderIdentityModelRemoteServiceHttpClientAuthenticator(
IIdentityModelAuthenticationService identityModelAuthenticationService,
- IAccessTokenProvider accessTokenProvider)
+ IServiceProvider serviceProvider)
: base(identityModelAuthenticationService)
{
- AccessTokenProvider = accessTokenProvider;
+ AccessTokenProvider = serviceProvider.GetService();
}
public override async Task Authenticate(RemoteServiceHttpClientAuthenticateContext context)
@@ -37,6 +42,11 @@ namespace Volo.Abp.Http.Client.IdentityModel.WebAssembly
protected virtual async Task GetAccessTokenFromAccessTokenProviderOrNullAsync()
{
+ if (AccessTokenProvider == null)
+ {
+ return null;
+ }
+
var result = await AccessTokenProvider.RequestAccessToken();
if (result.Status != AccessTokenResultStatus.Success)
{
diff --git a/framework/src/Volo.Abp.Http.Client/Volo/Abp/Http/Client/DynamicProxying/UrlBuilder.cs b/framework/src/Volo.Abp.Http.Client/Volo/Abp/Http/Client/DynamicProxying/UrlBuilder.cs
index 5bee246bd0..4d77423c7f 100644
--- a/framework/src/Volo.Abp.Http.Client/Volo/Abp/Http/Client/DynamicProxying/UrlBuilder.cs
+++ b/framework/src/Volo.Abp.Http.Client/Volo/Abp/Http/Client/DynamicProxying/UrlBuilder.cs
@@ -15,12 +15,18 @@ namespace Volo.Abp.Http.Client.DynamicProxying
{
public static string GenerateUrlWithParameters(ActionApiDescriptionModel action, IReadOnlyDictionary methodArguments, ApiVersionInfo apiVersion)
{
- var urlBuilder = new StringBuilder(action.Url);
+ // The ASP.NET Core route value provider and query string value provider:
+ // Treat values as invariant culture.
+ // Expect that URLs are culture-invariant.
+ using (CultureHelper.Use(CultureInfo.InvariantCulture))
+ {
+ var urlBuilder = new StringBuilder(action.Url);
- ReplacePathVariables(urlBuilder, action.Parameters, methodArguments, apiVersion);
- AddQueryStringParameters(urlBuilder, action.Parameters, methodArguments, apiVersion);
+ ReplacePathVariables(urlBuilder, action.Parameters, methodArguments, apiVersion);
+ AddQueryStringParameters(urlBuilder, action.Parameters, methodArguments, apiVersion);
- return urlBuilder.ToString();
+ return urlBuilder.ToString();
+ }
}
private static void ReplacePathVariables(StringBuilder urlBuilder, IList actionParameters, IReadOnlyDictionary methodArguments, ApiVersionInfo apiVersion)
@@ -128,15 +134,12 @@ namespace Volo.Abp.Http.Client.DynamicProxying
private static string ConvertValueToString([NotNull] object value)
{
- using (CultureHelper.Use(CultureInfo.InvariantCulture))
+ if (value is DateTime dateTimeValue)
{
- if (value is DateTime dateTimeValue)
- {
- return dateTimeValue.ToUniversalTime().ToString("u");
- }
-
- return value.ToString();
+ return dateTimeValue.ToUniversalTime().ToString("O");
}
+
+ return value.ToString();
}
}
}
diff --git a/framework/src/Volo.Abp.Http/Volo/Abp/Http/ProxyScripting/Generators/ProxyScriptingHelper.cs b/framework/src/Volo.Abp.Http/Volo/Abp/Http/ProxyScripting/Generators/ProxyScriptingHelper.cs
index 700dc4e290..2568ccbb1c 100644
--- a/framework/src/Volo.Abp.Http/Volo/Abp/Http/ProxyScripting/Generators/ProxyScriptingHelper.cs
+++ b/framework/src/Volo.Abp.Http/Volo/Abp/Http/ProxyScripting/Generators/ProxyScriptingHelper.cs
@@ -1,7 +1,9 @@
using System;
using System.Collections.Generic;
+using System.Globalization;
using System.Linq;
using Volo.Abp.Http.Modeling;
+using Volo.Abp.Localization;
namespace Volo.Abp.Http.ProxyScripting.Generators
{
@@ -11,10 +13,16 @@ namespace Volo.Abp.Http.ProxyScripting.Generators
public static string GenerateUrlWithParameters(ActionApiDescriptionModel action)
{
- //TODO: Can be optimized using StringBuilder?
- var url = ReplacePathVariables(action.Url, action.Parameters);
- url = AddQueryStringParameters(url, action.Parameters);
- return url;
+ // The ASP.NET Core route value provider and query string value provider:
+ // Treat values as invariant culture.
+ // Expect that URLs are culture-invariant.
+ using (CultureHelper.Use(CultureInfo.InvariantCulture))
+ {
+ //TODO: Can be optimized using StringBuilder?
+ var url = ReplacePathVariables(action.Url, action.Parameters);
+ url = AddQueryStringParameters(url, action.Parameters);
+ return url;
+ }
}
public static string GenerateHeaders(ActionApiDescriptionModel action, int indent = 0)
diff --git a/framework/src/Volo.Abp.Ldap/Volo/Abp/Ldap/Localization/fi.json b/framework/src/Volo.Abp.Ldap/Volo/Abp/Ldap/Localization/fi.json
new file mode 100644
index 0000000000..953f4491db
--- /dev/null
+++ b/framework/src/Volo.Abp.Ldap/Volo/Abp/Ldap/Localization/fi.json
@@ -0,0 +1,15 @@
+{
+ "culture": "fi",
+ "texts": {
+ "DisplayName:Abp.Ldap.ServerHost": "Palvelimen isäntä",
+ "Description:Abp.Ldap.ServerHost": "Palvelimen isäntä",
+ "DisplayName:Abp.Ldap.ServerPort": "Palvelimen portti",
+ "Description:Abp.Ldap.ServerPort": "Palvelimen portti",
+ "DisplayName:Abp.Ldap.BaseDc": "Perustoimialueen komponentti",
+ "Description:Abp.Ldap.BaseDc": "Perustoimialueen komponentti",
+ "DisplayName:Abp.Ldap.UserName": "Käyttäjätunnus",
+ "Description:Abp.Ldap.UserName": "Käyttäjätunnus",
+ "DisplayName:Abp.Ldap.Password": "Salasana",
+ "Description:Abp.Ldap.Password": "Salasana"
+ }
+}
\ No newline at end of file
diff --git a/framework/src/Volo.Abp.Localization/Volo/Abp/Localization/Resources/AbpLocalization/fi.json b/framework/src/Volo.Abp.Localization/Volo/Abp/Localization/Resources/AbpLocalization/fi.json
new file mode 100644
index 0000000000..19b96532de
--- /dev/null
+++ b/framework/src/Volo.Abp.Localization/Volo/Abp/Localization/Resources/AbpLocalization/fi.json
@@ -0,0 +1,7 @@
+{
+ "culture": "fi",
+ "texts": {
+ "DisplayName:Abp.Localization.DefaultLanguage": "Oletuskieli",
+ "Description:Abp.Localization.DefaultLanguage": "Sovelluksen oletuskieli."
+ }
+}
\ No newline at end of file
diff --git a/framework/src/Volo.Abp.Localization/Volo/Abp/Localization/VirtualFiles/VirtualFileLocalizationResourceContributorBase.cs b/framework/src/Volo.Abp.Localization/Volo/Abp/Localization/VirtualFiles/VirtualFileLocalizationResourceContributorBase.cs
index c42036d1cd..5667d7de4d 100644
--- a/framework/src/Volo.Abp.Localization/Volo/Abp/Localization/VirtualFiles/VirtualFileLocalizationResourceContributorBase.cs
+++ b/framework/src/Volo.Abp.Localization/Volo/Abp/Localization/VirtualFiles/VirtualFileLocalizationResourceContributorBase.cs
@@ -22,17 +22,17 @@ namespace Volo.Abp.Localization.VirtualFiles
_virtualPath = virtualPath;
}
- public void Initialize(LocalizationResourceInitializationContext context)
+ public virtual void Initialize(LocalizationResourceInitializationContext context)
{
_virtualFileProvider = context.ServiceProvider.GetRequiredService();
}
- public LocalizedString GetOrNull(string cultureName, string name)
+ public virtual LocalizedString GetOrNull(string cultureName, string name)
{
return GetDictionaries().GetOrDefault(cultureName)?.GetOrNull(name);
}
- public void Fill(string cultureName, Dictionary dictionary)
+ public virtual void Fill(string cultureName, Dictionary dictionary)
{
GetDictionaries().GetOrDefault(cultureName)?.Fill(dictionary);
}
@@ -105,4 +105,4 @@ namespace Volo.Abp.Localization.VirtualFiles
protected abstract ILocalizationDictionary CreateDictionaryFromFileContent(string fileContent);
}
-}
\ No newline at end of file
+}
diff --git a/framework/src/Volo.Abp.MongoDB/Volo/Abp/Uow/MongoDB/UnitOfWorkMongoDbContextProvider.cs b/framework/src/Volo.Abp.MongoDB/Volo/Abp/Uow/MongoDB/UnitOfWorkMongoDbContextProvider.cs
index a26307234d..2a3842441f 100644
--- a/framework/src/Volo.Abp.MongoDB/Volo/Abp/Uow/MongoDB/UnitOfWorkMongoDbContextProvider.cs
+++ b/framework/src/Volo.Abp.MongoDB/Volo/Abp/Uow/MongoDB/UnitOfWorkMongoDbContextProvider.cs
@@ -62,8 +62,8 @@ namespace Volo.Abp.Uow.MongoDB
$"A {nameof(IMongoDatabase)} instance can only be created inside a unit of work!");
}
- var connectionString = ResolveConnectionString();
var targetDbContextType = _options.GetReplacedTypeOrSelf(typeof(TMongoDbContext));
+ var connectionString = ResolveConnectionString(targetDbContextType);
var dbContextKey = $"{targetDbContextType.FullName}_{connectionString}";
var mongoUrl = new MongoUrl(connectionString);
@@ -90,8 +90,8 @@ namespace Volo.Abp.Uow.MongoDB
$"A {nameof(IMongoDatabase)} instance can only be created inside a unit of work!");
}
- var connectionString = await ResolveConnectionStringAsync();
var targetDbContextType = _options.GetReplacedTypeOrSelf(typeof(TMongoDbContext));
+ var connectionString = await ResolveConnectionStringAsync(targetDbContextType);
var dbContextKey = $"{targetDbContextType.FullName}_{connectionString}";
var mongoUrl = new MongoUrl(connectionString);
@@ -244,33 +244,33 @@ namespace Volo.Abp.Uow.MongoDB
return dbContext;
}
- private async Task ResolveConnectionStringAsync()
+ private async Task ResolveConnectionStringAsync(Type dbContextType)
{
// Multi-tenancy unaware contexts should always use the host connection string
if (typeof(TMongoDbContext).IsDefined(typeof(IgnoreMultiTenancyAttribute), false))
{
using (_currentTenant.Change(null))
{
- return await _connectionStringResolver.ResolveAsync();
+ return await _connectionStringResolver.ResolveAsync(dbContextType);
}
}
- return await _connectionStringResolver.ResolveAsync();
+ return await _connectionStringResolver.ResolveAsync(dbContextType);
}
[Obsolete("Use ResolveConnectionStringAsync method.")]
- private string ResolveConnectionString()
+ private string ResolveConnectionString(Type dbContextType)
{
// Multi-tenancy unaware contexts should always use the host connection string
if (typeof(TMongoDbContext).IsDefined(typeof(IgnoreMultiTenancyAttribute), false))
{
using (_currentTenant.Change(null))
{
- return _connectionStringResolver.Resolve();
+ return _connectionStringResolver.Resolve(dbContextType);
}
}
- return _connectionStringResolver.Resolve();
+ return _connectionStringResolver.Resolve(dbContextType);
}
protected virtual CancellationToken GetCancellationToken(CancellationToken preferredValue = default)
diff --git a/framework/src/Volo.Abp.MultiTenancy/Volo/Abp/MultiTenancy/TenantConfiguration.cs b/framework/src/Volo.Abp.MultiTenancy/Volo/Abp/MultiTenancy/TenantConfiguration.cs
index e586e687c3..35b3a0e52e 100644
--- a/framework/src/Volo.Abp.MultiTenancy/Volo/Abp/MultiTenancy/TenantConfiguration.cs
+++ b/framework/src/Volo.Abp.MultiTenancy/Volo/Abp/MultiTenancy/TenantConfiguration.cs
@@ -13,12 +13,15 @@ namespace Volo.Abp.MultiTenancy
public ConnectionStrings ConnectionStrings { get; set; }
+ public bool IsActive { get; set; }
+
public TenantConfiguration()
{
-
+ IsActive = true;
}
public TenantConfiguration(Guid id, [NotNull] string name)
+ : this()
{
Check.NotNull(name, nameof(name));
diff --git a/framework/src/Volo.Abp.MultiTenancy/Volo/Abp/MultiTenancy/TenantConfigurationProvider.cs b/framework/src/Volo.Abp.MultiTenancy/Volo/Abp/MultiTenancy/TenantConfigurationProvider.cs
index 81a9c72042..1c3223828d 100644
--- a/framework/src/Volo.Abp.MultiTenancy/Volo/Abp/MultiTenancy/TenantConfigurationProvider.cs
+++ b/framework/src/Volo.Abp.MultiTenancy/Volo/Abp/MultiTenancy/TenantConfigurationProvider.cs
@@ -42,6 +42,15 @@ namespace Volo.Abp.MultiTenancy
details: "There is no tenant with the tenant id or name: " + resolveResult.TenantIdOrName
);
}
+
+ if (!tenant.IsActive)
+ {
+ throw new BusinessException(
+ code: "Volo.AbpIo.MultiTenancy:010002",
+ message: "Tenant not active!",
+ details: "The tenant is no active with the tenant id or name: " + resolveResult.TenantIdOrName
+ );
+ }
}
return tenant;
diff --git a/framework/src/Volo.Abp.Swashbuckle/Volo.Abp.Swashbuckle.csproj b/framework/src/Volo.Abp.Swashbuckle/Volo.Abp.Swashbuckle.csproj
index c7fa0a1d11..0fa70fb6dd 100644
--- a/framework/src/Volo.Abp.Swashbuckle/Volo.Abp.Swashbuckle.csproj
+++ b/framework/src/Volo.Abp.Swashbuckle/Volo.Abp.Swashbuckle.csproj
@@ -15,7 +15,7 @@
-
+
diff --git a/framework/src/Volo.Abp.TextTemplating.Core/FodyWeavers.xml b/framework/src/Volo.Abp.TextTemplating.Core/FodyWeavers.xml
new file mode 100644
index 0000000000..be0de3a908
--- /dev/null
+++ b/framework/src/Volo.Abp.TextTemplating.Core/FodyWeavers.xml
@@ -0,0 +1,3 @@
+
+
+
\ No newline at end of file
diff --git a/framework/src/Volo.Abp.TextTemplating.Core/FodyWeavers.xsd b/framework/src/Volo.Abp.TextTemplating.Core/FodyWeavers.xsd
new file mode 100644
index 0000000000..3f3946e282
--- /dev/null
+++ b/framework/src/Volo.Abp.TextTemplating.Core/FodyWeavers.xsd
@@ -0,0 +1,30 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 'true' to run assembly verification (PEVerify) on the target assembly after all weavers have been executed.
+
+
+
+
+ A comma-separated list of error codes that can be safely ignored in assembly verification.
+
+
+
+
+ 'false' to turn off automatic generation of the XML Schema file.
+
+
+
+
+
\ No newline at end of file
diff --git a/framework/src/Volo.Abp.TextTemplating.Core/Volo.Abp.TextTemplating.Core.csproj b/framework/src/Volo.Abp.TextTemplating.Core/Volo.Abp.TextTemplating.Core.csproj
new file mode 100644
index 0000000000..649bdc2912
--- /dev/null
+++ b/framework/src/Volo.Abp.TextTemplating.Core/Volo.Abp.TextTemplating.Core.csproj
@@ -0,0 +1,16 @@
+
+
+
+
+
+
+ netstandard2.0
+
+
+
+
+
+
+
+
+
diff --git a/framework/src/Volo.Abp.TextTemplating.Core/Volo/Abp/TextTemplating/AbpTemplateRenderer.cs b/framework/src/Volo.Abp.TextTemplating.Core/Volo/Abp/TextTemplating/AbpTemplateRenderer.cs
new file mode 100644
index 0000000000..4157910320
--- /dev/null
+++ b/framework/src/Volo.Abp.TextTemplating.Core/Volo/Abp/TextTemplating/AbpTemplateRenderer.cs
@@ -0,0 +1,55 @@
+using System;
+using System.Collections.Generic;
+using System.Threading.Tasks;
+using Microsoft.Extensions.DependencyInjection;
+using Microsoft.Extensions.Options;
+using Volo.Abp.DependencyInjection;
+
+namespace Volo.Abp.TextTemplating
+{
+ public class AbpTemplateRenderer : ITemplateRenderer, ITransientDependency
+ {
+ protected IServiceScopeFactory ServiceScopeFactory { get; }
+ protected ITemplateDefinitionManager TemplateDefinitionManager { get; }
+ protected AbpTextTemplatingOptions Options { get; }
+
+ public AbpTemplateRenderer(
+ IServiceScopeFactory serviceScopeFactory,
+ ITemplateDefinitionManager templateDefinitionManager,
+ IOptions options)
+ {
+ ServiceScopeFactory = serviceScopeFactory;
+ TemplateDefinitionManager = templateDefinitionManager;
+ Options = options.Value;
+ }
+
+ public virtual async Task RenderAsync(
+ string templateName,
+ object model = null,
+ string cultureName = null,
+ Dictionary globalContext = null)
+ {
+ var templateDefinition = TemplateDefinitionManager.Get(templateName);
+
+ var renderEngine = templateDefinition.RenderEngine;
+
+ if (renderEngine.IsNullOrWhiteSpace())
+ {
+ renderEngine = Options.DefaultRenderingEngine;
+ }
+
+ var providerType = Options.RenderingEngines.GetOrDefault(renderEngine);
+
+ if (providerType != null && typeof(ITemplateRenderingEngine).IsAssignableFrom(providerType))
+ {
+ using (var scope = ServiceScopeFactory.CreateScope())
+ {
+ var templateRenderingEngine = (ITemplateRenderingEngine)scope.ServiceProvider.GetRequiredService(providerType);
+ return await templateRenderingEngine.RenderAsync(templateName, model, cultureName, globalContext);
+ }
+ }
+
+ throw new AbpException("There is no rendering engine found with template name: " + templateName);
+ }
+ }
+}
diff --git a/framework/src/Volo.Abp.TextTemplating.Core/Volo/Abp/TextTemplating/AbpTextTemplatingCoreModule.cs b/framework/src/Volo.Abp.TextTemplating.Core/Volo/Abp/TextTemplating/AbpTextTemplatingCoreModule.cs
new file mode 100644
index 0000000000..8a908c2ffd
--- /dev/null
+++ b/framework/src/Volo.Abp.TextTemplating.Core/Volo/Abp/TextTemplating/AbpTextTemplatingCoreModule.cs
@@ -0,0 +1,46 @@
+using System;
+using System.Collections.Generic;
+using Microsoft.Extensions.DependencyInjection;
+using Volo.Abp.Localization;
+using Volo.Abp.Modularity;
+using Volo.Abp.VirtualFileSystem;
+
+namespace Volo.Abp.TextTemplating
+{
+ [DependsOn(
+ typeof(AbpVirtualFileSystemModule),
+ typeof(AbpLocalizationAbstractionsModule)
+ )]
+ public class AbpTextTemplatingCoreModule : AbpModule
+ {
+ public override void PreConfigureServices(ServiceConfigurationContext context)
+ {
+ AutoAddProvidersAndContributors(context.Services);
+ }
+
+ private static void AutoAddProvidersAndContributors(IServiceCollection services)
+ {
+ var definitionProviders = new List();
+ var contentContributors = new List();
+
+ services.OnRegistred(context =>
+ {
+ if (typeof(ITemplateDefinitionProvider).IsAssignableFrom(context.ImplementationType))
+ {
+ definitionProviders.Add(context.ImplementationType);
+ }
+
+ if (typeof(ITemplateContentContributor).IsAssignableFrom(context.ImplementationType))
+ {
+ contentContributors.Add(context.ImplementationType);
+ }
+ });
+
+ services.Configure(options =>
+ {
+ options.DefinitionProviders.AddIfNotContains(definitionProviders);
+ options.ContentContributors.AddIfNotContains(contentContributors);
+ });
+ }
+ }
+}
diff --git a/framework/src/Volo.Abp.TextTemplating/Volo/Abp/TextTemplating/AbpTextTemplatingOptions.cs b/framework/src/Volo.Abp.TextTemplating.Core/Volo/Abp/TextTemplating/AbpTextTemplatingOptions.cs
similarity index 63%
rename from framework/src/Volo.Abp.TextTemplating/Volo/Abp/TextTemplating/AbpTextTemplatingOptions.cs
rename to framework/src/Volo.Abp.TextTemplating.Core/Volo/Abp/TextTemplating/AbpTextTemplatingOptions.cs
index b217094974..b3e4561fb1 100644
--- a/framework/src/Volo.Abp.TextTemplating/Volo/Abp/TextTemplating/AbpTextTemplatingOptions.cs
+++ b/framework/src/Volo.Abp.TextTemplating.Core/Volo/Abp/TextTemplating/AbpTextTemplatingOptions.cs
@@ -1,4 +1,6 @@
-using Volo.Abp.Collections;
+using System;
+using System.Collections.Generic;
+using Volo.Abp.Collections;
namespace Volo.Abp.TextTemplating
{
@@ -6,11 +8,15 @@ namespace Volo.Abp.TextTemplating
{
public ITypeList DefinitionProviders { get; }
public ITypeList ContentContributors { get; }
+ public IDictionary RenderingEngines { get; }
+
+ public string DefaultRenderingEngine { get; set; }
public AbpTextTemplatingOptions()
{
DefinitionProviders = new TypeList();
ContentContributors = new TypeList();
+ RenderingEngines = new Dictionary();
}
}
-}
\ No newline at end of file
+}
diff --git a/framework/src/Volo.Abp.TextTemplating/Volo/Abp/TextTemplating/ITemplateContentContributor.cs b/framework/src/Volo.Abp.TextTemplating.Core/Volo/Abp/TextTemplating/ITemplateContentContributor.cs
similarity index 100%
rename from framework/src/Volo.Abp.TextTemplating/Volo/Abp/TextTemplating/ITemplateContentContributor.cs
rename to framework/src/Volo.Abp.TextTemplating.Core/Volo/Abp/TextTemplating/ITemplateContentContributor.cs
diff --git a/framework/src/Volo.Abp.TextTemplating/Volo/Abp/TextTemplating/ITemplateContentProvider.cs b/framework/src/Volo.Abp.TextTemplating.Core/Volo/Abp/TextTemplating/ITemplateContentProvider.cs
similarity index 100%
rename from framework/src/Volo.Abp.TextTemplating/Volo/Abp/TextTemplating/ITemplateContentProvider.cs
rename to framework/src/Volo.Abp.TextTemplating.Core/Volo/Abp/TextTemplating/ITemplateContentProvider.cs
diff --git a/framework/src/Volo.Abp.TextTemplating/Volo/Abp/TextTemplating/ITemplateDefinitionContext.cs b/framework/src/Volo.Abp.TextTemplating.Core/Volo/Abp/TextTemplating/ITemplateDefinitionContext.cs
similarity index 100%
rename from framework/src/Volo.Abp.TextTemplating/Volo/Abp/TextTemplating/ITemplateDefinitionContext.cs
rename to framework/src/Volo.Abp.TextTemplating.Core/Volo/Abp/TextTemplating/ITemplateDefinitionContext.cs
diff --git a/framework/src/Volo.Abp.TextTemplating/Volo/Abp/TextTemplating/ITemplateDefinitionManager.cs b/framework/src/Volo.Abp.TextTemplating.Core/Volo/Abp/TextTemplating/ITemplateDefinitionManager.cs
similarity index 100%
rename from framework/src/Volo.Abp.TextTemplating/Volo/Abp/TextTemplating/ITemplateDefinitionManager.cs
rename to framework/src/Volo.Abp.TextTemplating.Core/Volo/Abp/TextTemplating/ITemplateDefinitionManager.cs
diff --git a/framework/src/Volo.Abp.TextTemplating/Volo/Abp/TextTemplating/ITemplateDefinitionProvider.cs b/framework/src/Volo.Abp.TextTemplating.Core/Volo/Abp/TextTemplating/ITemplateDefinitionProvider.cs
similarity index 100%
rename from framework/src/Volo.Abp.TextTemplating/Volo/Abp/TextTemplating/ITemplateDefinitionProvider.cs
rename to framework/src/Volo.Abp.TextTemplating.Core/Volo/Abp/TextTemplating/ITemplateDefinitionProvider.cs
diff --git a/framework/src/Volo.Abp.TextTemplating/Volo/Abp/TextTemplating/ITemplateRenderer.cs b/framework/src/Volo.Abp.TextTemplating.Core/Volo/Abp/TextTemplating/ITemplateRenderer.cs
similarity index 100%
rename from framework/src/Volo.Abp.TextTemplating/Volo/Abp/TextTemplating/ITemplateRenderer.cs
rename to framework/src/Volo.Abp.TextTemplating.Core/Volo/Abp/TextTemplating/ITemplateRenderer.cs
diff --git a/framework/src/Volo.Abp.TextTemplating.Core/Volo/Abp/TextTemplating/ITemplateRenderingEngine.cs b/framework/src/Volo.Abp.TextTemplating.Core/Volo/Abp/TextTemplating/ITemplateRenderingEngine.cs
new file mode 100644
index 0000000000..f55dd03a1b
--- /dev/null
+++ b/framework/src/Volo.Abp.TextTemplating.Core/Volo/Abp/TextTemplating/ITemplateRenderingEngine.cs
@@ -0,0 +1,27 @@
+using System.Collections.Generic;
+using System.Globalization;
+using System.Threading.Tasks;
+using JetBrains.Annotations;
+
+namespace Volo.Abp.TextTemplating
+{
+ public interface ITemplateRenderingEngine
+ {
+ string Name { get; }
+
+ ///
+ /// Renders a text template.
+ ///
+ /// The template name
+ /// An optional model object that is used in the template
+ /// Culture name. Uses the if not specified
+ /// A dictionary which can be used to import global objects to the template
+ ///
+ Task RenderAsync(
+ [NotNull] string templateName,
+ [CanBeNull] object model = null,
+ [CanBeNull] string cultureName = null,
+ [CanBeNull] Dictionary globalContext = null
+ );
+ }
+}
diff --git a/framework/src/Volo.Abp.TextTemplating/Volo/Abp/TextTemplating/TemplateContentContributorContext.cs b/framework/src/Volo.Abp.TextTemplating.Core/Volo/Abp/TextTemplating/TemplateContentContributorContext.cs
similarity index 100%
rename from framework/src/Volo.Abp.TextTemplating/Volo/Abp/TextTemplating/TemplateContentContributorContext.cs
rename to framework/src/Volo.Abp.TextTemplating.Core/Volo/Abp/TextTemplating/TemplateContentContributorContext.cs
diff --git a/framework/src/Volo.Abp.TextTemplating/Volo/Abp/TextTemplating/TemplateContentProvider.cs b/framework/src/Volo.Abp.TextTemplating.Core/Volo/Abp/TextTemplating/TemplateContentProvider.cs
similarity index 100%
rename from framework/src/Volo.Abp.TextTemplating/Volo/Abp/TextTemplating/TemplateContentProvider.cs
rename to framework/src/Volo.Abp.TextTemplating.Core/Volo/Abp/TextTemplating/TemplateContentProvider.cs
diff --git a/framework/src/Volo.Abp.TextTemplating/Volo/Abp/TextTemplating/TemplateDefinition.cs b/framework/src/Volo.Abp.TextTemplating.Core/Volo/Abp/TextTemplating/TemplateDefinition.cs
similarity index 88%
rename from framework/src/Volo.Abp.TextTemplating/Volo/Abp/TextTemplating/TemplateDefinition.cs
rename to framework/src/Volo.Abp.TextTemplating.Core/Volo/Abp/TextTemplating/TemplateDefinition.cs
index 948c1712db..984bd8885b 100644
--- a/framework/src/Volo.Abp.TextTemplating/Volo/Abp/TextTemplating/TemplateDefinition.cs
+++ b/framework/src/Volo.Abp.TextTemplating.Core/Volo/Abp/TextTemplating/TemplateDefinition.cs
@@ -37,6 +37,9 @@ namespace Volo.Abp.TextTemplating
[CanBeNull]
public string DefaultCultureName { get; }
+ [CanBeNull]
+ public string RenderEngine { get; set; }
+
///
/// Gets/sets a key-value on the .
///
@@ -84,5 +87,14 @@ namespace Volo.Abp.TextTemplating
Properties[key] = value;
return this;
}
+
+ ///
+ /// Sets the Render Engine of .
+ ///
+ public virtual TemplateDefinition WithRenderEngine(string renderEngine)
+ {
+ RenderEngine = renderEngine;
+ return this;
+ }
}
-}
\ No newline at end of file
+}
diff --git a/framework/src/Volo.Abp.TextTemplating/Volo/Abp/TextTemplating/TemplateDefinitionContext.cs b/framework/src/Volo.Abp.TextTemplating.Core/Volo/Abp/TextTemplating/TemplateDefinitionContext.cs
similarity index 100%
rename from framework/src/Volo.Abp.TextTemplating/Volo/Abp/TextTemplating/TemplateDefinitionContext.cs
rename to framework/src/Volo.Abp.TextTemplating.Core/Volo/Abp/TextTemplating/TemplateDefinitionContext.cs
diff --git a/framework/src/Volo.Abp.TextTemplating/Volo/Abp/TextTemplating/TemplateDefinitionExtensions.cs b/framework/src/Volo.Abp.TextTemplating.Core/Volo/Abp/TextTemplating/TemplateDefinitionExtensions.cs
similarity index 100%
rename from framework/src/Volo.Abp.TextTemplating/Volo/Abp/TextTemplating/TemplateDefinitionExtensions.cs
rename to framework/src/Volo.Abp.TextTemplating.Core/Volo/Abp/TextTemplating/TemplateDefinitionExtensions.cs
diff --git a/framework/src/Volo.Abp.TextTemplating/Volo/Abp/TextTemplating/TemplateDefinitionManager.cs b/framework/src/Volo.Abp.TextTemplating.Core/Volo/Abp/TextTemplating/TemplateDefinitionManager.cs
similarity index 100%
rename from framework/src/Volo.Abp.TextTemplating/Volo/Abp/TextTemplating/TemplateDefinitionManager.cs
rename to framework/src/Volo.Abp.TextTemplating.Core/Volo/Abp/TextTemplating/TemplateDefinitionManager.cs
diff --git a/framework/src/Volo.Abp.TextTemplating/Volo/Abp/TextTemplating/TemplateDefinitionProvider.cs b/framework/src/Volo.Abp.TextTemplating.Core/Volo/Abp/TextTemplating/TemplateDefinitionProvider.cs
similarity index 100%
rename from framework/src/Volo.Abp.TextTemplating/Volo/Abp/TextTemplating/TemplateDefinitionProvider.cs
rename to framework/src/Volo.Abp.TextTemplating.Core/Volo/Abp/TextTemplating/TemplateDefinitionProvider.cs
diff --git a/framework/src/Volo.Abp.TextTemplating.Core/Volo/Abp/TextTemplating/TemplateRenderingEngineBase.cs b/framework/src/Volo.Abp.TextTemplating.Core/Volo/Abp/TextTemplating/TemplateRenderingEngineBase.cs
new file mode 100644
index 0000000000..4606e434ad
--- /dev/null
+++ b/framework/src/Volo.Abp.TextTemplating.Core/Volo/Abp/TextTemplating/TemplateRenderingEngineBase.cs
@@ -0,0 +1,42 @@
+using System.Collections.Generic;
+using System.Threading.Tasks;
+using Microsoft.Extensions.Localization;
+
+namespace Volo.Abp.TextTemplating
+{
+ public abstract class TemplateRenderingEngineBase : ITemplateRenderingEngine
+ {
+ public abstract string Name { get; }
+
+ protected readonly ITemplateDefinitionManager TemplateDefinitionManager;
+ protected readonly ITemplateContentProvider TemplateContentProvider;
+ protected readonly IStringLocalizerFactory StringLocalizerFactory;
+
+ public TemplateRenderingEngineBase(
+ ITemplateDefinitionManager templateDefinitionManager,
+ ITemplateContentProvider templateContentProvider,
+ IStringLocalizerFactory stringLocalizerFactory)
+ {
+ TemplateDefinitionManager = templateDefinitionManager;
+ TemplateContentProvider = templateContentProvider;
+ StringLocalizerFactory = stringLocalizerFactory;
+ }
+
+ public abstract Task RenderAsync(string templateName, object model = null, string cultureName = null, Dictionary globalContext = null);
+
+ protected virtual async Task GetContentOrNullAsync(TemplateDefinition templateDefinition)
+ {
+ return await TemplateContentProvider.GetContentOrNullAsync(templateDefinition);
+ }
+
+ protected virtual IStringLocalizer GetLocalizerOrNull(TemplateDefinition templateDefinition)
+ {
+ if (templateDefinition.LocalizationResource != null)
+ {
+ return StringLocalizerFactory.Create(templateDefinition.LocalizationResource);
+ }
+
+ return StringLocalizerFactory.CreateDefaultOrNull();
+ }
+ }
+}
diff --git a/framework/src/Volo.Abp.TextTemplating/Volo/Abp/TextTemplating/VirtualFiles/FileInfoLocalizedTemplateContentReader.cs b/framework/src/Volo.Abp.TextTemplating.Core/Volo/Abp/TextTemplating/VirtualFiles/FileInfoLocalizedTemplateContentReader.cs
similarity index 100%
rename from framework/src/Volo.Abp.TextTemplating/Volo/Abp/TextTemplating/VirtualFiles/FileInfoLocalizedTemplateContentReader.cs
rename to framework/src/Volo.Abp.TextTemplating.Core/Volo/Abp/TextTemplating/VirtualFiles/FileInfoLocalizedTemplateContentReader.cs
diff --git a/framework/src/Volo.Abp.TextTemplating/Volo/Abp/TextTemplating/VirtualFiles/ILocalizedTemplateContentReader.cs b/framework/src/Volo.Abp.TextTemplating.Core/Volo/Abp/TextTemplating/VirtualFiles/ILocalizedTemplateContentReader.cs
similarity index 100%
rename from framework/src/Volo.Abp.TextTemplating/Volo/Abp/TextTemplating/VirtualFiles/ILocalizedTemplateContentReader.cs
rename to framework/src/Volo.Abp.TextTemplating.Core/Volo/Abp/TextTemplating/VirtualFiles/ILocalizedTemplateContentReader.cs
diff --git a/framework/src/Volo.Abp.TextTemplating/Volo/Abp/TextTemplating/VirtualFiles/ILocalizedTemplateContentReaderFactory.cs b/framework/src/Volo.Abp.TextTemplating.Core/Volo/Abp/TextTemplating/VirtualFiles/ILocalizedTemplateContentReaderFactory.cs
similarity index 100%
rename from framework/src/Volo.Abp.TextTemplating/Volo/Abp/TextTemplating/VirtualFiles/ILocalizedTemplateContentReaderFactory.cs
rename to framework/src/Volo.Abp.TextTemplating.Core/Volo/Abp/TextTemplating/VirtualFiles/ILocalizedTemplateContentReaderFactory.cs
diff --git a/framework/src/Volo.Abp.TextTemplating/Volo/Abp/TextTemplating/VirtualFiles/LocalizedTemplateContentReaderFactory.cs b/framework/src/Volo.Abp.TextTemplating.Core/Volo/Abp/TextTemplating/VirtualFiles/LocalizedTemplateContentReaderFactory.cs
similarity index 96%
rename from framework/src/Volo.Abp.TextTemplating/Volo/Abp/TextTemplating/VirtualFiles/LocalizedTemplateContentReaderFactory.cs
rename to framework/src/Volo.Abp.TextTemplating.Core/Volo/Abp/TextTemplating/VirtualFiles/LocalizedTemplateContentReaderFactory.cs
index 981d1f8819..cc189e1b3b 100644
--- a/framework/src/Volo.Abp.TextTemplating/Volo/Abp/TextTemplating/VirtualFiles/LocalizedTemplateContentReaderFactory.cs
+++ b/framework/src/Volo.Abp.TextTemplating.Core/Volo/Abp/TextTemplating/VirtualFiles/LocalizedTemplateContentReaderFactory.cs
@@ -64,7 +64,8 @@ namespace Volo.Abp.TextTemplating.VirtualFiles
if (fileInfo.IsDirectory)
{
- var folderReader = new VirtualFolderLocalizedTemplateContentReader();
+ //TODO: Configure file extensions.
+ var folderReader = new VirtualFolderLocalizedTemplateContentReader(new[] {".tpl", ".cshtml"});
await folderReader.ReadContentsAsync(VirtualFileProvider, virtualPath);
return folderReader;
}
diff --git a/framework/src/Volo.Abp.TextTemplating/Volo/Abp/TextTemplating/VirtualFiles/NullLocalizedTemplateContentReader.cs b/framework/src/Volo.Abp.TextTemplating.Core/Volo/Abp/TextTemplating/VirtualFiles/NullLocalizedTemplateContentReader.cs
similarity index 100%
rename from framework/src/Volo.Abp.TextTemplating/Volo/Abp/TextTemplating/VirtualFiles/NullLocalizedTemplateContentReader.cs
rename to framework/src/Volo.Abp.TextTemplating.Core/Volo/Abp/TextTemplating/VirtualFiles/NullLocalizedTemplateContentReader.cs
diff --git a/framework/src/Volo.Abp.TextTemplating/Volo/Abp/TextTemplating/VirtualFiles/VirtualFileTemplateContentContributor.cs b/framework/src/Volo.Abp.TextTemplating.Core/Volo/Abp/TextTemplating/VirtualFiles/VirtualFileTemplateContentContributor.cs
similarity index 100%
rename from framework/src/Volo.Abp.TextTemplating/Volo/Abp/TextTemplating/VirtualFiles/VirtualFileTemplateContentContributor.cs
rename to framework/src/Volo.Abp.TextTemplating.Core/Volo/Abp/TextTemplating/VirtualFiles/VirtualFileTemplateContentContributor.cs
diff --git a/framework/src/Volo.Abp.TextTemplating/Volo/Abp/TextTemplating/VirtualFiles/VirtualFolderLocalizedTemplateContentReader.cs b/framework/src/Volo.Abp.TextTemplating.Core/Volo/Abp/TextTemplating/VirtualFiles/VirtualFolderLocalizedTemplateContentReader.cs
similarity index 80%
rename from framework/src/Volo.Abp.TextTemplating/Volo/Abp/TextTemplating/VirtualFiles/VirtualFolderLocalizedTemplateContentReader.cs
rename to framework/src/Volo.Abp.TextTemplating.Core/Volo/Abp/TextTemplating/VirtualFiles/VirtualFolderLocalizedTemplateContentReader.cs
index 6fc7ff4847..27458d02cc 100644
--- a/framework/src/Volo.Abp.TextTemplating/Volo/Abp/TextTemplating/VirtualFiles/VirtualFolderLocalizedTemplateContentReader.cs
+++ b/framework/src/Volo.Abp.TextTemplating.Core/Volo/Abp/TextTemplating/VirtualFiles/VirtualFolderLocalizedTemplateContentReader.cs
@@ -9,6 +9,12 @@ namespace Volo.Abp.TextTemplating.VirtualFiles
public class VirtualFolderLocalizedTemplateContentReader : ILocalizedTemplateContentReader
{
private Dictionary _dictionary;
+ private readonly string[] _fileExtension;
+
+ public VirtualFolderLocalizedTemplateContentReader(string[] fileExtension)
+ {
+ _fileExtension = fileExtension;
+ }
public async Task ReadContentsAsync(
IVirtualFileProvider virtualFileProvider,
@@ -29,7 +35,7 @@ namespace Volo.Abp.TextTemplating.VirtualFiles
continue;
}
- _dictionary.Add(file.Name.RemovePostFix(".tpl"), await file.ReadAsStringAsync());
+ _dictionary.Add(file.Name.RemovePostFix(_fileExtension), await file.ReadAsStringAsync());
}
}
diff --git a/framework/src/Volo.Abp.TextTemplating.Razor/FodyWeavers.xml b/framework/src/Volo.Abp.TextTemplating.Razor/FodyWeavers.xml
new file mode 100644
index 0000000000..be0de3a908
--- /dev/null
+++ b/framework/src/Volo.Abp.TextTemplating.Razor/FodyWeavers.xml
@@ -0,0 +1,3 @@
+
+
+
\ No newline at end of file
diff --git a/framework/src/Volo.Abp.TextTemplating.Razor/FodyWeavers.xsd b/framework/src/Volo.Abp.TextTemplating.Razor/FodyWeavers.xsd
new file mode 100644
index 0000000000..3f3946e282
--- /dev/null
+++ b/framework/src/Volo.Abp.TextTemplating.Razor/FodyWeavers.xsd
@@ -0,0 +1,30 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 'true' to run assembly verification (PEVerify) on the target assembly after all weavers have been executed.
+
+
+
+
+ A comma-separated list of error codes that can be safely ignored in assembly verification.
+
+
+
+
+ 'false' to turn off automatic generation of the XML Schema file.
+
+
+
+
+
\ No newline at end of file
diff --git a/framework/src/Volo.Abp.TextTemplating.Razor/Volo.Abp.TextTemplating.Razor.csproj b/framework/src/Volo.Abp.TextTemplating.Razor/Volo.Abp.TextTemplating.Razor.csproj
new file mode 100644
index 0000000000..3425fb624a
--- /dev/null
+++ b/framework/src/Volo.Abp.TextTemplating.Razor/Volo.Abp.TextTemplating.Razor.csproj
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+ netstandard2.0
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/framework/src/Volo.Abp.TextTemplating.Razor/Volo/Abp/TextTemplating/Razor/AbpCompiledViewProviderOptions.cs b/framework/src/Volo.Abp.TextTemplating.Razor/Volo/Abp/TextTemplating/Razor/AbpCompiledViewProviderOptions.cs
new file mode 100644
index 0000000000..6da3e8b443
--- /dev/null
+++ b/framework/src/Volo.Abp.TextTemplating.Razor/Volo/Abp/TextTemplating/Razor/AbpCompiledViewProviderOptions.cs
@@ -0,0 +1,15 @@
+using System.Collections.Generic;
+using Microsoft.CodeAnalysis;
+
+namespace Volo.Abp.TextTemplating.Razor
+{
+ public class AbpCompiledViewProviderOptions
+ {
+ public Dictionary> TemplateReferences { get; }
+
+ public AbpCompiledViewProviderOptions()
+ {
+ TemplateReferences = new Dictionary>();
+ }
+ }
+}
diff --git a/framework/src/Volo.Abp.TextTemplating.Razor/Volo/Abp/TextTemplating/Razor/AbpRazorTemplateCSharpCompiler.cs b/framework/src/Volo.Abp.TextTemplating.Razor/Volo/Abp/TextTemplating/Razor/AbpRazorTemplateCSharpCompiler.cs
new file mode 100644
index 0000000000..55b0d10f17
--- /dev/null
+++ b/framework/src/Volo.Abp.TextTemplating.Razor/Volo/Abp/TextTemplating/Razor/AbpRazorTemplateCSharpCompiler.cs
@@ -0,0 +1,107 @@
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.IO;
+using System.Linq;
+using System.Reflection;
+using System.Text;
+using Microsoft.CodeAnalysis;
+using Microsoft.CodeAnalysis.CSharp;
+using Microsoft.Extensions.Options;
+using Volo.Abp.DependencyInjection;
+
+namespace Volo.Abp.TextTemplating.Razor
+{
+ public class AbpRazorTemplateCSharpCompiler : ISingletonDependency
+ {
+ protected AbpRazorTemplateCSharpCompilerOptions Options { get; }
+
+ public AbpRazorTemplateCSharpCompiler(IOptions options)
+ {
+ Options = options.Value;
+ }
+
+ private static IEnumerable DefaultReferences => new List()
+ {
+ Assembly.Load("netstandard"),
+ Assembly.Load("System.Private.CoreLib"),
+ Assembly.Load("System.Runtime"),
+ Assembly.Load("System.Collections"),
+ Assembly.Load("System.ComponentModel"),
+ Assembly.Load("System.Linq"),
+ Assembly.Load("System.Linq.Expressions"),
+ Assembly.Load("Microsoft.Extensions.DependencyInjection"),
+ Assembly.Load("Microsoft.Extensions.DependencyInjection.Abstractions"),
+ Assembly.Load("Microsoft.Extensions.Localization"),
+ Assembly.Load("Microsoft.Extensions.Localization.Abstractions"),
+
+ typeof(AbpRazorTemplateCSharpCompiler).Assembly
+ }
+ .Select(x => MetadataReference.CreateFromFile(x.Location))
+ .ToImmutableList();
+
+ public virtual Stream CreateAssembly(string code, string assemblyName, List references = null, CSharpCompilationOptions options = null)
+ {
+ var defaultReferences = DefaultReferences.Concat(Options.References);
+ try
+ {
+ var compilation = CSharpCompilation.Create(
+ assemblyName,
+ syntaxTrees: new[] { CreateSyntaxTree(code) },
+ references: references != null ? defaultReferences.Concat(references) : defaultReferences,
+ options ?? GetCompilationOptions());
+
+ using (var memoryStream = new MemoryStream())
+ {
+ var result = compilation.Emit(memoryStream);
+
+ if (!result.Success)
+ {
+ var error = new StringBuilder();
+ error.AppendLine("Build failed");
+ foreach (var diagnostic in result.Diagnostics)
+ {
+ error.AppendLine(diagnostic.ToString());
+ }
+
+ throw new Exception(error.ToString());
+ }
+
+ memoryStream.Seek(0, SeekOrigin.Begin);
+ var assemblyStream = new MemoryStream();
+ memoryStream.CopyTo(assemblyStream);
+
+ return assemblyStream;
+ }
+ }
+ catch (Exception e)
+ {
+ var error = new StringBuilder();
+ error.AppendLine("CreateAssembly failed");
+ error.AppendLine(e.Message);
+ throw new Exception(error.ToString());
+ }
+ }
+
+ protected virtual SyntaxTree CreateSyntaxTree(string code)
+ {
+ return CSharpSyntaxTree.ParseText(code);
+ }
+
+ protected virtual CSharpCompilationOptions GetCompilationOptions()
+ {
+ var csharpCompilationOptions = new CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary);
+
+ // Disable 1702 until roslyn turns this off by default
+ csharpCompilationOptions = csharpCompilationOptions.WithSpecificDiagnosticOptions(
+ new Dictionary
+ {
+ {"CS1701", ReportDiagnostic.Suppress}, // Binding redirects
+ {"CS1702", ReportDiagnostic.Suppress},
+ {"CS1705", ReportDiagnostic.Suppress}
+ });
+
+ return csharpCompilationOptions.WithOptimizationLevel(OptimizationLevel.Release);
+ }
+ }
+}
diff --git a/framework/src/Volo.Abp.TextTemplating.Razor/Volo/Abp/TextTemplating/Razor/AbpRazorTemplateCSharpCompilerOptions.cs b/framework/src/Volo.Abp.TextTemplating.Razor/Volo/Abp/TextTemplating/Razor/AbpRazorTemplateCSharpCompilerOptions.cs
new file mode 100644
index 0000000000..20c1e391e0
--- /dev/null
+++ b/framework/src/Volo.Abp.TextTemplating.Razor/Volo/Abp/TextTemplating/Razor/AbpRazorTemplateCSharpCompilerOptions.cs
@@ -0,0 +1,15 @@
+using System.Collections.Generic;
+using Microsoft.CodeAnalysis;
+
+namespace Volo.Abp.TextTemplating.Razor
+{
+ public class AbpRazorTemplateCSharpCompilerOptions
+ {
+ public List References { get; }
+
+ public AbpRazorTemplateCSharpCompilerOptions()
+ {
+ References = new List();
+ }
+ }
+}
diff --git a/framework/src/Volo.Abp.TextTemplating.Razor/Volo/Abp/TextTemplating/Razor/AbpRazorTemplateConsts.cs b/framework/src/Volo.Abp.TextTemplating.Razor/Volo/Abp/TextTemplating/Razor/AbpRazorTemplateConsts.cs
new file mode 100644
index 0000000000..7701a89630
--- /dev/null
+++ b/framework/src/Volo.Abp.TextTemplating.Razor/Volo/Abp/TextTemplating/Razor/AbpRazorTemplateConsts.cs
@@ -0,0 +1,9 @@
+namespace Volo.Abp.TextTemplating.Razor
+{
+ public static class AbpRazorTemplateConsts
+ {
+ public const string DefaultNameSpace = "Abp.Razor";
+ public const string DefaultClassName = "Template";
+ public const string TypeName = DefaultNameSpace + "." + DefaultClassName;
+ }
+}
diff --git a/framework/src/Volo.Abp.TextTemplating.Razor/Volo/Abp/TextTemplating/Razor/AbpTextTemplatingRazorModule.cs b/framework/src/Volo.Abp.TextTemplating.Razor/Volo/Abp/TextTemplating/Razor/AbpTextTemplatingRazorModule.cs
new file mode 100644
index 0000000000..446ba00cc1
--- /dev/null
+++ b/framework/src/Volo.Abp.TextTemplating.Razor/Volo/Abp/TextTemplating/Razor/AbpTextTemplatingRazorModule.cs
@@ -0,0 +1,23 @@
+using System;
+using Volo.Abp.Modularity;
+
+namespace Volo.Abp.TextTemplating.Razor
+{
+ [DependsOn(
+ typeof(AbpTextTemplatingCoreModule)
+ )]
+ public class AbpTextTemplatingRazorModule : AbpModule
+ {
+ public override void ConfigureServices(ServiceConfigurationContext context)
+ {
+ Configure(options =>
+ {
+ if (options.DefaultRenderingEngine.IsNullOrWhiteSpace())
+ {
+ options.DefaultRenderingEngine = RazorTemplateRenderingEngine.EngineName;
+ }
+ options.RenderingEngines[RazorTemplateRenderingEngine.EngineName] = typeof(RazorTemplateRenderingEngine);
+ });
+ }
+ }
+}
diff --git a/framework/src/Volo.Abp.TextTemplating.Razor/Volo/Abp/TextTemplating/Razor/DefaultAbpCompiledViewProvider.cs b/framework/src/Volo.Abp.TextTemplating.Razor/Volo/Abp/TextTemplating/Razor/DefaultAbpCompiledViewProvider.cs
new file mode 100644
index 0000000000..c743252456
--- /dev/null
+++ b/framework/src/Volo.Abp.TextTemplating.Razor/Volo/Abp/TextTemplating/Razor/DefaultAbpCompiledViewProvider.cs
@@ -0,0 +1,77 @@
+using System;
+using System.Collections.Concurrent;
+using System.Collections.Generic;
+using System.IO;
+using System.Linq;
+using System.Reflection;
+using System.Threading.Tasks;
+using Microsoft.AspNetCore.Razor.Language;
+using Microsoft.CodeAnalysis;
+using Microsoft.Extensions.Options;
+using Volo.Abp.DependencyInjection;
+
+namespace Volo.Abp.TextTemplating.Razor
+{
+ public class DefaultAbpCompiledViewProvider : IAbpCompiledViewProvider, ITransientDependency
+ {
+ private static readonly ConcurrentDictionary CachedAssembles = new ConcurrentDictionary();
+
+ private readonly AbpCompiledViewProviderOptions _options;
+ private readonly AbpRazorTemplateCSharpCompiler _razorTemplateCSharpCompiler;
+ private readonly IAbpRazorProjectEngineFactory _razorProjectEngineFactory;
+ private readonly ITemplateContentProvider _templateContentProvider;
+
+ public DefaultAbpCompiledViewProvider(
+ IOptions options,
+ IAbpRazorProjectEngineFactory razorProjectEngineFactory,
+ AbpRazorTemplateCSharpCompiler razorTemplateCSharpCompiler,
+ ITemplateContentProvider templateContentProvider)
+ {
+ _options = options.Value;
+
+ _razorProjectEngineFactory = razorProjectEngineFactory;
+ _razorTemplateCSharpCompiler = razorTemplateCSharpCompiler;
+ _templateContentProvider = templateContentProvider;
+ }
+
+ public virtual async Task GetAssemblyAsync(TemplateDefinition templateDefinition)
+ {
+ async Task CreateAssembly(string content)
+ {
+ using (var assemblyStream = await GetAssemblyStreamAsync(templateDefinition, content))
+ {
+ return Assembly.Load(await assemblyStream.GetAllBytesAsync());
+ }
+ }
+
+ var templateContent = await _templateContentProvider.GetContentOrNullAsync(templateDefinition);
+ return CachedAssembles.GetOrAdd((templateDefinition.Name + templateContent).ToMd5(), await CreateAssembly(templateContent));
+ }
+
+ protected virtual async Task GetAssemblyStreamAsync(TemplateDefinition templateDefinition, string templateContent)
+ {
+ var razorProjectEngine = await _razorProjectEngineFactory.CreateAsync(builder =>
+ {
+ builder.SetNamespace(AbpRazorTemplateConsts.DefaultNameSpace);
+ builder.ConfigureClass((document, node) =>
+ {
+ node.ClassName = AbpRazorTemplateConsts.DefaultClassName;
+ });
+ });
+
+ var codeDocument = razorProjectEngine.Process(
+ RazorSourceDocument.Create(templateContent, templateDefinition.Name), null,
+ new List(), new List());
+
+ var cSharpDocument = codeDocument.GetCSharpDocument();
+
+ var templateReferences = _options.TemplateReferences
+ .GetOrDefault(templateDefinition.Name)
+ ?.Select(x => x)
+ .Cast()
+ .ToList();
+
+ return _razorTemplateCSharpCompiler.CreateAssembly(cSharpDocument.GeneratedCode, templateDefinition.Name, templateReferences);
+ }
+ }
+}
diff --git a/framework/src/Volo.Abp.TextTemplating.Razor/Volo/Abp/TextTemplating/Razor/DefaultAbpRazorProjectEngineFactory.cs b/framework/src/Volo.Abp.TextTemplating.Razor/Volo/Abp/TextTemplating/Razor/DefaultAbpRazorProjectEngineFactory.cs
new file mode 100644
index 0000000000..eb6d851f49
--- /dev/null
+++ b/framework/src/Volo.Abp.TextTemplating.Razor/Volo/Abp/TextTemplating/Razor/DefaultAbpRazorProjectEngineFactory.cs
@@ -0,0 +1,20 @@
+using System;
+using System.Threading.Tasks;
+using Microsoft.AspNetCore.Razor.Language;
+using Volo.Abp.DependencyInjection;
+
+namespace Volo.Abp.TextTemplating.Razor
+{
+ public class DefaultAbpRazorProjectEngineFactory : IAbpRazorProjectEngineFactory, ITransientDependency
+ {
+ public virtual async Task CreateAsync(Action configure = null)
+ {
+ return RazorProjectEngine.Create(await CreateRazorConfigurationAsync(), EmptyProjectFileSystem.Empty, configure);
+ }
+
+ protected virtual Task CreateRazorConfigurationAsync()
+ {
+ return Task.FromResult(RazorConfiguration.Default);
+ }
+ }
+}
diff --git a/framework/src/Volo.Abp.TextTemplating.Razor/Volo/Abp/TextTemplating/Razor/EmptyProjectFileSystem.cs b/framework/src/Volo.Abp.TextTemplating.Razor/Volo/Abp/TextTemplating/Razor/EmptyProjectFileSystem.cs
new file mode 100644
index 0000000000..496e86e977
--- /dev/null
+++ b/framework/src/Volo.Abp.TextTemplating.Razor/Volo/Abp/TextTemplating/Razor/EmptyProjectFileSystem.cs
@@ -0,0 +1,30 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using Microsoft.AspNetCore.Razor.Language;
+
+namespace Volo.Abp.TextTemplating.Razor
+{
+ internal class EmptyProjectFileSystem : RazorProjectFileSystem
+ {
+ internal static readonly RazorProjectFileSystem Empty = new EmptyProjectFileSystem();
+
+ public override IEnumerable EnumerateItems(string basePath)
+ {
+ NormalizeAndEnsureValidPath(basePath);
+ return Enumerable.Empty();
+ }
+
+ [Obsolete("Use GetItem(string path, string fileKind) instead.")]
+ public override RazorProjectItem GetItem(string path)
+ {
+ return GetItem(path, fileKind: null);
+ }
+
+ public override RazorProjectItem GetItem(string path, string fileKind)
+ {
+ NormalizeAndEnsureValidPath(path);
+ return new NotFoundProjectItem(string.Empty, path, fileKind);
+ }
+ }
+}
diff --git a/framework/src/Volo.Abp.TextTemplating.Razor/Volo/Abp/TextTemplating/Razor/IAbpCompiledViewProvider.cs b/framework/src/Volo.Abp.TextTemplating.Razor/Volo/Abp/TextTemplating/Razor/IAbpCompiledViewProvider.cs
new file mode 100644
index 0000000000..ba5e96d2fa
--- /dev/null
+++ b/framework/src/Volo.Abp.TextTemplating.Razor/Volo/Abp/TextTemplating/Razor/IAbpCompiledViewProvider.cs
@@ -0,0 +1,10 @@
+using System.Reflection;
+using System.Threading.Tasks;
+
+namespace Volo.Abp.TextTemplating.Razor
+{
+ public interface IAbpCompiledViewProvider
+ {
+ Task GetAssemblyAsync(TemplateDefinition templateDefinition);
+ }
+}
diff --git a/framework/src/Volo.Abp.TextTemplating.Razor/Volo/Abp/TextTemplating/Razor/IAbpRazorProjectEngineFactory.cs b/framework/src/Volo.Abp.TextTemplating.Razor/Volo/Abp/TextTemplating/Razor/IAbpRazorProjectEngineFactory.cs
new file mode 100644
index 0000000000..c96b171f59
--- /dev/null
+++ b/framework/src/Volo.Abp.TextTemplating.Razor/Volo/Abp/TextTemplating/Razor/IAbpRazorProjectEngineFactory.cs
@@ -0,0 +1,11 @@
+using System;
+using System.Threading.Tasks;
+using Microsoft.AspNetCore.Razor.Language;
+
+namespace Volo.Abp.TextTemplating.Razor
+{
+ public interface IAbpRazorProjectEngineFactory
+ {
+ Task CreateAsync(Action configure = null);
+ }
+}
diff --git a/framework/src/Volo.Abp.TextTemplating.Razor/Volo/Abp/TextTemplating/Razor/IRazorTemplatePage.cs b/framework/src/Volo.Abp.TextTemplating.Razor/Volo/Abp/TextTemplating/Razor/IRazorTemplatePage.cs
new file mode 100644
index 0000000000..fc386c3353
--- /dev/null
+++ b/framework/src/Volo.Abp.TextTemplating.Razor/Volo/Abp/TextTemplating/Razor/IRazorTemplatePage.cs
@@ -0,0 +1,34 @@
+using System;
+using System.Collections.Generic;
+using System.Text.Encodings.Web;
+using System.Threading.Tasks;
+using Microsoft.Extensions.Localization;
+
+namespace Volo.Abp.TextTemplating.Razor
+{
+ public interface IRazorTemplatePage : IRazorTemplatePage
+ {
+ TModel Model { get; set; }
+ }
+
+ public interface IRazorTemplatePage
+ {
+ IServiceProvider ServiceProvider { get; set; }
+
+ IStringLocalizer Localizer { get; set; }
+
+ HtmlEncoder HtmlEncoder { get; set; }
+
+ JavaScriptEncoder JavaScriptEncoder { get; set; }
+
+ UrlEncoder UrlEncoder { get; set; }
+
+ Dictionary GlobalContext { get; set; }
+
+ string Body { get; set; }
+
+ Task ExecuteAsync();
+
+ Task GetOutputAsync();
+ }
+}
diff --git a/framework/src/Volo.Abp.TextTemplating.Razor/Volo/Abp/TextTemplating/Razor/NotFoundProjectItem.cs b/framework/src/Volo.Abp.TextTemplating.Razor/Volo/Abp/TextTemplating/Razor/NotFoundProjectItem.cs
new file mode 100644
index 0000000000..735522bd09
--- /dev/null
+++ b/framework/src/Volo.Abp.TextTemplating.Razor/Volo/Abp/TextTemplating/Razor/NotFoundProjectItem.cs
@@ -0,0 +1,28 @@
+using System;
+using System.IO;
+using Microsoft.AspNetCore.Razor.Language;
+
+namespace Volo.Abp.TextTemplating.Razor
+{
+ internal class NotFoundProjectItem : RazorProjectItem
+ {
+ public NotFoundProjectItem(string basePath, string path, string fileKind)
+ {
+ BasePath = basePath;
+ FilePath = path;
+ FileKind = fileKind ?? FileKinds.GetFileKindFromFilePath(path);
+ }
+
+ public override string BasePath { get; }
+
+ public override string FilePath { get; }
+
+ public override string FileKind { get; }
+
+ public override bool Exists => false;
+
+ public override string PhysicalPath => throw new NotSupportedException();
+
+ public override Stream Read() => throw new NotSupportedException();
+ }
+}
diff --git a/framework/src/Volo.Abp.TextTemplating.Razor/Volo/Abp/TextTemplating/Razor/RazorTemplateDefinitionExtensions.cs b/framework/src/Volo.Abp.TextTemplating.Razor/Volo/Abp/TextTemplating/Razor/RazorTemplateDefinitionExtensions.cs
new file mode 100644
index 0000000000..343905ecec
--- /dev/null
+++ b/framework/src/Volo.Abp.TextTemplating.Razor/Volo/Abp/TextTemplating/Razor/RazorTemplateDefinitionExtensions.cs
@@ -0,0 +1,12 @@
+using JetBrains.Annotations;
+
+namespace Volo.Abp.TextTemplating.Razor
+{
+ public static class RazorTemplateDefinitionExtensions
+ {
+ public static TemplateDefinition WithRazorEngine([NotNull] this TemplateDefinition templateDefinition)
+ {
+ return templateDefinition.WithRenderEngine(RazorTemplateRenderingEngine.EngineName);
+ }
+ }
+}
diff --git a/framework/src/Volo.Abp.TextTemplating.Razor/Volo/Abp/TextTemplating/Razor/RazorTemplatePageBase.cs b/framework/src/Volo.Abp.TextTemplating.Razor/Volo/Abp/TextTemplating/Razor/RazorTemplatePageBase.cs
new file mode 100644
index 0000000000..9854775a25
--- /dev/null
+++ b/framework/src/Volo.Abp.TextTemplating.Razor/Volo/Abp/TextTemplating/Razor/RazorTemplatePageBase.cs
@@ -0,0 +1,177 @@
+using System;
+using System.Collections.Generic;
+using System.Text;
+using System.Text.Encodings.Web;
+using System.Threading.Tasks;
+using Microsoft.Extensions.Localization;
+
+namespace Volo.Abp.TextTemplating.Razor
+{
+ public abstract class RazorTemplatePageBase : RazorTemplatePageBase, IRazorTemplatePage
+ {
+ public TModel Model { get; set; }
+ }
+
+ public abstract class RazorTemplatePageBase : IRazorTemplatePage
+ {
+ public Dictionary GlobalContext { get; set; }
+
+ public IServiceProvider ServiceProvider { get; set; }
+
+ public IStringLocalizer Localizer { get; set; }
+
+ public HtmlEncoder HtmlEncoder { get; set; }
+
+ public JavaScriptEncoder JavaScriptEncoder { get; set; }
+
+ public UrlEncoder UrlEncoder { get; set; }
+
+ public string Body { get; set; }
+
+ private readonly StringBuilder _stringBuilder = new StringBuilder();
+
+ private AttributeInfo _attributeInfo;
+
+ public virtual void WriteLiteral(string literal = null)
+ {
+ _stringBuilder.Append(literal);
+ }
+
+ public virtual void Write(object obj = null)
+ {
+ _stringBuilder.Append(obj);
+ }
+
+ public virtual void BeginWriteAttribute(string name, string prefix, int prefixOffset, string suffix, int suffixOffset, int attributeValuesCount)
+ {
+ _attributeInfo = new AttributeInfo(name, prefix, prefixOffset, suffix, suffixOffset, attributeValuesCount);
+ WriteLiteral(prefix);
+ }
+
+ public virtual void WriteAttributeValue(string prefix, int prefixOffset, object value, int valueOffset, int valueLength, bool isLiteral)
+ {
+ if (_attributeInfo.AttributeValuesCount == 1)
+ {
+ if (IsBoolFalseOrNullValue(prefix, value))
+ {
+ // Value is either null or the bool 'false' with no prefix; don't render the attribute.
+ _attributeInfo.Suppressed = true;
+ return;
+ }
+
+ // We are not omitting the attribute. Write the prefix.
+ WriteLiteral(_attributeInfo.Prefix);
+
+ if (IsBoolTrueWithEmptyPrefixValue(prefix, value))
+ {
+ // The value is just the bool 'true', write the attribute name instead of the string 'True'.
+ value = _attributeInfo.Name;
+ }
+ }
+
+ // This block handles two cases.
+ // 1. Single value with prefix.
+ // 2. Multiple values with or without prefix.
+ if (value != null)
+ {
+ if (!string.IsNullOrEmpty(prefix))
+ {
+ WriteLiteral(prefix);
+ }
+
+ WriteUnprefixedAttributeValue(value, isLiteral);
+ }
+
+ _stringBuilder.Append(prefix);
+ _stringBuilder.Append(value);
+ }
+
+ public virtual void EndWriteAttribute()
+ {
+ if (!_attributeInfo.Suppressed)
+ {
+ WriteLiteral(_attributeInfo.Suffix);
+ }
+ }
+
+ public virtual Task ExecuteAsync()
+ {
+ return Task.CompletedTask;
+ }
+
+ public virtual Task GetOutputAsync()
+ {
+ return Task.FromResult(_stringBuilder.ToString());
+ }
+
+ private void WriteUnprefixedAttributeValue(object value, bool isLiteral)
+ {
+ var stringValue = value as string;
+
+ // The extra branching here is to ensure that we call the Write*To(string) overload where possible.
+ if (isLiteral && stringValue != null)
+ {
+ WriteLiteral(stringValue);
+ }
+ else if (isLiteral)
+ {
+ //WriteLiteral(value);
+ _stringBuilder.Append(value);
+ }
+ else if (stringValue != null)
+ {
+ Write(stringValue);
+ }
+ else
+ {
+ Write(value);
+ }
+ }
+
+ private bool IsBoolFalseOrNullValue(string prefix, object value)
+ {
+ return string.IsNullOrEmpty(prefix) && (value == null || (value is bool b && !b));
+ }
+
+ private bool IsBoolTrueWithEmptyPrefixValue(string prefix, object value)
+ {
+ // If the value is just the bool 'true', use the attribute name as the value.
+ return string.IsNullOrEmpty(prefix) && (value is bool b && b);
+ }
+
+ private struct AttributeInfo
+ {
+ public AttributeInfo(
+ string name,
+ string prefix,
+ int prefixOffset,
+ string suffix,
+ int suffixOffset,
+ int attributeValuesCount)
+ {
+ Name = name;
+ Prefix = prefix;
+ PrefixOffset = prefixOffset;
+ Suffix = suffix;
+ SuffixOffset = suffixOffset;
+ AttributeValuesCount = attributeValuesCount;
+
+ Suppressed = false;
+ }
+
+ public int AttributeValuesCount { get; }
+
+ public string Name { get; }
+
+ public string Prefix { get; }
+
+ public int PrefixOffset { get; }
+
+ public string Suffix { get; }
+
+ public int SuffixOffset { get; }
+
+ public bool Suppressed { get; set; }
+ }
+ }
+}
diff --git a/framework/src/Volo.Abp.TextTemplating.Razor/Volo/Abp/TextTemplating/Razor/RazorTemplateRenderingEngine.cs b/framework/src/Volo.Abp.TextTemplating.Razor/Volo/Abp/TextTemplating/Razor/RazorTemplateRenderingEngine.cs
new file mode 100644
index 0000000000..3ef2d69fd6
--- /dev/null
+++ b/framework/src/Volo.Abp.TextTemplating.Razor/Volo/Abp/TextTemplating/Razor/RazorTemplateRenderingEngine.cs
@@ -0,0 +1,158 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Reflection;
+using System.Text.Encodings.Web;
+using System.Threading.Tasks;
+using JetBrains.Annotations;
+using Microsoft.Extensions.DependencyInjection;
+using Microsoft.Extensions.Localization;
+using Volo.Abp.DependencyInjection;
+using Volo.Abp.Localization;
+
+namespace Volo.Abp.TextTemplating.Razor
+{
+ public class RazorTemplateRenderingEngine : TemplateRenderingEngineBase, ITransientDependency
+ {
+ public const string EngineName = "Razor";
+ public override string Name => EngineName;
+
+ protected readonly IServiceScopeFactory ServiceScopeFactory;
+ protected readonly IAbpCompiledViewProvider AbpCompiledViewProvider;
+
+ public RazorTemplateRenderingEngine(
+ IServiceScopeFactory serviceScopeFactory,
+ IAbpCompiledViewProvider abpCompiledViewProvider,
+ ITemplateDefinitionManager templateDefinitionManager,
+ ITemplateContentProvider templateContentProvider,
+ IStringLocalizerFactory stringLocalizerFactory)
+ : base(templateDefinitionManager, templateContentProvider, stringLocalizerFactory)
+ {
+ ServiceScopeFactory = serviceScopeFactory;
+ AbpCompiledViewProvider = abpCompiledViewProvider;
+ }
+
+ public override async Task RenderAsync(
+ [NotNull] string templateName,
+ [CanBeNull] object model = null,
+ [CanBeNull] string cultureName = null,
+ [CanBeNull] Dictionary globalContext = null)
+ {
+ Check.NotNullOrWhiteSpace(templateName, nameof(templateName));
+
+ if (globalContext == null)
+ {
+ globalContext = new Dictionary();
+ }
+
+ if (cultureName == null)
+ {
+ return await RenderInternalAsync(
+ templateName,
+ null,
+ globalContext,
+ model
+ );
+ }
+ else
+ {
+ using (CultureHelper.Use(cultureName))
+ {
+ return await RenderInternalAsync(
+ templateName,
+ null,
+ globalContext,
+ model
+ );
+ }
+ }
+ }
+
+ protected virtual async Task RenderInternalAsync(
+ string templateName,
+ string body,
+ Dictionary globalContext,
+ object model = null)
+ {
+ var templateDefinition = TemplateDefinitionManager.Get(templateName);
+
+ var renderedContent = await RenderSingleTemplateAsync(
+ templateDefinition,
+ body,
+ globalContext,
+ model
+ );
+
+ if (templateDefinition.Layout != null)
+ {
+ renderedContent = await RenderInternalAsync(
+ templateDefinition.Layout,
+ renderedContent,
+ globalContext
+ );
+ }
+
+ return renderedContent;
+ }
+
+ protected virtual async Task RenderSingleTemplateAsync(
+ TemplateDefinition templateDefinition,
+ string body,
+ Dictionary globalContext,
+ object model = null)
+ {
+ return await RenderTemplateContentWithRazorAsync(
+ templateDefinition,
+ body,
+ globalContext,
+ model
+ );
+ }
+
+ protected virtual async Task RenderTemplateContentWithRazorAsync(
+ TemplateDefinition templateDefinition,
+ string body,
+ Dictionary globalContext,
+ object model = null)
+ {
+ var assembly = await AbpCompiledViewProvider.GetAssemblyAsync(templateDefinition);
+ var templateType = assembly.GetType(AbpRazorTemplateConsts.TypeName);
+ var template = (IRazorTemplatePage) Activator.CreateInstance(templateType);
+
+ using (var scope = ServiceScopeFactory.CreateScope())
+ {
+ var modelType = templateType
+ .GetInterfaces()
+ .Where(x => x.IsGenericType && x.GetGenericTypeDefinition() == typeof(IRazorTemplatePage<>))
+ .Select(x => x.GenericTypeArguments.FirstOrDefault())
+ .FirstOrDefault();
+
+ if (modelType != null)
+ {
+ GetType().GetMethod(nameof(SetModel), BindingFlags.Instance | BindingFlags.NonPublic)
+ ?.MakeGenericMethod(modelType).Invoke(this, new[] {template, model});
+ }
+
+ template.ServiceProvider = scope.ServiceProvider;
+ template.Localizer = GetLocalizerOrNull(templateDefinition);
+ template.HtmlEncoder = scope.ServiceProvider.GetService();
+ template.JavaScriptEncoder = scope.ServiceProvider.GetService();
+ template.UrlEncoder = scope.ServiceProvider.GetService();
+ template.Body = body;
+ template.GlobalContext = globalContext;
+
+ await template.ExecuteAsync();
+
+ return await template.GetOutputAsync();
+ }
+ }
+
+ private void SetModel(IRazorTemplatePage razorTemplatePage, object model = null)
+ {
+ if (razorTemplatePage is IRazorTemplatePage razorTemplatePageWithModel)
+ {
+ razorTemplatePageWithModel.Model = (TModel)model;
+ }
+ }
+ }
+}
diff --git a/framework/src/Volo.Abp.TextTemplating.Scriban/FodyWeavers.xml b/framework/src/Volo.Abp.TextTemplating.Scriban/FodyWeavers.xml
new file mode 100644
index 0000000000..be0de3a908
--- /dev/null
+++ b/framework/src/Volo.Abp.TextTemplating.Scriban/FodyWeavers.xml
@@ -0,0 +1,3 @@
+
+
+
\ No newline at end of file
diff --git a/framework/src/Volo.Abp.TextTemplating.Scriban/FodyWeavers.xsd b/framework/src/Volo.Abp.TextTemplating.Scriban/FodyWeavers.xsd
new file mode 100644
index 0000000000..3f3946e282
--- /dev/null
+++ b/framework/src/Volo.Abp.TextTemplating.Scriban/FodyWeavers.xsd
@@ -0,0 +1,30 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 'true' to run assembly verification (PEVerify) on the target assembly after all weavers have been executed.
+
+
+
+
+ A comma-separated list of error codes that can be safely ignored in assembly verification.
+
+
+
+
+ 'false' to turn off automatic generation of the XML Schema file.
+
+
+
+
+
\ No newline at end of file
diff --git a/framework/src/Volo.Abp.TextTemplating.Scriban/Volo.Abp.TextTemplating.Scriban.csproj b/framework/src/Volo.Abp.TextTemplating.Scriban/Volo.Abp.TextTemplating.Scriban.csproj
new file mode 100644
index 0000000000..4581050b6a
--- /dev/null
+++ b/framework/src/Volo.Abp.TextTemplating.Scriban/Volo.Abp.TextTemplating.Scriban.csproj
@@ -0,0 +1,19 @@
+
+
+
+
+
+
+ netstandard2.0
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/framework/src/Volo.Abp.TextTemplating.Scriban/Volo/Abp/TextTemplating/Scriban/AbpTextTemplatingScribanModule.cs b/framework/src/Volo.Abp.TextTemplating.Scriban/Volo/Abp/TextTemplating/Scriban/AbpTextTemplatingScribanModule.cs
new file mode 100644
index 0000000000..fb05325a95
--- /dev/null
+++ b/framework/src/Volo.Abp.TextTemplating.Scriban/Volo/Abp/TextTemplating/Scriban/AbpTextTemplatingScribanModule.cs
@@ -0,0 +1,19 @@
+using Volo.Abp.Modularity;
+
+namespace Volo.Abp.TextTemplating.Scriban
+{
+ [DependsOn(
+ typeof(AbpTextTemplatingCoreModule)
+ )]
+ public class AbpTextTemplatingScribanModule : AbpModule
+ {
+ public override void ConfigureServices(ServiceConfigurationContext context)
+ {
+ Configure(options =>
+ {
+ options.DefaultRenderingEngine = ScribanTemplateRenderingEngine.EngineName;
+ options.RenderingEngines[ScribanTemplateRenderingEngine.EngineName] = typeof(ScribanTemplateRenderingEngine);
+ });
+ }
+ }
+}
diff --git a/framework/src/Volo.Abp.TextTemplating.Scriban/Volo/Abp/TextTemplating/Scriban/ScribanTemplateDefinitionExtensions.cs b/framework/src/Volo.Abp.TextTemplating.Scriban/Volo/Abp/TextTemplating/Scriban/ScribanTemplateDefinitionExtensions.cs
new file mode 100644
index 0000000000..c003ed384c
--- /dev/null
+++ b/framework/src/Volo.Abp.TextTemplating.Scriban/Volo/Abp/TextTemplating/Scriban/ScribanTemplateDefinitionExtensions.cs
@@ -0,0 +1,12 @@
+using JetBrains.Annotations;
+
+namespace Volo.Abp.TextTemplating.Scriban
+{
+ public static class ScribanTemplateDefinitionExtensions
+ {
+ public static TemplateDefinition WithScribanEngine([NotNull] this TemplateDefinition templateDefinition)
+ {
+ return templateDefinition.WithRenderEngine(ScribanTemplateRenderingEngine.EngineName);
+ }
+ }
+}
diff --git a/framework/src/Volo.Abp.TextTemplating/Volo/Abp/TextTemplating/TemplateLocalizer.cs b/framework/src/Volo.Abp.TextTemplating.Scriban/Volo/Abp/TextTemplating/Scriban/ScribanTemplateLocalizer.cs
similarity index 91%
rename from framework/src/Volo.Abp.TextTemplating/Volo/Abp/TextTemplating/TemplateLocalizer.cs
rename to framework/src/Volo.Abp.TextTemplating.Scriban/Volo/Abp/TextTemplating/Scriban/ScribanTemplateLocalizer.cs
index 4e4a1e4833..e280cd194a 100644
--- a/framework/src/Volo.Abp.TextTemplating/Volo/Abp/TextTemplating/TemplateLocalizer.cs
+++ b/framework/src/Volo.Abp.TextTemplating.Scriban/Volo/Abp/TextTemplating/Scriban/ScribanTemplateLocalizer.cs
@@ -7,13 +7,13 @@ using Scriban;
using Scriban.Runtime;
using Scriban.Syntax;
-namespace Volo.Abp.TextTemplating
+namespace Volo.Abp.TextTemplating.Scriban
{
- public class TemplateLocalizer : IScriptCustomFunction
+ public class ScribanTemplateLocalizer : IScriptCustomFunction
{
private readonly IStringLocalizer _localizer;
- public TemplateLocalizer(IStringLocalizer localizer)
+ public ScribanTemplateLocalizer(IStringLocalizer localizer)
{
_localizer = localizer;
}
diff --git a/framework/src/Volo.Abp.TextTemplating/Volo/Abp/TextTemplating/TemplateRenderer.cs b/framework/src/Volo.Abp.TextTemplating.Scriban/Volo/Abp/TextTemplating/Scriban/ScribanTemplateRenderingEngine.cs
similarity index 73%
rename from framework/src/Volo.Abp.TextTemplating/Volo/Abp/TextTemplating/TemplateRenderer.cs
rename to framework/src/Volo.Abp.TextTemplating.Scriban/Volo/Abp/TextTemplating/Scriban/ScribanTemplateRenderingEngine.cs
index 1d89dc3b68..81038e2d0f 100644
--- a/framework/src/Volo.Abp.TextTemplating/Volo/Abp/TextTemplating/TemplateRenderer.cs
+++ b/framework/src/Volo.Abp.TextTemplating.Scriban/Volo/Abp/TextTemplating/Scriban/ScribanTemplateRenderingEngine.cs
@@ -1,33 +1,28 @@
-using System;
-using System.Collections.Generic;
+using System.Collections.Generic;
using System.Threading.Tasks;
using JetBrains.Annotations;
using Microsoft.Extensions.Localization;
-using Microsoft.Extensions.Options;
using Scriban;
using Scriban.Runtime;
using Volo.Abp.DependencyInjection;
using Volo.Abp.Localization;
-namespace Volo.Abp.TextTemplating
+namespace Volo.Abp.TextTemplating.Scriban
{
- public class TemplateRenderer : ITemplateRenderer, ITransientDependency
+ public class ScribanTemplateRenderingEngine : TemplateRenderingEngineBase, ITransientDependency
{
- private readonly ITemplateContentProvider _templateContentProvider;
- private readonly ITemplateDefinitionManager _templateDefinitionManager;
- private readonly IStringLocalizerFactory _stringLocalizerFactory;
+ public const string EngineName = "Scriban";
+ public override string Name => EngineName;
- public TemplateRenderer(
- ITemplateContentProvider templateContentProvider,
+ public ScribanTemplateRenderingEngine(
ITemplateDefinitionManager templateDefinitionManager,
+ ITemplateContentProvider templateContentProvider,
IStringLocalizerFactory stringLocalizerFactory)
+ : base(templateDefinitionManager, templateContentProvider, stringLocalizerFactory)
{
- _templateContentProvider = templateContentProvider;
- _templateDefinitionManager = templateDefinitionManager;
- _stringLocalizerFactory = stringLocalizerFactory;
}
- public virtual async Task RenderAsync(
+ public override async Task RenderAsync(
[NotNull] string templateName,
[CanBeNull] object model = null,
[CanBeNull] string cultureName = null,
@@ -66,7 +61,7 @@ namespace Volo.Abp.TextTemplating
Dictionary globalContext,
object model = null)
{
- var templateDefinition = _templateDefinitionManager.Get(templateName);
+ var templateDefinition = TemplateDefinitionManager.Get(templateName);
var renderedContent = await RenderSingleTemplateAsync(
templateDefinition,
@@ -91,10 +86,7 @@ namespace Volo.Abp.TextTemplating
Dictionary globalContext,
object model = null)
{
- var rawTemplateContent = await _templateContentProvider
- .GetContentOrNullAsync(
- templateDefinition
- );
+ var rawTemplateContent = await GetContentOrNullAsync(templateDefinition);
return await RenderTemplateContentWithScribanAsync(
templateDefinition,
@@ -140,7 +132,7 @@ namespace Volo.Abp.TextTemplating
var localizer = GetLocalizerOrNull(templateDefinition);
if (localizer != null)
{
- scriptObject.SetValue("L", new TemplateLocalizer(localizer), true);
+ scriptObject.SetValue("L", new ScribanTemplateLocalizer(localizer), true);
}
context.PushGlobal(scriptObject);
@@ -148,15 +140,5 @@ namespace Volo.Abp.TextTemplating
return context;
}
-
- private IStringLocalizer GetLocalizerOrNull(TemplateDefinition templateDefinition)
- {
- if (templateDefinition.LocalizationResource != null)
- {
- return _stringLocalizerFactory.Create(templateDefinition.LocalizationResource);
- }
-
- return _stringLocalizerFactory.CreateDefaultOrNull();
- }
}
}
diff --git a/framework/src/Volo.Abp.TextTemplating/Volo.Abp.TextTemplating.csproj b/framework/src/Volo.Abp.TextTemplating/Volo.Abp.TextTemplating.csproj
index 506b086a88..3af0ba984d 100644
--- a/framework/src/Volo.Abp.TextTemplating/Volo.Abp.TextTemplating.csproj
+++ b/framework/src/Volo.Abp.TextTemplating/Volo.Abp.TextTemplating.csproj
@@ -5,22 +5,11 @@
netstandard2.0
- Volo.Abp.TextTemplating
- Volo.Abp.TextTemplating
- $(AssetTargetFallback);portable-net45+win8+wp8+wpa81;
- false
- false
- false
-
-
-
-
-
-
+
diff --git a/framework/src/Volo.Abp.TextTemplating/Volo/Abp/TextTemplating/AbpTextTemplatingModule.cs b/framework/src/Volo.Abp.TextTemplating/Volo/Abp/TextTemplating/AbpTextTemplatingModule.cs
index 8d76391829..236d9a1593 100644
--- a/framework/src/Volo.Abp.TextTemplating/Volo/Abp/TextTemplating/AbpTextTemplatingModule.cs
+++ b/framework/src/Volo.Abp.TextTemplating/Volo/Abp/TextTemplating/AbpTextTemplatingModule.cs
@@ -1,46 +1,13 @@
using System;
-using System.Collections.Generic;
-using Microsoft.Extensions.DependencyInjection;
-using Volo.Abp.Localization;
using Volo.Abp.Modularity;
-using Volo.Abp.VirtualFileSystem;
+using Volo.Abp.TextTemplating.Scriban;
namespace Volo.Abp.TextTemplating
{
- [DependsOn(
- typeof(AbpVirtualFileSystemModule),
- typeof(AbpLocalizationAbstractionsModule)
- )]
+ [Obsolete("This module will be removed in the future. Please use AbpTextTemplatingScribanModule or AbpTextTemplatingRazorModule.")]
+ [DependsOn(typeof(AbpTextTemplatingScribanModule))]
public class AbpTextTemplatingModule : AbpModule
{
- public override void PreConfigureServices(ServiceConfigurationContext context)
- {
- AutoAddProvidersAndContributors(context.Services);
- }
- private static void AutoAddProvidersAndContributors(IServiceCollection services)
- {
- var definitionProviders = new List();
- var contentContributors = new List();
-
- services.OnRegistred(context =>
- {
- if (typeof(ITemplateDefinitionProvider).IsAssignableFrom(context.ImplementationType))
- {
- definitionProviders.Add(context.ImplementationType);
- }
-
- if (typeof(ITemplateContentContributor).IsAssignableFrom(context.ImplementationType))
- {
- contentContributors.Add(context.ImplementationType);
- }
- });
-
- services.Configure(options =>
- {
- options.DefinitionProviders.AddIfNotContains(definitionProviders);
- options.ContentContributors.AddIfNotContains(contentContributors);
- });
- }
}
}
diff --git a/framework/src/Volo.Abp.Timing/Volo/Abp/Timing/Localization/fi.json b/framework/src/Volo.Abp.Timing/Volo/Abp/Timing/Localization/fi.json
new file mode 100644
index 0000000000..f7301d9c31
--- /dev/null
+++ b/framework/src/Volo.Abp.Timing/Volo/Abp/Timing/Localization/fi.json
@@ -0,0 +1,7 @@
+{
+ "culture": "fi",
+ "texts": {
+ "DisplayName:Abp.Timing.Timezone": "Aikavyöhyke",
+ "Description:Abp.Timing.Timezone": "Levityksen aikavyöhyke"
+ }
+}
\ No newline at end of file
diff --git a/framework/src/Volo.Abp.UI.Navigation/Volo/Abp/Ui/Navigation/ApplicationMenuItem.cs b/framework/src/Volo.Abp.UI.Navigation/Volo/Abp/Ui/Navigation/ApplicationMenuItem.cs
index 63f4d7239d..f269c34598 100644
--- a/framework/src/Volo.Abp.UI.Navigation/Volo/Abp/Ui/Navigation/ApplicationMenuItem.cs
+++ b/framework/src/Volo.Abp.UI.Navigation/Volo/Abp/Ui/Navigation/ApplicationMenuItem.cs
@@ -1,10 +1,11 @@
using System;
using System.Collections.Generic;
using JetBrains.Annotations;
+using Volo.Abp.SimpleStateChecking;
namespace Volo.Abp.UI.Navigation
{
- public class ApplicationMenuItem : IHasMenuItems
+ public class ApplicationMenuItem : IHasMenuItems, IHasSimpleStateCheckers
{
private string _displayName;
@@ -72,8 +73,11 @@ namespace Volo.Abp.UI.Navigation
public ApplicationMenuItemList Items { get; }
[CanBeNull]
+ [Obsolete("Use RequirePermissions extension method.")]
public string RequiredPermissionName { get; set; }
+ public List> StateCheckers { get; }
+
///
/// Can be used to store a custom object related to this menu item. Optional.
///
@@ -114,7 +118,7 @@ namespace Volo.Abp.UI.Navigation
ElementId = elementId ?? GetDefaultElementId();
CssClass = cssClass;
RequiredPermissionName = requiredPermissionName;
-
+ StateCheckers = new List>();
Items = new ApplicationMenuItemList();
}
diff --git a/framework/src/Volo.Abp.UI.Navigation/Volo/Abp/Ui/Navigation/Localization/Resource/fi.json b/framework/src/Volo.Abp.UI.Navigation/Volo/Abp/Ui/Navigation/Localization/Resource/fi.json
new file mode 100644
index 0000000000..41a34208e5
--- /dev/null
+++ b/framework/src/Volo.Abp.UI.Navigation/Volo/Abp/Ui/Navigation/Localization/Resource/fi.json
@@ -0,0 +1,6 @@
+{
+ "culture": "fi",
+ "texts": {
+ "Menu:Administration": "Hallinto"
+ }
+}
\ No newline at end of file
diff --git a/framework/src/Volo.Abp.UI.Navigation/Volo/Abp/Ui/Navigation/MenuManager.cs b/framework/src/Volo.Abp.UI.Navigation/Volo/Abp/Ui/Navigation/MenuManager.cs
index 960389230e..fe5c5da242 100644
--- a/framework/src/Volo.Abp.UI.Navigation/Volo/Abp/Ui/Navigation/MenuManager.cs
+++ b/framework/src/Volo.Abp.UI.Navigation/Volo/Abp/Ui/Navigation/MenuManager.cs
@@ -2,10 +2,10 @@ using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
-using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
using Volo.Abp.Authorization.Permissions;
using Volo.Abp.DependencyInjection;
+using Volo.Abp.SimpleStateChecking;
namespace Volo.Abp.UI.Navigation
{
@@ -13,13 +13,16 @@ namespace Volo.Abp.UI.Navigation
{
protected AbpNavigationOptions Options { get; }
protected IHybridServiceScopeFactory ServiceScopeFactory { get; }
+ protected ISimpleStateCheckerManager SimpleStateCheckerManager { get; }
public MenuManager(
IOptions options,
- IHybridServiceScopeFactory serviceScopeFactory)
+ IHybridServiceScopeFactory serviceScopeFactory,
+ ISimpleStateCheckerManager simpleStateCheckerManager)
{
- ServiceScopeFactory = serviceScopeFactory;
Options = options.Value;
+ ServiceScopeFactory = serviceScopeFactory;
+ SimpleStateCheckerManager = simpleStateCheckerManager;
}
public async Task GetAsync(string name)
@@ -45,18 +48,26 @@ namespace Volo.Abp.UI.Navigation
protected virtual async Task CheckPermissionsAsync(IServiceProvider serviceProvider, IHasMenuItems menuWithItems)
{
- var requiredPermissionItems = new List();
- GetRequiredPermissionNameMenus(menuWithItems, requiredPermissionItems);
+ var allMenuItems = new List();
+ GetAllMenuItems(menuWithItems, allMenuItems);
- if (requiredPermissionItems.Any())
+ foreach (var item in allMenuItems)
{
- var permissionChecker = serviceProvider.GetRequiredService();
- var grantResult = await permissionChecker.IsGrantedAsync(requiredPermissionItems.Select(x => x.RequiredPermissionName).Distinct().ToArray());
+ if (!item.RequiredPermissionName.IsNullOrWhiteSpace())
+ {
+ item.RequirePermissions(item.RequiredPermissionName);
+ }
+ }
+ var checkPermissionsMenuItems = allMenuItems.Where(x => x.StateCheckers.Any()).ToArray();
+
+ if (checkPermissionsMenuItems.Any())
+ {
var toBeDeleted = new HashSet();
- foreach (var menu in requiredPermissionItems)
+ var result = await SimpleStateCheckerManager.IsEnabledAsync(checkPermissionsMenuItems);
+ foreach (var menu in checkPermissionsMenuItems)
{
- if (grantResult.Result[menu.RequiredPermissionName!] != PermissionGrantResult.Granted)
+ if (!result[menu])
{
toBeDeleted.Add(menu);
}
@@ -66,16 +77,12 @@ namespace Volo.Abp.UI.Navigation
}
}
- protected virtual void GetRequiredPermissionNameMenus(IHasMenuItems menuWithItems, List output)
+ protected virtual void GetAllMenuItems(IHasMenuItems menuWithItems, List output)
{
foreach (var item in menuWithItems.Items)
{
- if (!item.RequiredPermissionName.IsNullOrWhiteSpace())
- {
- output.Add(item);
- }
-
- GetRequiredPermissionNameMenus(item, output);
+ output.Add(item);
+ GetAllMenuItems(item, output);
}
}
diff --git a/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/fi.json b/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/fi.json
new file mode 100644
index 0000000000..844752e093
--- /dev/null
+++ b/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/fi.json
@@ -0,0 +1,52 @@
+{
+ "culture": "fi",
+ "texts": {
+ "Languages": "Kieli (kielet",
+ "AreYouSure": "Oletko varma?",
+ "Cancel": "Peruuttaa",
+ "Clear": "Asia selvä",
+ "Yes": "Joo",
+ "No": "Ei",
+ "Ok": "Ok",
+ "Close": "kiinni",
+ "Save": "Tallentaa",
+ "SavingWithThreeDot": "Tallentaa...",
+ "Actions": "Toiminnot",
+ "Delete": "Poistaa",
+ "Edit": "Muokata",
+ "Refresh": "virkistää",
+ "Language": "Kieli",
+ "LoadMore": "Lataa lisää",
+ "ProcessingWithThreeDot": "Käsitellään ...",
+ "LoadingWithThreeDot": "Ladataan...",
+ "Welcome": "Tervetuloa",
+ "Login": "Kirjaudu sisään",
+ "Register": "Rekisteröidy",
+ "Logout": "Kirjautua ulos",
+ "Submit": "Lähetä",
+ "Back": "Takaisin",
+ "PagerSearch": "Hae",
+ "PagerNext": "Seuraava",
+ "PagerPrevious": "Edellinen",
+ "PagerFirst": "Ensimmäinen",
+ "PagerLast": "Kestää",
+ "PagerInfo": "Näytetään _START_ - _END_ / _TOTAL_ merkinnästä",
+ "PagerInfo{0}{1}{2}": "Näytetään {0} - {1} / {2} merkinnästä",
+ "PagerInfoEmpty": "Näytetään 0 - 0/0 merkinnästä",
+ "PagerInfoFiltered": "(suodatettu _MAX_ merkinnän kokonaismäärästä)",
+ "NoDataAvailableInDatatable": "Tietoja ei ole käytettävissä",
+ "Total": "kaikki yhteensä",
+ "Selected": "valittu",
+ "PagerShowMenuEntries": "Näytä _MENU_ merkinnät",
+ "DatatableActionDropdownDefaultText": "Toiminnot",
+ "ChangePassword": "Vaihda salasana",
+ "PersonalInfo": "Profiilini",
+ "AreYouSureYouWantToCancelEditingWarningMessage": "Sinulla on tallentamattomia muutoksia.",
+ "GoHomePage": "Siirry kotisivulle",
+ "GoBack": "Mene takaisin",
+ "Search": "Hae",
+ "ItemWillBeDeletedMessageWithFormat": "{0} poistetaan!",
+ "ItemWillBeDeletedMessage": "Tämä kohde poistetaan!",
+ "ManageYourAccount": "Hallitse tiliäsi"
+ }
+}
\ No newline at end of file
diff --git a/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/fr.json b/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/fr.json
index 8084270436..c27708ee09 100644
--- a/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/fr.json
+++ b/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/fr.json
@@ -46,6 +46,7 @@
"GoBack": "Retour",
"Search": "Recherche",
"ItemWillBeDeletedMessageWithFormat": "{0} sera supprimé!",
- "ItemWillBeDeletedMessage": "Cet objet va être supprimé!"
+ "ItemWillBeDeletedMessage": "Cet objet va être supprimé!",
+ "ManageYourAccount": "Gérer votre compte"
}
-}
+}
\ No newline at end of file
diff --git a/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/nl.json b/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/nl.json
index 69ad662be1..a85e443bdf 100644
--- a/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/nl.json
+++ b/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/nl.json
@@ -7,7 +7,7 @@
"Clear": "Wissen",
"Yes": "Ja",
"No": "Nee",
- "Ok": "Oké",
+ "Ok": "Oké",
"Close": "Sluiten",
"Save": "Opslaan",
"SavingWithThreeDot": "Opslaan...",
diff --git a/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/zh-Hans.json b/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/zh-Hans.json
index 59a680bb81..96c49401ea 100644
--- a/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/zh-Hans.json
+++ b/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/zh-Hans.json
@@ -4,7 +4,7 @@
"Languages": "语言",
"AreYouSure": "你确定吗?",
"Cancel": "取消",
- "Clear": "清楚",
+ "Clear": "清除",
"Yes": "是",
"No": "否",
"Ok": "Ok",
@@ -49,4 +49,4 @@
"ItemWillBeDeletedMessage": "此项将被删除!",
"ManageYourAccount": "管理你的账户"
}
-}
\ No newline at end of file
+}
diff --git a/framework/src/Volo.Abp.Validation/Volo/Abp/Validation/Localization/fi.json b/framework/src/Volo.Abp.Validation/Volo/Abp/Validation/Localization/fi.json
new file mode 100644
index 0000000000..f4501b87cf
--- /dev/null
+++ b/framework/src/Volo.Abp.Validation/Volo/Abp/Validation/Localization/fi.json
@@ -0,0 +1,34 @@
+{
+ "culture": "fi",
+ "texts": {
+ "'{0}' and '{1}' do not match.": "{0} ja {1} eivät täsmää.",
+ "The {0} field is not a valid credit card number.": "Kenttä {0} ei ole kelvollinen luottokortin numero.",
+ "{0} is not valid.": "{0} ei kelpaa.",
+ "The {0} field is not a valid e-mail address.": "{0} -kenttä ei ole kelvollinen sähköpostiosoite.",
+ "The {0} field only accepts files with the following extensions: {1}": "{0} -kenttä hyväksyy vain tiedostot, joilla on seuraavat laajennukset: {1}",
+ "The field {0} must be a string or array type with a maximum length of '{1}'.": "Kentän {0} on oltava merkkijono- tai taulukotyyppi, jonka enimmäispituus on {1}.",
+ "The field {0} must be a string or array type with a minimum length of '{1}'.": "Kentän {0} on oltava merkkijono tai matriisityyppi, jonka vähimmäispituus on {1}.",
+ "The {0} field is not a valid phone number.": "{0} -kenttä ei ole kelvollinen puhelinnumero.",
+ "The field {0} must be between {1} and {2}.": "Kentän {0} on oltava välillä {1} - {2}.",
+ "The field {0} must match the regular expression '{1}'.": "Kenttä {0} ei vastaa pyydettyä muotoa.",
+ "The {0} field is required.": "{0} -kenttä on pakollinen.",
+ "The field {0} must be a string with a maximum length of {1}.": "Kentän {0} on oltava merkkijono, jonka enimmäispituus on {1}.",
+ "The field {0} must be a string with a minimum length of {2} and a maximum length of {1}.": "Kentän {0} on oltava merkkijono, jonka vähimmäispituus on {2} ja enimmäispituus {1}.",
+ "The {0} field is not a valid fully-qualified http, https, or ftp URL.": "{0} -kenttä ei ole kelvollinen täysin hyväksytty http, https tai ftp URL.",
+ "The field {0} is invalid.": "Kenttä {0} on virheellinen.",
+ "ThisFieldIsNotAValidCreditCardNumber.": "Tämä kenttä ei ole kelvollinen luottokortin numero.",
+ "ThisFieldIsNotValid.": "Tämä kenttä ei kelpaa.",
+ "ThisFieldIsNotAValidEmailAddress.": "Tämä kenttä ei ole kelvollinen sähköpostiosoite.",
+ "ThisFieldOnlyAcceptsFilesWithTheFollowingExtensions:{0}": "Tämä kenttä hyväksyy vain tiedostot, joilla on seuraavat laajennukset: {0}",
+ "ThisFieldMustBeAStringOrArrayTypeWithAMaximumLengthOf{0}": "Tämän kentän on oltava merkkijono- tai taulukotyyppi, jonka enimmäispituus on {0}.",
+ "ThisFieldMustBeAStringOrArrayTypeWithAMinimumLengthOf{0}": "Tämän kentän on oltava merkkijono- tai taulukotyyppi, jonka vähimmäispituus on {0}.",
+ "ThisFieldIsNotAValidPhoneNumber.": "Tämä kenttä ei ole kelvollinen puhelinnumero.",
+ "ThisFieldMustBeBetween{0}And{1}": "Tämän kentän on oltava välillä {0} - {1}.",
+ "ThisFieldMustMatchTheRegularExpression{0}": "Tämän kentän on vastattava säännöllistä lauseketta {0}.",
+ "ThisFieldIsRequired.": "Tämä kenttä pitää täyttää.",
+ "ThisFieldMustBeAStringWithAMaximumLengthOf{0}": "Tämän kentän on oltava merkkijono, jonka enimmäispituus on {0}.",
+ "ThisFieldMustBeAStringWithAMinimumLengthOf{1}AndAMaximumLengthOf{0}": "Tämän kentän on oltava merkkijono, jonka vähimmäispituus on {1} ja enimmäispituus {0}.",
+ "ThisFieldIsNotAValidFullyQualifiedHttpHttpsOrFtpUrl": "Tämä kenttä ei ole kelvollinen täysin hyväksytty http, https tai ftp URL.",
+ "ThisFieldIsInvalid.": "Tämä kenttä on virheellinen."
+ }
+}
\ No newline at end of file
diff --git a/framework/test/Volo.Abp.AspNetCore.Mvc.Tests/Volo/Abp/AspNetCore/Mvc/Localization/Resource/fi.json b/framework/test/Volo.Abp.AspNetCore.Mvc.Tests/Volo/Abp/AspNetCore/Mvc/Localization/Resource/fi.json
new file mode 100644
index 0000000000..9e0ba9d1ed
--- /dev/null
+++ b/framework/test/Volo.Abp.AspNetCore.Mvc.Tests/Volo/Abp/AspNetCore/Mvc/Localization/Resource/fi.json
@@ -0,0 +1,7 @@
+{
+ "culture": "fi",
+ "texts": {
+ "BirthDate": "Syntymäpäivä",
+ "Value1": "Arvo Yksi"
+ }
+}
\ No newline at end of file
diff --git a/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/FormElements.cshtml b/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/FormElements.cshtml
index 6fa9cabb37..4d60a98ea0 100644
--- a/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/FormElements.cshtml
+++ b/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/FormElements.cshtml
@@ -97,7 +97,9 @@