You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+8-2Lines changed: 8 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,12 +7,13 @@ Same goes for feature requests.
7
7
PR's are welcome, too!
8
8
Note that opening a PR means agreeing that your code becomes distributed under the MIT license.
9
9
10
-
If you want to share some thoughts on the Atomic Data _specification_, please [drop an issue in the Atomic Data docs repo](https://github.com/ontola/atomic-data/issues).
10
+
If you want to share some thoughts on the Atomic Data _specification_, please [drop an issue in the Atomic Data repo](https://github.com/atomicdata-dev/atomic-server/issues).
11
11
Check out the [Roadmap](https://docs.atomicdata.dev/roadmap.html) if you want to learn more about our plans and the history of the project.
-[Running locally (with local development browser)](#running-locally-with-local-development-browser)
18
19
-[IDE setup (VSCode)](#ide-setup-vscode)
@@ -39,6 +40,11 @@ Check out the [Roadmap](https://docs.atomicdata.dev/roadmap.html) if you want to
39
40
-[Deploying to atomicdata.dev](#deploying-to-atomicdatadev)
40
41
-[Publishing atomic-cli to WAPM](#publishing-atomic-cli-to-wapm)
41
42
43
+
## Translation & Internationalization
44
+
45
+
AtomicServer supports a small number of languages.
46
+
Most of these translations are done by AI and might contain mistakes, if you notice any feel free to [open an issue](https://github.com/atomicdata-dev/atomic-server/issues).
47
+
42
48
## Running & compiling
43
49
44
50
TL;DR Clone the repo and run `cargo run` from each folder (e.g. `cli` or `server`).
@@ -124,7 +130,7 @@ cargo nextest run test_name_substring
Copy file name to clipboardExpand all lines: browser/CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,6 +19,7 @@ This changelog covers all five packages, as they are (for now) updated as a whol
19
19
-[#1008](https://github.com/atomicdata-dev/atomic-server/issues/1008) Add info dropdowns to different sections of the ontology editor for more information about the section.
20
20
-[#459](https://github.com/atomicdata-dev/atomic-server/issues/459) New feature: Add tags to your resources to better organize your data. Search for resources with specific tags in the search bar with `tag:[name]`.
21
21
-[#951](https://github.com/atomicdata-dev/atomic-server/issues/951) New feature: Atomic Assistant, AI chat interface with support for custom agents, MCP servers and more. Bring your own OpenRouter key or use Ollama to host your own models.
22
+
-[#1118](https://github.com/atomicdata-dev/atomic-server/issues/1118) New feature: AtomicServer is now also available in German, Spanish and French. Change your language on the settings page.
Copy file name to clipboardExpand all lines: browser/CONTRIBUTING.md
+7-4Lines changed: 7 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,9 +38,12 @@ Vite hosts the data-browser and targets `.ts` files which enables hot reload / h
38
38
If you're editing `@tomic/lib` or `@tomic/react`, you need to re-build the library, as `atomic-data-browser` imports the `.js` files.
39
39
You can auto re-build using the `watch` commands in `@tomic/lib` and `@tomic/react`.
40
40
If you run `pnpm start` from the root, these will be run automatically.
41
-
Note that you may need to refresh your screen manually to show updates from these libraries.
42
41
43
-
There are two possible solutions for improving this workflow:
42
+
## Localization
44
43
45
-
- In `package.json` of the libraries, set the `main` to `src/index.ts` (the typescript file). However, make sure to _not_ publish this to npm, as many clients will fail.
46
-
- Properly set up aliases with vite. I've tried this before, but failed.
44
+
Atomic Data Browser uses [Wuchale](https://wuchale.dev/) for localization.
45
+
When adding new text to the app wuchale will automatically extract it and add it to the locale files (When running the vite dev server).
46
+
Make sure you provide translations for the any new text you add.
47
+
To help with this you can provide a Google Gemini API key, Wuchale will then use this to generate translations for you automatically.
48
+
To do so export the key in your terminal or use something like direnv to set the key: `export GEMINI_API_KEY=your_api_key`
49
+
More info: [How to use Gemini live translation](https://wuchale.dev/guides/gemini/)
"An agent that is specialized in helping you use AtomicServer. It takes context from what you're doing.",
62
-
systemPrompt: `You are an AI assistant in the Atomic Data Browser. Users will ask questions about their data and you will answer by looking at the data or using your own knowledge about the world.
62
+
systemPrompt: /* wc-ignore */`You are an AI assistant in the Atomic Data Browser. Users will ask questions about their data and you will answer by looking at the data or using your own knowledge about the world.
63
63
Atomic Data uses JSON-AD, Every resource including the properties themselves have a subject (the '@id' property in the JSON-AD), this is a URL that points to the resource.
64
64
Resources are always referenced by subject so make sure you have all the subjects you need before editing or creating resources.
0 commit comments