Dodatkowe wersje językowe z AI
This commit is contained in:
+22
-2
@@ -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',
|
||||
],
|
||||
],
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user