Skip to content

use XLIFF format as a base for i18n for portability instead of php arrays #41

Description

@Phoscur
  • build XLIFF from the current arrays in language/en by hand or with https://github.com/oyagev/PHP-XLIFF
  • check which annotations and attributes of the XLIFF format are going to be used for ugamela
  • load XLIFF (in a way like symphony does it?)

Pro

  • Not only professional translators can profit of annotations for translation
  • XLIFF can be interpreted and thereby reused in other clients (not only PHP)
  • Separation of concerns: controller logic and translations don't necessarily need to be coupled

Contra

  • Performance (parsing without caching the XLIFF globally)
  • Added complexity: any other i18n technique will be more complex than PHP arrays
  • Other formats like gettext and .po files might be more recognised by the PHP community currently

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions