# fiber-cyber/catalog architecture

> Architecture diagram of the GitHub repository fiber-cyber/catalog, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-22). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/fiber-cyber/catalog
- Repository: https://github.com/fiber-cyber/catalog

## Overview

This repository is a Dutch localization pack for PhoenixCart, not the shop runtime itself. It supplies translated text for storefront and administration screens, modular components, and checkout/payment labels. The README’s user workflow is to add the Dutch language in Admin’s Localization > Languages settings, then select it for the shop or installation wizard; the language files provide text when the host application loads them. Only language files are present here, so runtime loading and module dispatch are host behavior, not evidenced repository call paths.

Main entry points: [`README.md`](https://github.com/fiber-cyber/catalog/blob/master/README.md) (Language setup), [`includes/languages/dutch.php`](https://github.com/fiber-cyber/catalog/blob/master/includes/languages/dutch.php) (Storefront labels), [`includes/languages/dutch/account.php`](https://github.com/fiber-cyber/catalog/blob/master/includes/languages/dutch/account.php) (Account pages), [`includes/languages/dutch/advanced_search.php`](https://github.com/fiber-cyber/catalog/blob/master/includes/languages/dutch/advanced_search.php) (Product search)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_storefront["Storefront language"]
  node_storefront_core["Storefront labels<br/>[dutch.php]"]
  node_storefront_accounts["Account pages<br/>[account.php]"]
  node_storefront_search["Product search"]
end

subgraph group_commerce["Commerce language"]
  node_storefront_checkout["Checkout pages"]
  node_storefront_cart["Shopping cart<br/>[shopping_cart.php]"]
  node_storefront_reviews["Review content<br/>[write.php]"]
  node_gdpr["GDPR content"]
  node_payment["Payment modules<br/>[stripe_sca.php]"]
  node_shipping["Shipping modules"]
end

subgraph group_admin["Admin language"]
  node_admin_core["Admin labels<br/>[dutch.php]"]
  node_admin_catalog["Catalog admin<br/>[catalog.php]"]
  node_admin_orders["Orders admin<br/>[orders.php]"]
  node_admin_reviews["Review admin<br/>[reviews.php]"]
  node_admin_adverts["Advert manager<br/>[advert_manager.php]"]
  node_admin_db["Database tools"]
  node_admin_dashboard["Dashboard labels"]
  node_admin_security["Security checks"]
  node_admin_language_setup["Language setup<br/>[README.md]"]
end

subgraph group_shared["Shared modules"]
  node_content_modules["Page content modules"]
  node_navigation["Navigation modules"]
  node_header_tags["Header tag modules"]
  node_customer_data["Customer data labels"]
  node_translation_pack["Dutch translation<br/>[README.md]"]
end

node_merchant(("Shop administrator"))
node_shopper(("Shopper"))
node_phoenix["PhoenixCart host"]

node_merchant -->|"adds language"| node_admin_language_setup
node_admin_language_setup -->|"sets directory"| node_translation_pack
node_shopper -.->|"uses shop"| node_phoenix
node_phoenix -.->|"loads labels"| node_storefront_core
node_phoenix -.->|"loads labels"| node_admin_core
node_phoenix -.->|"loads labels"| node_admin_catalog
node_phoenix -.->|"loads labels"| node_admin_orders
node_phoenix -.->|"loads labels"| node_admin_reviews
node_phoenix -.->|"loads labels"| node_admin_adverts
node_phoenix -.->|"loads labels"| node_admin_db
node_phoenix -.->|"loads labels"| node_admin_dashboard
node_phoenix -.->|"loads labels"| node_admin_security
node_phoenix -.->|"loads labels"| node_storefront_accounts
node_phoenix -.->|"loads labels"| node_storefront_search
node_phoenix -.->|"loads labels"| node_storefront_checkout
node_phoenix -.->|"loads labels"| node_storefront_cart
node_phoenix -.->|"loads labels"| node_storefront_reviews
node_phoenix -.->|"loads labels"| node_gdpr
node_phoenix -.->|"loads labels"| node_payment
node_phoenix -.->|"loads labels"| node_shipping
node_phoenix -.->|"loads labels"| node_content_modules
node_phoenix -.->|"loads labels"| node_navigation
node_phoenix -.->|"loads labels"| node_header_tags
node_phoenix -.->|"loads labels"| node_customer_data

click node_admin_core "https://github.com/fiber-cyber/catalog/blob/master/admin/includes/languages/dutch.php"
click node_admin_catalog "https://github.com/fiber-cyber/catalog/blob/master/admin/includes/languages/dutch/catalog.php"
click node_admin_orders "https://github.com/fiber-cyber/catalog/blob/master/admin/includes/languages/dutch/orders.php"
click node_admin_reviews "https://github.com/fiber-cyber/catalog/blob/master/admin/includes/languages/dutch/reviews.php"
click node_admin_adverts "https://github.com/fiber-cyber/catalog/blob/master/admin/includes/languages/dutch/advert_manager.php"
click node_admin_db "https://github.com/fiber-cyber/catalog/blob/master/admin/includes/languages/dutch/database_tables.php"
click node_admin_dashboard "https://github.com/fiber-cyber/catalog/tree/master/admin/includes/languages/dutch/modules/dashboard"
click node_admin_security "https://github.com/fiber-cyber/catalog/tree/master/admin/includes/languages/dutch/modules/security_check"
click node_storefront_core "https://github.com/fiber-cyber/catalog/blob/master/includes/languages/dutch.php"
click node_storefront_accounts "https://github.com/fiber-cyber/catalog/blob/master/includes/languages/dutch/account.php"
click node_storefront_search "https://github.com/fiber-cyber/catalog/blob/master/includes/languages/dutch/advanced_search.php"
click node_storefront_checkout "https://github.com/fiber-cyber/catalog/blob/master/includes/languages/dutch/checkout_payment.php"
click node_storefront_cart "https://github.com/fiber-cyber/catalog/blob/master/includes/languages/dutch/shopping_cart.php"
click node_storefront_reviews "https://github.com/fiber-cyber/catalog/blob/master/includes/languages/dutch/modules/content/reviews/write.php"
click node_gdpr "https://github.com/fiber-cyber/catalog/tree/master/includes/languages/dutch/modules/content/gdpr"
click node_payment "https://github.com/fiber-cyber/catalog/blob/master/includes/languages/dutch/modules/payment/stripe_sca.php"
click node_shipping "https://github.com/fiber-cyber/catalog/tree/master/includes/languages/dutch/modules/shipping"
click node_content_modules "https://github.com/fiber-cyber/catalog/tree/master/includes/languages/dutch/modules/content"
click node_navigation "https://github.com/fiber-cyber/catalog/tree/master/includes/languages/dutch/modules/navbar"
click node_header_tags "https://github.com/fiber-cyber/catalog/tree/master/includes/languages/dutch/modules/header_tags"
click node_customer_data "https://github.com/fiber-cyber/catalog/tree/master/includes/languages/dutch/modules/customer_data"
click node_admin_language_setup "https://github.com/fiber-cyber/catalog/blob/master/README.md"
click node_translation_pack "https://github.com/fiber-cyber/catalog/blob/master/README.md"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_storefront_core,node_storefront_accounts,node_storefront_search toneBlue
class node_storefront_checkout,node_storefront_cart,node_storefront_reviews,node_gdpr,node_payment,node_shipping toneAmber
class node_admin_core,node_admin_catalog,node_admin_orders,node_admin_reviews,node_admin_adverts,node_admin_db,node_admin_dashboard,node_admin_security,node_admin_language_setup toneMint
class node_content_modules,node_navigation,node_header_tags,node_customer_data,node_translation_pack toneRose
class node_merchant,node_shopper,node_phoenix toneIndigo
```

## Components

### Storefront language

- [Storefront labels](https://github.com/fiber-cyber/catalog/blob/master/includes/languages/dutch.php): `includes/languages/dutch.php`
- [Account pages](https://github.com/fiber-cyber/catalog/blob/master/includes/languages/dutch/account.php): `includes/languages/dutch/account.php`
- [Product search](https://github.com/fiber-cyber/catalog/blob/master/includes/languages/dutch/advanced_search.php): `includes/languages/dutch/advanced_search.php`

### Commerce language

- [Checkout pages](https://github.com/fiber-cyber/catalog/blob/master/includes/languages/dutch/checkout_payment.php): `includes/languages/dutch/checkout_payment.php`
- [Shopping cart](https://github.com/fiber-cyber/catalog/blob/master/includes/languages/dutch/shopping_cart.php): `includes/languages/dutch/shopping_cart.php`
- [Review content](https://github.com/fiber-cyber/catalog/blob/master/includes/languages/dutch/modules/content/reviews/write.php): `includes/languages/dutch/modules/content/reviews/write.php`
- [GDPR content](https://github.com/fiber-cyber/catalog/tree/master/includes/languages/dutch/modules/content/gdpr): `includes/languages/dutch/modules/content/gdpr`
- [Payment modules](https://github.com/fiber-cyber/catalog/blob/master/includes/languages/dutch/modules/payment/stripe_sca.php): `includes/languages/dutch/modules/payment/stripe_sca.php`
- [Shipping modules](https://github.com/fiber-cyber/catalog/tree/master/includes/languages/dutch/modules/shipping): `includes/languages/dutch/modules/shipping`

### Admin language

- [Admin labels](https://github.com/fiber-cyber/catalog/blob/master/admin/includes/languages/dutch.php): `admin/includes/languages/dutch.php`
- [Catalog admin](https://github.com/fiber-cyber/catalog/blob/master/admin/includes/languages/dutch/catalog.php): `admin/includes/languages/dutch/catalog.php`
- [Orders admin](https://github.com/fiber-cyber/catalog/blob/master/admin/includes/languages/dutch/orders.php): `admin/includes/languages/dutch/orders.php`
- [Review admin](https://github.com/fiber-cyber/catalog/blob/master/admin/includes/languages/dutch/reviews.php): `admin/includes/languages/dutch/reviews.php`
- [Advert manager](https://github.com/fiber-cyber/catalog/blob/master/admin/includes/languages/dutch/advert_manager.php): `admin/includes/languages/dutch/advert_manager.php`
- [Database tools](https://github.com/fiber-cyber/catalog/blob/master/admin/includes/languages/dutch/database_tables.php): `admin/includes/languages/dutch/database_tables.php`
- [Dashboard labels](https://github.com/fiber-cyber/catalog/tree/master/admin/includes/languages/dutch/modules/dashboard): `admin/includes/languages/dutch/modules/dashboard`
- [Security checks](https://github.com/fiber-cyber/catalog/tree/master/admin/includes/languages/dutch/modules/security_check): `admin/includes/languages/dutch/modules/security_check`
- [Language setup](https://github.com/fiber-cyber/catalog/blob/master/README.md): `README.md`

### Shared modules

- [Page content modules](https://github.com/fiber-cyber/catalog/tree/master/includes/languages/dutch/modules/content): `includes/languages/dutch/modules/content`
- [Navigation modules](https://github.com/fiber-cyber/catalog/tree/master/includes/languages/dutch/modules/navbar): `includes/languages/dutch/modules/navbar`
- [Header tag modules](https://github.com/fiber-cyber/catalog/tree/master/includes/languages/dutch/modules/header_tags): `includes/languages/dutch/modules/header_tags`
- [Customer data labels](https://github.com/fiber-cyber/catalog/tree/master/includes/languages/dutch/modules/customer_data): `includes/languages/dutch/modules/customer_data`
- [Dutch translation](https://github.com/fiber-cyber/catalog/blob/master/README.md): `README.md`

### Other components

- **Shop administrator**
- **Shopper**
- **PhoenixCart host**

## Connections

- Shop administrator → Language setup: adds language (evidence: `README.md`)
- Language setup → Dutch translation: sets directory (evidence: `README.md`)
- Shopper → PhoenixCart host: uses shop
- PhoenixCart host → Storefront labels: loads labels
- PhoenixCart host → Admin labels: loads labels
- PhoenixCart host → Catalog admin: loads labels
- PhoenixCart host → Orders admin: loads labels
- PhoenixCart host → Review admin: loads labels
- PhoenixCart host → Advert manager: loads labels
- PhoenixCart host → Database tools: loads labels
- PhoenixCart host → Dashboard labels: loads labels
- PhoenixCart host → Security checks: loads labels
- PhoenixCart host → Account pages: loads labels
- PhoenixCart host → Product search: loads labels
- PhoenixCart host → Checkout pages: loads labels
- PhoenixCart host → Shopping cart: loads labels
- PhoenixCart host → Review content: loads labels
- PhoenixCart host → GDPR content: loads labels
- PhoenixCart host → Payment modules: loads labels
- PhoenixCart host → Shipping modules: loads labels
- PhoenixCart host → Page content modules: loads labels
- PhoenixCart host → Navigation modules: loads labels
- PhoenixCart host → Header tag modules: loads labels
- PhoenixCart host → Customer data labels: loads labels
