feat: update legal document translations and add new language support
- Replaced the existing legal document files with more specific ones for delivery, payment, and consumer rights. - Added new legal documents related to data protection, including basic, customer, Google orders, newsletter, chatbot, cookies, and rights. - Introduced Albanian language support in the translation files and language switcher component. - Enhanced the translation functions to ensure structural files are copied correctly for new languages.
This commit is contained in:
@@ -47,7 +47,7 @@ export class LanguageProvider extends Component {
|
||||
this.state = {
|
||||
currentLanguage,
|
||||
availableLanguages: ['de'], // Start with only German visible
|
||||
allLanguages: ['ar', 'bg', 'cs', 'de', 'el', 'en', 'es', 'fr', 'hr', 'hu', 'it', 'pl', 'ro', 'ru', 'sk', 'sl', 'sr', 'sv', 'tr', 'uk', 'zh'],
|
||||
allLanguages: ['ar', 'bg', 'cs', 'de', 'el', 'en', 'es', 'fr', 'hr', 'hu', 'it', 'pl', 'ro', 'ru', 'sk', 'sl', 'sq', 'sr', 'sv', 'tr', 'uk', 'zh'],
|
||||
demoMode: false,
|
||||
currentLanguageIndex: 0,
|
||||
loadingLanguages: new Set()
|
||||
|
||||
Reference in New Issue
Block a user