Add multilingual support with Ukrainian flag and phrases

- Created Ukrainian flag SVG file.
- Developed index.html to include structure for language switching.
- Implemented script.js for managing language phrases and automatic switching.
- Styled the application with style.css for a cohesive design and responsive layout.
This commit is contained in:
sHa
2025-05-20 12:47:55 +03:00
commit 636a563659
10 changed files with 4952 additions and 0 deletions

11
flags/english.svg Normal file
View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" width="800" height="400" viewBox="0 0 60 30">
<clipPath id="t">
<path d="M30,15 h30 v15 z v15 h-30 z h-30 v-15 z v-15 h30 z"/>
</clipPath>
<path d="M0,0 v30 h60 v-30 z" fill="#00247d"/>
<path d="M0,0 L60,30 M60,0 L0,30" stroke="#fff" stroke-width="6"/>
<path d="M0,0 L60,30 M60,0 L0,30" clip-path="url(#t)" stroke="#cf142b" stroke-width="4"/>
<path d="M30,0 v30 M0,15 h60" stroke="#fff" stroke-width="10"/>
<path d="M30,0 v30 M0,15 h60" stroke="#cf142b" stroke-width="6"/>
</svg>

After

Width:  |  Height:  |  Size: 577 B

6
flags/french.svg Normal file
View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" width="800" height="533" viewBox="0 0 900 600">
<rect width="300" height="600" fill="#002654"/>
<rect width="300" height="600" x="300" fill="#FFFFFF"/>
<rect width="300" height="600" x="600" fill="#ED2939"/>
</svg>

After

Width:  |  Height:  |  Size: 300 B

6
flags/german.svg Normal file
View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" width="800" height="480" viewBox="0 0 5 3">
<rect width="5" height="3" fill="#000"/>
<rect width="5" height="2" y="1" fill="#D00"/>
<rect width="5" height="1" y="2" fill="#FFCE00"/>
</svg>

After

Width:  |  Height:  |  Size: 274 B

5
flags/latin.svg Normal file
View File

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" width="1200" height="800" viewBox="0 0 6 4">
<rect width="6" height="4" fill="#8e001c"/>
<rect width="3" height="4" x="3" fill="#ffb300"/>
</svg>

After

Width:  |  Height:  |  Size: 228 B

4498
flags/spanish.svg Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 606 KiB

5
flags/ukrainian.svg Normal file
View File

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" width="800" height="533" viewBox="0 0 1200 800">
<rect width="1200" height="400" fill="#0057B7"/>
<rect width="1200" height="400" y="400" fill="#FFD700"/>
</svg>

After

Width:  |  Height:  |  Size: 245 B