Dodatkowe wersje językowe z AI

This commit is contained in:
2026-09-25 18:04:28 +02:00
parent a381ad09d8
commit 4fde92d323
23 changed files with 1231 additions and 148 deletions
+22 -2
View File
@@ -4,10 +4,13 @@ declare(strict_types=1);
/**
* Konfiguracja menu z upstreamu Karczmy + lista języków aplikacji.
*
* source=upstream → pobierane z WWW Karczmy (pl/en/de)
* source=ai → tłumaczenie offline z języka `from` (skrypt refresh raz/dzień)
*/
return [
'upstream_base' => 'https://www.karczmabiesiada.eu/restaurant_menu/export',
'ttl_seconds' => 1800,
'ttl_seconds' => 86400,
'timeout_seconds' => 12,
'languages' => [
'pl' => [
@@ -25,6 +28,23 @@ return [
'flag' => '🇩🇪',
'source' => 'upstream',
],
// później: 'uk' => ['label' => 'Українська', 'flag' => '🇺🇦', 'source' => 'ai', 'from' => 'pl'],
'es' => [
'label' => 'Español',
'flag' => '🇪🇸',
'source' => 'ai',
'from' => 'pl',
],
'it' => [
'label' => 'Italiano',
'flag' => '🇮🇹',
'source' => 'ai',
'from' => 'pl',
],
'ko' => [
'label' => '한국어',
'flag' => '🇰🇷',
'source' => 'ai',
'from' => 'pl',
],
],
];