The source code is in our monorepo/inlang/source-code/editor
opral / inlang-fink Goto Github PK
View Code? Open in Web Editor NEWIssue tracker for fink
Issue tracker for fink
The source code is in our monorepo/inlang/source-code/editor
Users have trouble with pushing because Fink isn't aware of
Therefore the lix API was extend by:
by Jan opral/monorepo#2897 (comment):
---
When we use paraglide-init for a list of languages to support, it will automatically regularize the string so that all letter are in lower case, for example ko-Kore
becomes ko-kore
and zh-HanT
becomes zh-hant
. However, when you add a new language from Fink settings, the regularization is not triggered (implemented), so if you input ko-Kore
it will be kept as ko-Kore
which makes inconsistency across inlang infrastructure.
BCP 47 and RFCs specified that letter casing of language tag must never be differentiated, albeit conventions similar to zh-Hant-TW
are recommended for readability. However, for paraglide, usually the language tag will be involved as a part of a url, which are usually lower cased, so it is also understandable to normalize to lowercase.
I think we should either enforce lowercasing in Fink, or disable the enforcement in paraglide-init
Hi !
I'm currently having an issue with Fink that I've never seen before. When I go on the online editor, it detects correctly my messages files and my translations. However, when I have edited them and I push on my branch, it creates a /messages
folder, with all translations, in the root of my repository instead of modifying the current translations I already have in /frontend/messages
Here is my project structure:
|--backend
|--frontend
|--project.inlang
|--project_id
|--settings.json
|--messages
|--en.json
|--fr.json
And here is the settings.json:
{
"$schema": "https://inlang.com/schema/project-settings",
"sourceLanguageTag": "en",
"languageTags": ["en", "fr"],
"modules": [
"https://cdn.jsdelivr.net/npm/@inlang/message-lint-rule-empty-pattern@latest/dist/index.js",
"https://cdn.jsdelivr.net/npm/@inlang/message-lint-rule-identical-pattern@latest/dist/index.js",
"https://cdn.jsdelivr.net/npm/@inlang/message-lint-rule-missing-translation@latest/dist/index.js",
"https://cdn.jsdelivr.net/npm/@inlang/message-lint-rule-without-source@latest/dist/index.js",
"https://cdn.jsdelivr.net/npm/@inlang/message-lint-rule-valid-js-identifier@latest/dist/index.js",
"https://cdn.jsdelivr.net/npm/@inlang/plugin-message-format@latest/dist/index.js",
"https://cdn.jsdelivr.net/npm/@inlang/plugin-m-function-matcher@latest/dist/index.js"
],
"plugin.inlang.messageFormat": {
"pathPattern": "./messages/{languageTag}.json"
}
}
It never did that before and I didn't change anything in my configuration since I use Inlang and Fink editor. I don't understand if it's coming from a regression or maybe a release which changes the base structure of an inlang project ?
I have completed my project and I am not able to push translations
Have a nice prompt during or after push that makes you think better collab with devs and asks: do you want to recommend Ninja + Sherlock to your devs.
We need to re-open the tech stack decision. Lit for SPAs is not a good match.
Framework
Routing
As Sherlock we want to rollout the settings component in Fink as well.
@samuel.stroschein said in SHERL-47:
this will be helpful for fink too, see https://discord.com/channels/897438559458430986/1084866774874468433/1242165023779061881
We do not appear to have tests to validate that inlang project errors are actually visible to users in Fink.
e.g message load errors on initial project open, or file save errors while editing messages.
Add validation to ensure that project errors are visible to users in Fink.
Since the new inlang-settings component is done, every app should use this instead of manage.inlang.com
Replace link to manage with settings component
This issue origined from INECO-1
For now, Fink relies on the growth of the ecosystem. Can we find other growth channels for now?
Ninja is one of these strategies. How are we gonna proceed with that?
I would start doing the first experiments with PRs, to see if we can potentially automate stuff.
It's overwhelming to look at the project selection.
website/website.inlang
is twice "ah this is the website project"Focus the project selection around project names by giving the path less importance by:
{name}.inlang
files from the path because every path ends with .inlang
and {name}
is shown at the beginning. There is no additional value in showing it.../*
) to indicate that the path is shortened (see FINK-44)@samuel.stroschein said in FINK-15:
also not on https://fink.inlang.com/github.com/StanGirard/quivr. forking also failed
The plus button for adding a language is confusing because it's not a filter like "all" and "none is"
Move plus button to a menu item "add a new language" which opens the FINK-21.
@niklas.buchfink said in FINK-11:
After a few more thoughts.
Ideal UX
If I'm part of the team, I open the project, make my changes and it should be commited, when I'm done. (To support autosaving, these changes are collected and commited, when the user is done. The lix server might help with that in the future. Also for live collaboration)
I just open the file, make my changes and automatically open changes request, if I'm not part of the team. The team is notified and can decide to add this changes. (fork + pr workflow in the background)
If I want this file to diverge, I want to click copy. Maybe I we can offer features like, "get updates from the original" or "merge documents", but since the copy action was done, we don't assume PRs anymore and users explicitly state that the copy should be updated or merged with main. (same forking + pr workflow as well, but with explicit user actions)
The public repo https://fink.inlang.com/github.com/spuithori/tokimekibluesky can't be opened without being signed in
https://www.loom.com/share/97f1aad71f6e407da95d98f9585a3b01?sid=85bebf68-7b8d-4b7d-9f3c-d98226697d7c
open https://fink.inlang.com/github.com/spuithori/tokimekibluesky
I'm just curious. Niklas send me that video:
https://www.youtube.com/watch?v=ZxhXvnkcLQ4
Would it be helpful to have a list of features of what they offer?
We should show the normal human-readable language names in the Fink language dropdown
Use the [Intl.DisplayNames](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames#language_display_names)
to show the English DisplayName with the BCP-47 tag behind. e.g.
de
en-US
zh-Hant
Open question: Should we keep the sorting
If a user adds a language and data already exists, the message is not shown as the project data is not re-fetched with the latest settings.
Refetch the project after a new language was added.
https://discord.com/channels/897438559458430986/1130765707639001088/1227197368013684736
@inlang/editor
packageAdd vite-adapter to fix editor build on windows
Some companies have forks disabled at the company level.
https://discord.com/channels/@me/1087285008122781715/1225734725877108747
Add exception if ninja is in the ref link
When issues come up for Fink:
There are three different types of error that are difficult to handle.
They should be typed and have the same format to reliably trigger the PushPermissionsDialog
Watch the LOOM:
https://www.loom.com/share/2ae4d0d8d9f244618e948d620a38d542
Observations:
I don't know which one are bugs or intended, please create the issues yourself:)
Hi, when i enter a text in fink newlines get messed up on commit:
Entering
Message
Header
- Point 1
- Point 2
will get committed as
Message
Header- Point 1-Point 2
This messes up a lot, I cannot use fink any more at the moment...
Also (may be related): When I copy the same text from fink to my local text editor the original message transforms to:
Message
Header
- Point 1
- Point 2
If you delete the lint filter via the cross in the end:
Lint is Missing Translation
-> Lint is not selected
-> Filter is removed
The lint filter should be removed immediately:
Lint is Missing Translation
-> Filter is removed
INWEB-96 leads to an unsatisfying open fink experience for https://fink.inlang.com/github.com/opral/monorepo:
The mock project inlang-nextjs/project.inlang
is opened instead of the project i always want to edit website.inlang
.
Save the project selection of the user in localstorage to re-open the last opened project when opening a repository.
Maintainers can push directly, they don't need to open a PR
Failed to push changes
Please try again or file a bug. Failed to push
I have all my translation finished but this message keeps on appearing
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.