Help:Extension:Translate/Group configuration/ha

Akwai hanyoyi da yawa na ƙara ƙungiyoyin saƙo zuwa Fassara Fassara. Kungiyoyin saƙo sune tarin saƙonni. Yawancin lokaci suna kwatanta su da nau'i ɗaya a cikin software da fayil ɗaya (kuma yawanci ɗaya a kowane harshe don fassarar). Hakanan yana yiwuwa a yi ƙungiyoyi waɗanda suka haɗa da saƙonni daga wasu ƙungiyoyin saƙo. Misali ana iya samun rukunin da ya ƙunshi duk saƙonnin da ke cikin wata software da aka bayar. Ƙungiyoyi kuma za su iya haɗawa da saƙon saƙon kawai, kamar mahimman saƙonnin MediaWiki waɗanda yakamata a fara fassara. Waɗannan ƙungiyoyin mafi girma ba sa taswira kai tsaye zuwa fayiloli ta kowane nau'i na musamman, amma kamar duk ƙungiyoyi ana iya fitar da su cikin tsarin Gettext don amfani da su a wasu kayan aikin fassarar.

Ƙungiyoyin saƙo su ne manyan matakan da masu fassara ke hulɗa da su: don zaɓar saƙon da za su yi aiki da su da farko suna buƙatar zaɓar ƙungiya, sai dai idan suna amfani da binciken fassarar. Ga kowane rukuni muna iya tattara ƙididdiga kuma kowace ƙungiya tana da mai ganowa na musamman. A zahiri, saƙonni sune mafi ƙanƙanta tubalan rubutu waɗanda masu fassara ke fassara ɗaya bayan ɗaya. Hakanan kowane saƙo yana da abin ganowa, wanda galibi ana kiransa maɓalli. Maɓallin baya buƙatar zama na musamman a cikin ƙungiyoyin saƙo.

Daidaitaccen tsarin tsarin rukuni
Yana da sauƙi don ƙara ƙungiyoyin saƙo ta amfani da tsarin YAML. Duk abin da kuke buƙatar yi shine don ayyana filin suna kuma ƙara fayil ɗin sanyi zuwa ; duba shafin daidaitawa don ƙarin bayani. Misali:

Fayil ɗin kanta yana amfani da tsarin tsarin YAML. Ba a bayyana ma'anar kalmar a nan ba, amma yana da sauƙin koya, kuma duk rukunin da aka riga aka yi ana iya amfani da su azaman misalai. Ka tuna amfani da sarari maimakon shafuka don shigarwa. Kowane fayil na iya ayyana ƙungiyoyin saƙo da yawa. Kowane ma'anar rukuni yana rabu da layi mai dashes uku, wanda shine daidaitaccen mai raba takarda a cikin YAML.

An karya ma'anar zuwa ƴan manyan abubuwa: BASICFILESMANGLERVALIDATORSINSERTABLESTAGSAUTOLOADLANGUAGES da TEMPLATE na musamman. Wasu ƙungiyoyin al'ada na iya ƙara ƙarin abubuwan matakin sama. Ba duk ƙungiyoyi ne ke buƙatar ayyana su duka ba.

GASKIYA
Wannan sashe ya ƙunshi mahimman bayanai game da ƙungiyar, kamar id da suna na musamman. Jerin maɓallai masu yuwuwa (maɓallai na wajibi ana yiwa alama da *):

Misali:

FILES
Wannan sashe yana bayyana tsarin tsarin fayil da tsarin fayilolin saƙo don ƙungiyoyin nau'in FileBasedMessageGroup. Jerin maɓallai masu yuwuwa (maɓallai na wajibi ana yiwa alama da *):

Matsalolin hanyoyin sune:

Misali:

MAGANGANUN
Mangler hanya ce ta mulle maɓallan saƙo don guje wa maɓallan saƙon da ke karo da juna a ƙungiyoyi da yawa:

Misali:

MASU GASKIYA
Wannan sashe yana ba da damar ayyana waɗanda aka riga aka ƙayyade ko na al'ada masu tabbatarwa.

BA'A SAUKI
Wannan sashe yana ba da damar ayyana aji wanda ke ba da shawarar abubuwan da ake sakawa ko amfani da abubuwan da aka riga aka ayyana. Ana iya loda azuzuwan ta atomatik kamar yadda aka bayyana a sashin AUTOLOAD.

TAGS
Yana yiwuwa a sanya tags zuwa saƙonni. Kowane tag yana ɗaukar jerin maɓallan saƙo (bayan mangling). "*" za a iya amfani da shi azaman alamar ƙira. Ana tallafawa alamun masu zuwa:

Misali:

KYAUTA
Wannan abun yana ɗaukar jerin sunayen aji tare da sunayen fayil azaman ƙima. This way custom classes can be bundled easily with your custom message groups. The path should be relative to the location of the group configuration file itself.

Example:

TEMPLATE
There is a handy shortcut if you are defining multiple similar message groups. To avoid repetition, have the first definition start with this key. You can use any other top-level keys as subkeys for this item. All other groups will use these definitions as default values. Each group can of course override the default value from the template.

Example:

GROUPS (for AggregateMessageGroup class)
This key only takes list of group ids this message group consists of.

Example:

Wildcards are supported. In this case the aggregate group will not recursively include itself even if it matches a pattern. Example:

Wildcards can be problematic if you have nested aggregate groups, because some groups can be included multiple times: both directly and via the included aggregate groups.

LANGUAGES
This key makes it possible to allow and disallow translation into specific languages for the group. Translation into disallowed languages will be blocked.

Allowed ("include") entries override any values in the disallowed ("exclude") list. If an allowed entry is  that means all languages are allowed. The allowed list is also optional.

Message groups for interface messages specific to your wiki
Example of message group for custom user interface of the wiki, for example for localized sidebar. Add the following code into your  and replace wikiname with something meaningful.

Shortcut for MediaWiki extensions
See units group for MediaWiki.