Integration of inlang into Parrot #1316
Unanswered
martin-lysk
asked this question in
[inlang SDK] General
Replies: 1 comment
-
Notes:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Discussion for now - we can split it up later
Hey Everybody - with a look at inlangs infrastructure I sketched some first thoughts on an integration of inlang into parrot.
Happy Path:
From that point on Parrot can use the inlang sdk - that gives you an api for operations on the messages - and move all non design related persistence from the figma file into a inlang configured repo.
Namely:
Access and edit configuration
Message management:
Design Localization:
Localizing a design doesn't mean switching a language of a frame. It involves filling a message with sample data.
Design should not show "%firstname has reached %reached_goals goal".
It should show "Jenny has reached one of her goals".
Based on the input parameters provided, in this case the
%firstname -> "Jenny"
%reached_goals -> 1
%gender -> female
Open Questions
How does parrot get informed about updates on the locale files done by a developer / designer?
If i need to have the full repo available in a memoryfs within figma - How to handle large repos in Figma (same problem the editor faces).
How can i get the version of a particular Message - not a locale file. Something like the last sha where the line of a message has changed?
Parrots USP is - it keeps messages and design in sync without push and pull.
Updating characters in a huge Design file with hundreds of thousands text nodes can become, and had been, a performance bottleneck. Parrot would need to be able to know if a particular message has changed within a file since the last updated. This problem will be faced by inlangs editor as well as soon as reviewing becomes a topic - you wan't to know if a message has changed since the last review.
Ask for support
An integration of Parrot seems to touch all parts of Inlangs projects
You can help me a lot by point me to right spots to look at for each of those topics to get a better understanding.
Beta Was this translation helpful? Give feedback.
All reactions