# Seed: mod_bib_cta 1.0.9 base package and optional language packs

This seed imports the new split distribution model for **Baby in Brazil CTA**.

## Distribution model

- `mod_bib_cta_v1_0_9_base_en_only.zip` is the base Joomla module package and contains only `en-GB`.
- `ru-RU`, `pt-BR`, `lv-LV`, `lt-LT`, `et-EE`, `uk-UA` and `es-ES` are separate optional language pack ZIP files.
- The base module must be installed first; optional language packs can be installed afterwards.

## Parent extension

| Field | Value |
|---|---|
| Name | Baby in Brazil CTA |
| Alias | `mod-bib-cta` |
| Element | `mod_bib_cta` |
| Type | `module` |
| Client | `site` |
| Release | `1.0.9` |
| Joomla compatibility | `5.x`, `6.x` |
| PHP compatibility | `8.1`, `8.2`, `8.3`, `8.4`, `8.5` |

## Optional child language packs

| Language | Shorthand | Alias | Joomla element | Version | Size | SHA256 |
|---|---|---|---|---:|---:|---|
| `es-ES` | `es` | `mod-bib-cta-lang-es-es` | `mod_bib_cta_spanish_language_pack` | `1.0.8` | 3791 | `e9bdee147b1675efde37506fe064bd58b9478f0430fffe4c5f1d37f008dcc561` |
| `et-EE` | `ee` | `mod-bib-cta-lang-et-ee` | `mod_bib_cta_estonian_language_pack` | `1.0.8` | 3708 | `7b8a5b00412505be2287c708de437bf6a5c34fbd50c3605fcb131924cbd09851` |
| `lt-LT` | `lt` | `mod-bib-cta-lang-lt-lt` | `mod_bib_cta_lithuanian_language_pack` | `1.0.8` | 3899 | `519c2128cc6d3e3fbb2c4c76d0e70a5520f483977302d3e73beaa614e986c9a3` |
| `lv-LV` | `lv` | `mod-bib-cta-lang-lv-lv` | `mod_bib_cta_latvian_language_pack` | `1.0.8` | 3828 | `7949c9260d2032117604e0350aa27f3a6aaaec9c8dc43f2b34c6916365291cdf` |
| `pt-BR` | `pt` | `mod-bib-cta-lang-pt-br` | `mod_bib_cta_portuguese_brazil_language_pack` | `1.0.8` | 3833 | `06c9c8bfc6ea542531e0a7b816cb934bd8738979ad6012b06348366a09ca4de3` |
| `ru-RU` | `ru` | `mod-bib-cta-lang-ru-ru` | `mod_bib_cta_russian_language_pack` | `1.0.8` | 4316 | `437da1467d7acd596cfe5f93f813edde392998f113a7645af38386c2ae1afb0c` |
| `uk-UA` | `ua` | `mod-bib-cta-lang-uk-ua` | `mod_bib_cta_ukrainian_language_pack` | `1.0.8` | 4293 | `bc9c6ca32093b967df097d0487b2e35097c2c084b0d1f8236aa7f9c3012ce01e` |

## Public catalog behavior

The language packs are inserted as child artifacts of `mod-bib-cta` with:

```text
relation_type = language_pack
display_group = language_packs
is_required = 0
hide_child_from_catalog = 1
public_detail_enabled = 1
allow_individual_downloads = 1
allow_individual_updates = 1
allow_individual_changelog = 1
allow_individual_documentation = 1
```

So they do **not** appear as top-level products, but they are visible from:

```text
/extensions/mod-bib-cta/dependencies/{language-pack-alias}
```

## Migration

```text
app/Database/Migrations/2026-06-07-000012_SeedModBibCta109LanguagePacks.php
```

Run:

```bash
php spark migrate
php spark cache:clear
composer dump-autoload
```
