Avoid editing codes when not authorized #1078
-
I wanted to use inlang for the first time today in my Svelte kit project, and it modified a lot of code without asking me. Take, for example, the generation of the following files:
Most of these modifications simply create empty files, with no explanation of their purpose other than "we need these files, and even if you delete them, we'll recreate them". Can't we create the installation steps manually instead? Or find an alternative to avoid any file creation without permission. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 5 replies
-
@ivanhofer Can you help here? |
Beta Was this translation helpful? Give feedback.
-
We will soon have great news for you 👀 |
Beta Was this translation helpful? Give feedback.
-
Those files are needed to set up i18n in your project. SvelteKit currently does not provide a fuctionality to hide those files, but we are looking for a solution: #647 What would you expect the comment in the files say other than it is a technical requirement?
You can already do it manually, but this solution is not documented at the moment. You can dig trough our code base if you really want ;) |
Beta Was this translation helpful? Give feedback.
-
Here is the first draft of the promised documentation page on how to do everything manually: https://inlang.com/documentation/sdk/sveltekit/advanced |
Beta Was this translation helpful? Give feedback.
Here is the first draft of the promised documentation page on how to do everything manually: https://inlang.com/documentation/sdk/sveltekit/advanced
Please share your feedback and concerns.