Extension:ContentTranslation/hi

Category:GPL licensed extensions/hi
मीडियाविकि एक्सटेंशन मैन्युअल
ContentTranslation
प्रकाशन की स्थिति: स्थिरCategory:Stable extensions/hi
कार्यान्वयन सदस्य इंटरफ़ेसCategory:User interface extensions/hi, पृष्ठ कार्य Category:Page action extensions/hi
विवरण उपकरण जिसकी मदद से संपादक मशीन अनुवाद और दूसरे अनुवाद सहायताओं की मदद से किसी लेख को एक भाषा से दूसरी भाषा में अनुवादित कर सकते हैं।
लेखक भाषा दल
संगतता नीति मीडियाविकि के साथ प्रकाशित स्नैपशॉट्स। Master में पीछे की तरफ से संगतता नहीं है।
MediaWiki 1.37+Category:Extensions with manual MediaWiki version/hi
PHP 7.2+
डेटाबेस बदलता है हाँ
Composer mediawiki/content-translationCategory:Extensions supporting Composer/hi
टेबल cx_translations
cx_translators
cx_lists
cx_suggestions
cx_corpora
cx_notification_log
cx_significant_edits
cx_section_translations
लाइसेंस GNU साधारण सार्वजनिक लाइसेंस 2.0 या उसके बाद
डाउनलोड करें Category:Extensions in Wikimedia version control/hi
सहायता Help:Extension:ContentTranslation/hi
  • $wgContentTranslationEnableSuggestions
  • $wgContentTranslationVersion
  • $wgContentTranslationContentImportForSectionTranslation
  • $wgContentTranslationDomainCodeMapping
  • $wgContentTranslationCXServerAuth
  • $wgContentTranslationEnableAnonSectionTranslation
  • $wgContentTranslationExcludedNamespaces
  • $wgContentTranslationAsBetaFeature
  • $wgContentTranslationTranslateInTarget
  • $wgContentTranslationDevMode
  • $wgRecommendToolAPIURL
  • $wgDraftMaxAge
  • $wgContentTranslationEnableMT
  • $wgAutomaticTranslationLanguageSearcherEntrypointEnabledLanguages
  • $wgContentTranslationEnableUnifiedDashboard
  • $wgContentTranslationSiteTemplates
  • $wgContentTranslationUnmodifiedMTThresholdForPublish
  • $wgSectionTranslationTargetLanguages
  • $wgContentTranslationPublishRequirements
  • $wgContentTranslationCampaigns
  • $wgContentTranslationTargetNamespace
ContentTranslation एक्सटेंशन को अनुवादित करें अगर यह translatewiki.net पर उपलब्ध है
मुद्दे अधूरे कार्य · बग की रिपोर्ट करें
Category:All extensions/hi

ContentTranslation (सामग्री अनुवाद) एक उपकरण है जिसकी मदद से संपादक मशीन अनुवाद और दूसरे अनुवाद सहायताओं की मदद से किसी लेख को एक भाषा से दूसरी भाषा में अनुवादित कर सकते हैं। पीछे की और अधिक जानकारी के लिए सामग्री अनुवाद देखें। यह उपकरण विकिमीडिया भाषा अभियांत्रिकी दल द्वारा विकसित किया जा रहा है।

स्थापना

This extension requires a CXserver to be setup first. Moreover it has extension dependencies.
  • फ़ाइलों को डाउनलोड करें और अपने extensions/ फ़ोल्डर के ContentTranslation नामक डिरेक्ट्री में डालें।
    Developers and code contributors should install the extension from Git instead, using:
    cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/ContentTranslation
    
  • सिर्फ गिट से डाउनलोड करते समय एक्सटेंशन डिरेक्ट्री से composer install --no-dev प्रकाशित करके PHP निर्भरताएँ स्थापित करने के लिए Composer चलाएँ। (संभावित जटिलताओं के लिए T173141 देखें।)Category:Extensions requiring Composer with git/hi
  • अपने LocalSettings.php फ़ाइल के अंत में निम्न कोड जोड़ें:
    wfLoadExtension( 'ContentTranslation' );
    
  • अपडेट स्क्रिप्ट चलाएँ जो स्वचालित रूप से आवश्यक डेटाबेस टेबल्स का निर्माण करेगा जिसकी इस एक्सटेंशन को आवश्यकता है।
  • Yes पूर्ण – अपने विकि पर Special:Version पर जाकर देखें कि एक्सटेंशन को सफलतापूर्वक स्थापित किया गया है कि नहीं।


Vagrant स्थापना:

  • अगर आप Vagrant का इस्तेमाल कर रहे हैं, तो vagrant roles enable contenttranslation --provision से स्थापित करें

Content Translation server

इस एक्सटेंशन को एक चलने वाला सामग्री अनुवाद सर्वर (यानी CX सर्वर) चाहिए। अनुवाद सामग्री सर्वर को सेटअप करने की विधि के लिए Content translation/cxserver/Setup देखें। सामग्री अनुवाद को लोकल रूप से चलाते समय सृष्टि CX सर्वर पर यह जोड़ा जा सकता है:

$wgContentTranslationSiteTemplates['cx'] = 'https://cxserver.wikimedia.org/v1';

