The Ibis translation plugin, powered by Ibis, auto-translates your entire app or site for you into hundreds of languages using the Ibis engine.
With a one-line component Sparc.Ibis auto-translates everything inside the component to the user's language! Usage is as follows:
-
Inside your platform project install the
Sparc.IbisNuget package -
Add this line to your platform
wwwroot/appsettings.json:
{ "IbisApi": "https://ibis.chat" }Ibis.chat is live, you can create your account now or you can use your own API
- Add the following to your
Program.cs
using Sparc.Ibis;
//...
builder.Services.AddIbis();- Wrap whatever you want to translate in
<IbisContent ChannelId="[the Ibis channel/room ID to post translations to]"></IbisContent>That's it! No necessary JS to add either, because .NET 7 has introduced a new way to auto-embed JS modules from a Razor Class Library, which we're taking advantage of.
Check here an example of use in Ibis Project