diff --git a/docker-compose.dev.yml b/docker-compose.dev.yml
index dc3c68058..0fab869eb 100644
--- a/docker-compose.dev.yml
+++ b/docker-compose.dev.yml
@@ -49,6 +49,7 @@ services:
- ./frontend/public:/app/public
- ./frontend/styles:/app/styles
- ./frontend/components:/app/components
+ - ./frontend/locales:/app/locales
env_file: .env
environment:
- NEXT_PUBLIC_ENV=development
@@ -91,4 +92,4 @@ volumes:
driver: local
networks:
- infisical-dev:
\ No newline at end of file
+ infisical-dev:
diff --git a/frontend/locales/en-US/common.json b/frontend/locales/en-US/common.json
index 5fa086df6..d6592fe7e 100644
--- a/frontend/locales/en-US/common.json
+++ b/frontend/locales/en-US/common.json
@@ -1,3 +1,45 @@
{
- "test": "test!!"
+ "meta": {
+ "login": {
+ "title": "Login | Infiscal",
+ "og-title": "Log In to Infisical",
+ "og-description": "Infisical a simple end-to-end encrypted platform that enables teams to sync and manage their .env files."
+ },
+ "signup": {
+ "title": "Sign Up | Infiscal",
+ "og-title": "Replace .env files with 1 line of code. Sign Up for Infisical in 3 minutes.",
+ "og-description": "Infisical a simple end-to-end encrypted platform that enables teams to sync and manage API-keys and environemntal variables. Works with Node.js, Next.js, Gatsby, Nest.js..."
+ }
+ },
+ "email": "Email",
+ "password": "Password",
+ "verify": "Verify",
+ "first-name": "First Name",
+ "last-name": "Last Name",
+ "validate-required": "Please input your {{name}}",
+ "password-validate": "Password should contain at least:",
+ "password-validate-length": "14 characters",
+ "password-validate-case": "1 lowercase character",
+ "password-validate-number": "1 number",
+ "auth": {
+ "login": "Log In",
+ "signup": "Sign Up",
+ "need-account": "Need an Infisical account?",
+ "create-account": "Create an account",
+ "already-have-account": "Have an account? Log in",
+ "forgot-password": "Forgot your password?",
+ "step1-start": "Let's get started",
+ "step1-privacy": "By creating an account, you agree to our Terms and have read and acknowledged the Privacy Policy.",
+ "step1-submit": "Get Started",
+ "step2-message": "We've sent a verification email to{{email}}",
+ "step2-code-error": "Oops. Your code is wrong. Please try again.",
+ "step2-spam-alert": "Make sure to check your spam inbox.",
+ "step3-message": "Almost there!",
+ "step4-message": "Save your Emergency Kit",
+ "step4-description1": "If you get locked out of your account, your Emergency Kit is the only way to sign in.",
+ "step4-description2": "We recommend you download it and keep it somewhere safe.",
+ "step4-description3": "It contains your Secret Key which we cannot access or recover for you if you lose it.",
+ "step4-download": "Download PDF"
+ },
+ "maintenance-alert": "We are experiencing minor technical difficulties. We are working on solving it right now. Please come back in a few minutes."
}
diff --git a/frontend/locales/ko-KR/common.json b/frontend/locales/ko-KR/common.json
index 37d47e424..0967ef424 100644
--- a/frontend/locales/ko-KR/common.json
+++ b/frontend/locales/ko-KR/common.json
@@ -1,3 +1 @@
-{
- "test": "테스트! !!!!!!!!"
-}
+{}
diff --git a/frontend/package.json b/frontend/package.json
index 2a7f3f1ee..4f5d4f335 100644
--- a/frontend/package.json
+++ b/frontend/package.json
@@ -33,6 +33,7 @@
"jsrp": "^0.2.4",
"markdown-it": "^13.0.1",
"next": "^12.2.5",
+ "next-translate": "^1.6.0",
"posthog-js": "^1.34.0",
"query-string": "^7.1.1",
"react": "^17.0.2",
diff --git a/frontend/pages/login.js b/frontend/pages/login.js
index dfc928e57..966774642 100644
--- a/frontend/pages/login.js
+++ b/frontend/pages/login.js
@@ -55,13 +55,13 @@ export default function Login() {
return (
- Need an Infisical account?
+ {t("auth.need-account")}
- We are experiencing minor technical difficulties. We are
- working on solving it right now. Please come back in a few
- minutes.
+
+ {t("maintenance-alert")}