Menu

1 / 2

AnalogJS 2.5: Runtime i18n, Fast Compilation Mode, Hierarchical Content, and more!

DEV Community·Brandon Roberts·6 months ago
#UIRHp2Fi
#angular#software#coding#development#analog
Reading 0:00
15s threshold

We are excited to announce the release of Analog 2.5! This release introduces first-class runtime i18n support, a new fast compilation mode, hierarchical content with recursive prerendering, and a new AI integrations guide. Let's dive in.

Runtime i18n 🌍

Analog 2.5 adds first-class runtime internationalization built on Angular's $localize . With a single build, your app can serve every supported locale, with the active locale detected on both the server and the client.

Setup

Install @angular/localize and import the polyfill in your application entry:

// src/main.ts import ' @angular/localize/init ' ;

Enter fullscreen mode

Exit fullscreen mode

Configure the supported locales on the analog() plugin in vite.config.ts .…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.