🌐 Add multilingual configuration and translation files

This commit is contained in:
HolgerHatGarKeineNode
2025-11-22 23:53:15 +01:00
parent ff2a5636f6
commit 8600f98312
27 changed files with 1090 additions and 384 deletions

207
composer.lock generated
View File

@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "e28b129a600ecef71879618baf7b2358",
"content-hash": "5a3cf1dac3bcea89c8c5e65aad0d3de7",
"packages": [
{
"name": "akuechler/laravel-geoly",
@@ -64,6 +64,91 @@
},
"time": "2021-04-20T07:17:32+00:00"
},
{
"name": "astrotomic/laravel-translatable",
"version": "v11.16.1",
"source": {
"type": "git",
"url": "https://github.com/Astrotomic/laravel-translatable.git",
"reference": "3edd5a3083b45948942af83903845954c3352652"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/Astrotomic/laravel-translatable/zipball/3edd5a3083b45948942af83903845954c3352652",
"reference": "3edd5a3083b45948942af83903845954c3352652",
"shasum": ""
},
"require": {
"illuminate/contracts": "^9.0 || ^10.0 || ^11.0 || ^12.0",
"illuminate/database": "^9.0 || ^10.0 || ^11.0 || ^12.0",
"illuminate/support": "^9.0 || ^10.0 || ^11.0 || ^12.0",
"php": "^8.0"
},
"require-dev": {
"larastan/larastan": "^2.0 || ^3.0",
"laravel/legacy-factories": "^1.0.4",
"laravel/pint": "^1.0",
"mockery/mockery": "^1.3.3",
"orchestra/testbench": "^7.0 || ^8.0 || ^9.0 || ^10.0",
"phpunit/phpunit": "^10.0 || ^11.0"
},
"type": "library",
"extra": {
"laravel": {
"providers": [
"Astrotomic\\Translatable\\TranslatableServiceProvider"
]
}
},
"autoload": {
"psr-4": {
"Astrotomic\\Translatable\\": "src/Translatable/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Tom Witkowski",
"email": "gummibeer@astrotomic.info",
"homepage": "https://gummibeer.de",
"role": "Developer"
},
{
"name": "Dimitrios Savvopoulos",
"email": "ds@dimsav.com",
"homepage": "http://dimsav.com",
"role": "Developer"
}
],
"description": "A Laravel package for multilingual models",
"homepage": "https://astrotomic.info",
"keywords": [
"database",
"language",
"laravel",
"translation"
],
"support": {
"docs": "https://docs.astrotomic.info/laravel-translatable",
"email": "dev@astrotomic.info",
"issues": "https://github.com/Astrotomic/laravel-translatable/issues",
"source": "https://github.com/Astrotomic/laravel-translatable"
},
"funding": [
{
"url": "https://forest.astrotomic.info",
"type": "custom"
},
{
"url": "https://github.com/Gummibeer",
"type": "github"
}
],
"time": "2025-07-09T14:05:02+00:00"
},
{
"name": "bacon/bacon-qr-code",
"version": "2.0.8",
@@ -3099,6 +3184,126 @@
},
"time": "2025-11-14T15:10:57+00:00"
},
{
"name": "lwwcas/laravel-countries",
"version": "4.12.0.1",
"source": {
"type": "git",
"url": "https://github.com/lwwcas/laravel-countries.git",
"reference": "85b6bcaabbf4987f70459af7896c4db19bdb4fe2"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/lwwcas/laravel-countries/zipball/85b6bcaabbf4987f70459af7896c4db19bdb4fe2",
"reference": "85b6bcaabbf4987f70459af7896c4db19bdb4fe2",
"shasum": ""
},
"require": {
"astrotomic/laravel-translatable": "^11.8",
"laravel/framework": "^10.48|^11.31|^12.0",
"php": "^8.2|^8.3",
"spatie/laravel-package-tools": "1.92.*"
},
"require-dev": {
"doctrine/dbal": "^3.0",
"laravel/legacy-factories": "^1.4",
"mockery/mockery": "^1.6",
"nunomaduro/termwind": "^2.3.0",
"orchestra/testbench": "^9.12",
"pestphp/pest": "^3.7",
"pestphp/pest-plugin-laravel": "^3.1"
},
"type": "library",
"extra": {
"laravel": {
"aliases": {
"WCountries": "Lwwcas\\LaravelCountries\\Facades\\WCountries"
},
"providers": [
"Lwwcas\\LaravelCountries\\Providers\\WCountriesServiceProvider"
]
},
"features": {
"iso-support": "Handles ISO Alpha-2, Alpha-3, and numeric country codes with ease.",
"data-seeding": "Includes customizable seeders for automatic country data population.",
"query-scopes": "Predefined query scopes for easy access to country data.",
"artisan-commands": "Includes artisan commands for managing country and language data.",
"country-relations": "Easily link country data to other models using foreign key relationships.",
"geographical-data": "Provides precise latitude/longitude coordinates and SVG maps for each country.",
"multilingual-support": "Fully supports translations for country names and metadata.",
"laravel-compatibility": "Supports Laravel 9.x, 10.x, 11.x, ensuring smooth integration.",
"dynamic-language-install": "Languages can be installed or removed dynamically at any time."
},
"compatibility": {
"laravel": {
"current": "10.x, 11.x, 12.x",
"planned": [
"13.x"
],
"untested": [
"13.x"
]
}
},
"language-management": {
"dynamic-install": true,
"default-language": "en",
"supported-languages": [
"ar",
"nl",
"en",
"de",
"it",
"pt",
"ru",
"es"
]
}
},
"autoload": {
"psr-4": {
"Lwwcas\\LaravelCountries\\": "src/",
"Lwwcas\\LaravelCountries\\Config\\": "src/config/",
"Lwwcas\\LaravelCountries\\Database\\migrations\\": "src/database/migrations/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Lucas Duarte O. Monteiro",
"email": "lwwcas@gmail.com",
"homepage": "http://www.lucasduarte.dev",
"role": "Developer"
}
],
"description": "A comprehensive package for managing country data in Laravel applications, including multilingual support, geographic coordinates, and detailed metadata for seamless integration with Laravel.",
"homepage": "https://lwwcas.github.io/laravel-countries/",
"keywords": [
"ISO codes",
"coordinates",
"countries",
"country data",
"geography",
"geojson",
"geolocation",
"laravel",
"laravel package",
"lucas duarte",
"lwwcas",
"multilingual",
"svg maps",
"world countries"
],
"support": {
"docs": "https://github.com/lwwcas/laravel-countries/docs",
"issues": "https://github.com/lwwcas/laravel-countries/issues",
"source": "https://github.com/lwwcas/laravel-countries"
},
"time": "2025-03-30T18:18:10+00:00"
},
{
"name": "maennchen/zipstream-php",
"version": "3.2.0",