8 Commits
Author SHA1 Message Date
jekkos 8a8736ad0d fix(i18n): migrate powered_by to named placeholders across all locales (#4661, #4727)
Replace hardcoded string concatenation of the app name and version in the
document <title> with named-placeholder interpolation, consistent with the
existing Common.migration_needed pattern.

- header.php passes ['OSPOS', application_version] as the lang() array
  argument instead of concatenating values around the translation
- All 46 Common.php locale files convert powered_by to a named-placeholder
  template, preserving current rendered output while allowing each locale
  to reorder the app name and version as needed
- hy, ml, nb, and ur leave powered_by empty so MY_Language::getLine()
  falls back to English rather than rendering bare placeholder strings
- de-CH powered_by translated to German
- Codify named-placeholder + ICU MessageFormat as the localization standard
  in the agents documentation
2026-10-28 14:10:27 +04:00
objecttothis b7a3fee22a style(lang): add Georgian, normalize quote style across all locales, add parse tests (#4762)
- Normalize all language files to single quotes with aligned => operators;
  no translation text or logic changes
- Add Georgian (ka) scaffolding across ~18 modules with placeholder
  translations, matching project style conventions
- Add LanguageFilesTest to validate every PHP file under app/Language
  parses without syntax errors; new files auto-discovered via glob
2026-10-19 15:21:04 +04:00
Aril Apria Susanto 4d2347173b Translated using Weblate (Indonesian)
Currently translated at 100.0% (85 of 85 strings)

Translation: opensourcepos/common
Translate-URL: https://translate.opensourcepos.org/projects/opensourcepos/common/id/
2025-08-11 10:27:22 +02:00
BudsieBuds e83c23cf0c Improve code style and PSR-12 compliance (#4204)
* Improve code style and PSR-12 compliance
- refactored code formatting to adhere to PSR-12 guidelines
- standardized coding conventions across the codebase
- added missing framework files and reverted markup changes
- reformatted arrays for enhanced readability
- updated language files for consistent styling and clarity
- minor miscellaneous improvements
2025-05-02 19:37:06 +02:00
jekkos 61894c89cd Fix translations file format (#3468) 2024-09-08 01:39:20 +02:00
Agung Hari Wijaya fbd384ecdb Translated using Weblate (Indonesian)
Currently translated at 100.0% (85 of 85 strings)

Translation: opensourcepos/common
Translate-URL: https://translate.opensourcepos.org/projects/opensourcepos/common/id/
2024-09-07 22:11:27 +02:00
jekkos b4d117011a Add CI4 language migration scripts (#3468) 2024-06-15 17:19:15 +02:00
jekkos 828fd639b2 Porting over 4f3226b 2024-06-15 17:19:15 +02:00