Page:
localization policy
Pages
AUTHOR_MODULE
BUGS
BUILD
BUILD_AND_RUN
CHANGELOG
CHOCO_INSTALL
COMPARE_FULLSCREEN
COMPLETION_SUMMARY
CONVERT_MODULARIZATION_PLAN
CROSS_PLATFORM_GUIDE
DEV14_WINDOWS_IMPLEMENTATION
DEV30_FINALIZATION_CHECKLIST
DVD_IMPLEMENTATION_SUMMARY
DVD_USER_GUIDE
Documentation
GNOME_COMPATIBILITY
GSTREAMER_MIGRATION_PLAN
Home
IMPLEMENTATION_SUMMARY
INSTALLATION
INSTALL_LINUX
INSTALL_WINDOWS
INTEGRATION_GUIDE
INTERNAL_DVD_AUTHORING_SPEC
LATEST_UPDATES
LATEX_PREPARATION
LOSSLESSCUT_INSPIRATION
MODULES
PERSISTENT_VIDEO_CONTEXT
PHASE2_COMPLETE
PHASE2_INTEGRATION_PLAN
PLAYER_MODULE
PLAYER_PERFORMANCE_ISSUES
PROJECT_STATUS
QUEUE_SYSTEM_GUIDE
QUICKSTART
REFACTOR_DEV30_PLAN
ROADMAP
TESTING_CHECKLIST
TESTING_DEV13
TESTING_MODULE_CHECKLIST
TEST_DVD_CONVERSION
TODO_EXTRACTION_NOTES
TRIM_MODULE_DESIGN
VIDEO_METADATA_GUIDE
VIDEO_PLAYER
VIDEO_PLAYER_FORK
VT_PLAYER_IMPLEMENTATION
VT_PLAYER_INTEGRATION_NOTES
WINDOWS_BUILD_PERFORMANCE
WINDOWS_COMPATIBILITY
WINDOWS_PACKAGING
WINDOWS_SETUP
WORKING_ON
localization policy
No results
1
localization policy
Gemini CLI edited this page 2026-03-13 10:52:16 -04:00
VideoTools Localization Strategy and Implementation Guide
Overview
This document provides a comprehensive guide to VideoTools' localization system, including implementation details, contribution guidelines, and cultural considerations.
Quick Start
Architecture
- Primary System: VideoTools-controlled localization via go-i18n
- Fyne Integration: Minimal, only for system dialogs
- Strategy: Module-by-module localization with cultural respect
Language Priority
- English (en-CA) - Source language
- French (fr-CA) - Canadian official language
- Indigenous Languages - Inuktitut, Cree (human-reviewed)
- Global Languages - Future expansion
Implementation Guide
File Structure
localization/
├── en-CA/
│ ├── meta.json
│ ├── common.json
│ ├── convert.json
│ └── [module files]
├── fr-CA/
│ └── [same structure]
├── iu/
│ ├── meta.json
│ ├── common.syllabics.json
│ ├── common.roman.json
│ └── [dual-script modules]
└── cr/
└── [dual-script structure]
Key Naming Convention
[module].[category].[item]
Examples:
convert.output.format- Output format labelplayer.controls.play- Play buttonerror.file.not_found- File not found errorcommon.button.ok- Generic OK button
Usage in Code
// Primary localization
btn := widget.NewButton(localization.T("convert.start"), onClick)
// Optional generic (whitelisted only)
cancelBtn := widget.NewButton(localization.Generic("Cancel"), onClick)
Localization Rules
Brand Protection
- VT: Never translated, never localized
- VideoTools: Translated by meaning only for non-Latin scripts
Terminology
- Movie: Digital files (MP4, MKV, MOV)
- Film: Physical media (8mm, 16mm, 35mm)
- Never use these terms interchangeably
Script Handling
- Indigenous languages: Dual-script support (syllabics + romanized)
- No machine translation for Indigenous languages
- Human review required for all Indigenous translations
Testing
Automated Tests
- Translation completeness checking
- Key consistency validation
- UI layout expansion testing (pseudo-languages)
- Script rendering validation
Manual Tests
- In-context translation verification
- Module-by-module validation
- Language switching functionality
Contributing
Translation Guidelines
- Follow key naming conventions
- Provide context for ambiguous terms
- Maintain terminology consistency
- Include cultural notes where relevant
Indigenous Languages
- Must include reviewer credit/approval
- Dual-script preferred when possible
- Cultural appropriateness review required
Configuration
Language Preference
{
"language": "en-CA",
"secondaryScript": false,
"autoDetect": true
}
Fallback Chain
- User-selected language
- User-selected language + secondary script
- English (en-CA)
- Emergency fallback string
Resources
For module-specific localization guides, see:
- Convert Module Localization (planned)
- Player Module Localization (planned)
- UI Components Localization (planned)
Navigation
What is VideoTools?
Project Status
Capabilities
Codecs and Frame Rates
Installation (One Command)
Alternative: Developer Setup
DVD Workflow (Optional)
Documentation
- Project Status
- Installation
- Readme
- Build And Run
- DVD User Guide
- DVD Implementation Summary
- Integration Guide
- Queue System Guide
- Localization-Policy