index-shop/site/languages/en.php
isUnknown ad699f0365 Migrate product data from Kirby to Shopify Storefront API
- Add product loaders (product-loader.js, products-list-loader.js) to fetch data from Shopify
- Extend Shopify API client with getProductByHandle() and getAllProducts() methods
- Integrate Shopify metafields for multilingual support (custom.title_en, custom.description_en)
- Refactor product.php and home.php templates to load content dynamically
- Simplify product blueprint to minimal routing configuration
- Create generic buy-button.php snippet with variant selection
- Update footer.php with conditional script loading
- Refactor _section--product.scss for better Sass structure
- Add translations for loading states and product errors
- Clean up old Kirby product content files

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-16 12:03:20 +01:00

55 lines
1.8 KiB
PHP

<?php
return [
'code' => 'en',
'default' => false,
'direction' => 'ltr',
'locale' => 'en_US',
'name' => 'English',
'url' => '/en',
'translations' => [
// General
'backToHome' => 'Back to home',
'backToShop' => 'Back to shop',
'supportText' => 'To support us, you&nbsp;can&nbsp;also',
'makeDonation' => 'make a donation',
// Shop / Cart
'addToCart' => 'Add to cart',
'cart' => 'Cart',
'cartEmpty' => 'Your cart is empty',
'total' => 'Total',
'checkout' => 'Checkout',
'remove' => 'Remove',
'inStock' => 'In stock',
'outOfStock' => 'Out of stock',
'addingToCart' => 'Adding...',
'addedToCart' => 'Added! ✓',
'errorAddToCart' => 'Error - Try again',
'closeCart' => 'Close cart',
'loading' => 'Loading...',
'productNotFound' => 'Product not found',
'selectVariant' => 'Select',
// Blueprints - Home
'home.title' => 'Home',
'home.baseline.label' => 'Baseline',
'home.products.headline' => 'Products',
'home.settings.headline' => 'Settings',
// Blueprints - Product
'product.title' => 'Product',
'product.description.label' => 'Description',
'product.details.label' => 'Details',
'product.details.item.label' => 'Detail',
'product.price.label' => 'Price (€)',
'product.backgroundColor.label' => 'Background Color',
'product.stock.label' => 'Stock',
'product.stock.help' => 'Shared between FR and EN versions',
'product.snipcartId.label' => 'Snipcart ID',
'product.sizes.label' => 'Available Sizes',
'product.images.headline' => 'Product Images',
'product.meta.headline' => 'Metadata',
'product.tab.content' => 'Content',
]
];