JSON config file #377
-
I haven't dealt with inlang that deeply yet, but I find it very exciting and am considering using it 🙂 Thank you in advance! The first question I asked myself was why the configuration happens in a JavaScript file. Wouldn't it be a better approach to separate the data from logic in a separate JSON file? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Off topic
Always exciting to read messages like this one! How can I help you set up inlang? |
Beta Was this translation helpful? Give feedback.
-
The config file is purposefully JavaScript to enable programmatic control and plugins. I observed that every team localizes differently. Not giving teams programmatic control and an easy way to leverage plugins to configure inlang would severely limit integration possibilities. A few examples:
|
Beta Was this translation helpful? Give feedback.
The config file is purposefully JavaScript to enable programmatic control and plugins.
I observed that every team localizes differently. Not giving teams programmatic control and an easy way to leverage plugins to configure inlang would severely limit integration possibilities. A few examples: