Warning: This page has not been updated in over over a year and may be outdated or deprecated.
community_call:minutes20230502
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
community_call:minutes20230502 [2023/05/02 13:30] – [1. Development Planning] demiankatz | community_call:minutes20230502 [2023/05/02 13:58] (current) – [3. Open Q&A / Other Topics?] demiankatz | ||
---|---|---|---|
Line 93: | Line 93: | ||
==== 2. Technical Discussion: Internationalization with localise ==== | ==== 2. Technical Discussion: Internationalization with localise ==== | ||
+ | André has been exploring the lokalise.com platform, which the Open Library Foundation uses for some of its projects. It imports languages from GitHub, makes it possible for users to collaboratively improve/ | ||
+ | |||
+ | The interface displays percentage done, number of words in need of translation, | ||
+ | |||
+ | The system also has project management features built in, so you can assign work, create tasks, etc. | ||
+ | |||
+ | Some quirks may confuse the project (e.g. @parent_ini directives, use of language codes that don't exactly match lokalise' | ||
+ | |||
+ | During import, lokalise is currently set up to ignore native.ini -- this is a special file and would not benefit from management through the platform. | ||
+ | |||
+ | Text domains are imported using filename patterns, which enables us to keep domain-specific strings appropriately separated. | ||
+ | |||
+ | When translating, | ||
+ | |||
+ | André opened a German-specific example pull request as a proof of concept. This reveals some problems we need to overcome: | ||
+ | |||
+ | * Some files are renamed (e.g. en.ini --> en_GB.ini) | ||
+ | * Some formatting is changed (e.g. strings with special characters are enclosed in single quotes; double quotes are removed) | ||
+ | * All comments are removed | ||
+ | * Numeric keys are dropped (a problem for the Dewey Decimal text domains) | ||
+ | |||
+ | Possible solution: Custom processor -- the ability to create a REST endpoint for pre- or post-processing of translations. Well documented with examples provided. One question: can the custom post-processor be combined with the "post PR to GitHub" | ||
+ | |||
+ | We confirmed that our current lokalise account seems to support the custom processor. | ||
+ | |||
+ | There was some discussion about how/where to implement and host the processor: one option would be to create a repository that exposes a Laminas module containing the processing functionality, | ||
+ | |||
+ | Also discussion about where to get comments from: one option would be to have the API just pull the latest .ini files from GitHub using URL patterns (raw download). | ||
+ | |||
+ | Volunteers to work on the project: Demian will set up a vufind-org GitHub repo to build the module and will help with deployment to vufind.org. André will help with development of the code. | ||
+ | |||
+ | André will inquire about the " | ||
==== 3. Open Q&A / Other Topics? ==== | ==== 3. Open Q&A / Other Topics? ==== | ||
+ | None this month. | ||
===== Next Call ===== | ===== Next Call ===== | ||
community_call/minutes20230502.1683034234.txt.gz · Last modified: 2023/05/02 13:30 by demiankatz