एक्सटेंशन की निर्भरताएँ

ContentTranslation इन एक्सटेंशनों पर निर्भर है:

UniversalLanguageSelector Required
VisualEditor Required एडिटर के अवयव के लिए ज़रूरी है।
Cite Required अगर आप अनुवादित करते समय सन्दर्भों की अनुमति देना चाहते हैं, यह काम आ सकता है।
WikimediaMessage Required
GuidedTour Optional अगर इसे स्थापित किया जाता है, इससे किसी पृष्ठ को सदस्य नामस्थान से बाहर स्थानांतरित करने के बारे में एक व्याख्या दिखाई जाएगी।
Echo Optional अगर इसे स्थापित किया जाता है, इसकी मदद से किसी अनुवाद उपलब्धि को प्राप्त करने के बाद शाबाशी का एक संदेश दिखाया जाएगा।
Wikibase Optional अगर इसे विकिपीडिया की तरह स्थापित और कॉन्फ़िगर किया जाता है, इससे अंतरभाषा कड़ियों को अपने आप (साइटकड़ियों के रूप में) जोड़ा जाएगा।
EventLogging Optional अगर इसे स्थापित किया जाता है, इससे प्रकाशन, त्रुटियाँ, और दूसरी घटनाएँ लॉग की जा सकती हैं।
BetaFeatures Optional अगर इसे स्थापित किया जाता है, ContentTranslation वरीयताओं में एक बीटा सुविधा के रूप में उपलब्ध होगी।


कॉन्फ़िगरेशन के वेरिएबल

Category:Drafts

For the full list and defaults, see extension.json in the source repository.

ContentTranslationDomainCodeMapping
Used to map between non-standard language codes and actual domains. The default is the same as in Wikipedia codes and domains.
ContentTranslationSiteTemplates
Templates for essential URLs. The defaults assume Wikipedia, so this variable must be configured differently for other sites. Where relevant, $1 is replaced by the language code, and $2 is replaced by the page title.
ContentTranslationTranslateInTarget
Whether to open Special:ContentTranslation in the target wiki when clicking the button in the entry point. The domain will be based on $wgContentTranslationSiteTemplates. The default is to open Special:ContentTranslation on the same wiki. (For Wikipedia this is set to true.)
ContentTranslationAsBetaFeature
Whether ContentTranslation is a beta feature.
ContentTranslationTargetNamespace
The default target namespace for published articles. The default is Main.
ContentTranslationCampaigns
Campaigns that are available in the URL as valid values for the campaign parameter in the URL. This allows automatic enabling of the beta feature and event logging.
ContentTranslationCXServerAuth
CXServer connection configuration.
ContentTranslationEnableSuggestions
Whether to use the suggestions tab and automatic suggestions. This needs the GapFinder API. This is false by default, but true in Wikipedia.
RecommendToolAPIURL
The URL for the GapFinder API, needed if ContentTranslationEnableSuggestions is true.


URl पैरामीटर

सामग्री अनुवाद मुख्यतः Special:ContentTranslation विशेष पृष्ठ पर काम करता है। URL पैरामीटर्स हैं:

  • page: स्रोत का शीर्षक
  • targettitle: लक्ष्य का शीर्षक
  • from: स्रोत भाषा
  • to: लक्ष्य भाषा
  • campaign: अभियान का नाम
    • विकिमीडिया विकियों पर, अगर सदस्य की सेटिंग्स पर सामग्री अनुवाद को सक्षम न किया जाता है, सिर्फ पूर्व-परिभाषित अभियानों की कड़ियाँ ही काम करेंगी। अभियानों को InitialiseSettings.php wmgContentTranslationCampaigns वेरिएबल में परिभाषित किया जाता है।

उदाहरण

ये भी देखें

Category:Extensions used on Wikimedia/hi#ContentTranslation/hi Category:WYSIWYG extensions/hi Category:Localisation extensions/hi Category:Language Engineering/hi Category:Content Translation/hi
Category:All extensions/hi Category:BeforeCreateEchoEvent extensions/hi Category:BeforePageDisplay extensions/hi Category:ChangeTagsListActive extensions/hi Category:Content Translation/hi Category:ContributeCards extensions/hi Category:Drafts Category:EchoGetBundleRules extensions/hi Category:EditPage::showEditForm:initial extensions/hi Category:Extensions in Wikimedia version control/hi Category:Extensions requiring Composer with git/hi Category:Extensions supporting Composer/hi Category:Extensions used on Wikimedia/hi Category:Extensions with manual MediaWiki version/hi Category:GPL licensed extensions/hi Category:GetBetaFeaturePreferences extensions/hi Category:GetPreferences extensions/hi Category:Language Engineering/hi Category:ListDefinedTags extensions/hi Category:LoadExtensionSchemaUpdates extensions/hi Category:Localisation extensions/hi Category:Page action extensions/hi Category:ResourceLoaderRegisterModules extensions/hi Category:SaveUserOptions extensions/hi Category:SectionTranslationBeforePublish extensions/hi Category:SkinAfterContent extensions/hi Category:SpecialContributionsBeforeMainOutput extensions/hi Category:Stable extensions/hi Category:User interface extensions/hi Category:WYSIWYG extensions/hi