Add Czech (cs-CZ) translation - #1
Open
HelpTechCZ wants to merge 1 commit into
Open
Conversation
- Czech defaults for all banner/modal/category/table texts (DEFAULT_TEXTS now [pl, en, cs]) - Czech descriptions for bundled cookie definitions (description_cs) - pickDefault() helper selects bundled text by language ISO; cookie description lookup falls back to English for unknown languages - upgrade-1.0.3 mirrors the same selection for the 1.0.3 structural labels - Back-office translation file translations/cs-CZ/ModulesConsentflowAdmin.cs-CZ.xlf (120 strings) Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TeWzrzNg2FbAEHBYP22H77
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds full Czech localisation for the module:
DEFAULT_TEXTSis now[pl, en, cs]), applied at install time for shops with acslanguage.description_csfor the 8 default cookies; lookup is nowdescription_{iso}with English fallback, so further languages can be added without touching the selection code.pickDefault()helper replaces the two inline($iso === 'pl') ? … : …ternaries.upgrade/upgrade-1.0.3.phpmirrors the same selection for the 1.0.3 structural labels.translations/cs-CZ/ModulesConsentflowAdmin.cs-CZ.xlf— all 120 strings translated (same ids as the pl-PL file).No behaviour change for existing PL/EN installs. Tested on PrestaShop 8.2.8 / PHP 8.1 (Czech single-language shop).
🤖 Generated with Claude Code
https://claude.ai/code/session_01TeWzrzNg2FbAEHBYP22H77