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
Replexica is an i18n toolkit for React, to ship multi-language apps fast.
19
+
Replexica is an i18n platform for React, to ship multi-language apps fast.
20
20
21
-
It comes in two parts:
21
+
Replexica supports React apps, and several i18n formats, including JSON-free, experimental Replexica Compiler format, `.md` files for Markdown content, and classic JSON and YAML-based formats.
22
22
23
-
1.[Experimental]**Replexica Compiler** - an open-source compiler plugin for React (experimental, Next.js App Router only);
24
-
1.**Replexica API** - an i18n API in the cloud that performs translations using context-aware LLMs (Usage based, has a free tier.).
Replexica comes with an open-source compiler plugin for React (experimental), and an i18n API in the cloud that performs translations using context-aware LLMs.
31
24
32
25
## Getting Started
33
26
34
-
Check out our [Docs](https://github.com/replexica/replexica/wiki) for more detailed guides on how to use Replexica with your app.
27
+
Check out our [Docs](https://replexica.com/docs) for more detailed guides on how to use Replexica with your app.
35
28
36
29
## What's under the hood
37
30
38
-
Replexica is a full-stack LLM-powered i18n tool for React, and it consists of **two main parts**:
31
+
Replexica is a full-stack LLM-powered i18n platform for React, and it consists of **two main parts**:
39
32
40
-
1.**Replexica i18n Compiler** (this repo) - an open-source compiler plugin for React:
33
+
1.**Replexica i18n Compiler** (this repo, experimental) - an open-source compiler plugin for React:
41
34
* Doesn't require extracting strings into JSON files;
42
35
* Seamlessly integrates with React build system;
43
36
* Infers metadata and user-facing text from the app;
44
37
* Prepares the content for further context-aware translation.
45
38
46
-
The compiler hooks into the build process, infers metadata from the app, such as the text that needs to be translated and the context it's in. The Abstract Syntax Tree (AST) is traversed to gather the metadata, the context, and the text that needs to be translated. This metadata is then stored alongside the build artifacts.
47
-
48
39
1.**Replexica i18n API** ([replexica.com](https://replexica.com)) - an i18n API in the cloud that translates apps into multiple languages, using LLMs, fast:
49
-
*~~$0/mo + usage, with free tier;~~ Entirely free, during the launch period;
40
+
* $0/mo + usage-based API;
50
41
* Full context awareness + brand voice;
51
-
* State-of-the-art quality translations (adding more new languages soon!) via a mix of open-source and proprietary AI models;
52
-
* API is open, so anyone could build their own translation engine (self-hosting guide coming soon).
53
-
54
-
The i18n engine uses AI to translate the text, and the more it's used, the better it gets. The very first version used plain gpt-3.5, though currently it's more like a mix of Llama + Google Vertex AI + GPT + Mixtral, and we're switching between models regularly as we improve the API.
55
-
56
-
The core idea behind Replexica is simple: apps must be multi-language by default, from day one. **The Internet is global, and so must be any software that runs on it.**
57
-
58
-
## Why
59
-
60
-
Having built tens of side-projects / micro-startups over the years, we found one thing to be particularly annoying: adding i18n to the app. We wanted to **ship, and ship fast**, not to mess with JSON files or extraction scripts.
61
-
62
-
So it got us thinking: why not build a tool that makes multi-language apps simpler? I mean, anyone who's tried to add i18n to their project knows it's a headache.
42
+
* State-of-the-art quality translations via a mix of open-source and proprietary AI models.
63
43
64
-
That's why we teamed up build a React compiler coupled with an AI-powered API, to make i18n as simple as possible, at the most fundamental level.
44
+
The core idea behind Replexica is simple: apps must be multi-language by default, from day one.
65
45
66
-
## Roadmap
46
+
**The Internet is global, and so must be any software that runs on it.**
67
47
68
-
Here are the main features we're working on next:
48
+
## Authors
69
49
70
-
The more detailed roadmap is below:
71
-
72
-
*[x] Replexica Compiler
73
-
*[x] Next.js App Router
74
-
*[ ] Next.js Pages Router
75
-
*[ ] Remix
76
-
*[ ] Create React App
77
-
*[x] Replexica Framework
78
-
*[x] Core JSX translation
79
-
*[x] Custom context hints
80
-
*[x] Translation of JSX attributes (title, alt, placeholder)
81
-
*[ ] Translation of generic literals with helper functions
*[ ] (Create a GitHub issue to request a new language!)
94
-
*[ ] Self-hosting guides / docs
95
-
*[x] Replexica CLI
96
-
*[x] CLI for Replexica Platform
97
-
*[x] Open-source API schema
98
-
*[ ] GitHub Actions integration
99
-
100
-
## Core Team
101
-
102
-
We're a lean team of two:
103
-
104
-
***[Veronica](https://github.com/vrcprl)** - Product, Data Science, and LLMs.
50
+
***[Veronica](https://github.com/vrcprl)** - Data Science, and LLMs.
105
51
***[Max](https://github.com/maxprilutskiy)** - React, Typescript, and Compilers.
106
52
107
-
We've also got a few (11 at the moment) contributors who signed up to help us with the project, and we're always looking for more. If you're interested in contributing, please drop by our Discord channel and say hi!
108
-
109
53
## Contributing
110
54
111
55
If you're building a side-project, or a startup, or you're working at a big company that uses Replexica - we'd love to hear from you!
@@ -114,13 +58,7 @@ If you're building a side-project, or a startup, or you're working at a big comp
114
58
***Feature requests** - tell us what you need, and we'll do our best to build it.
115
59
***Bug reports** - if you find a bug, please let us know, and we'll fix it as soon as we physically can.
116
60
117
-
Also the special one:
118
-
119
-
***Complaints** - if you're unhappy with _literally anything_ about your current i18n approach - drop by our Discord!
120
-
121
-
Last time someone complained we built a feature for them and made it production-ready within 48 hours.
122
-
123
-
Lastly, we've recently created a [Discord channel](https://discord.gg/GeK6AuSqzw): come say hi! 👋
61
+
***Contributions** - if you're a developer, and you'd like to contribute to Replexica, please check out our [Contributing Guide](./CONTRIBUTING.md).
0 commit comments