Skip to content

Commit 879d171

Browse files
justin808claude
andcommitted
Add missing i18n translation files
These files are required by the application but were missing from the repository. Created default locale and translation stubs to enable SSR bundles to build successfully. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent a951f4c commit 879d171

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

client/app/libs/i18n/default.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
// Default locale and messages for i18n
2+
export const defaultLocale = 'en';
3+
4+
export const defaultMessages = {
5+
'app.name': 'React Webpack Rails Tutorial',
6+
'comment.form.name_label': 'Name',
7+
'comment.form.text_label': 'Text',
8+
'comment.form.submit': 'Submit',
9+
};
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
// Translation messages for different locales
2+
export const translations = {
3+
en: {
4+
'app.name': 'React Webpack Rails Tutorial',
5+
'comment.form.name_label': 'Name',
6+
'comment.form.text_label': 'Text',
7+
'comment.form.submit': 'Submit',
8+
},
9+
es: {
10+
'app.name': 'Tutorial de React Webpack Rails',
11+
'comment.form.name_label': 'Nombre',
12+
'comment.form.text_label': 'Texto',
13+
'comment.form.submit': 'Enviar',
14+
},
15+
};

0 commit comments

Comments
 (0)