Internationalization
ShipAny uses next-intl for built-in internationalization support. It can be enabled with simple configuration.
Project Internationalization
Project internationalization includes page titles, SEO information, login form text, and other content visible after launching the ShipAny project.
In the i18n/messages directory, configure page content through [locale].json files. By default, Chinese and English are supported. In the i18n/messages/ directory, you can find en.json and zh.json files. Before project deployment, modify the content to match your project’s requirements.
You can use AI to help generate content:
update content of this file, for my new project "Flux AI", which is an AI Image Generator, with keywords "flux ai, ai image generator"
Landing Page Internationalization
Landing page content is configured in the i18n/pages/landing directory through [locale].json files.
By default, en.json and zh.json files are supported. Before project deployment, modify the content to match your project’s requirements.
Reference Prompt:
I want to build a landing page for my product named "Flux AI Image Generator", please update the landing page json file, content reference @Web @https://www.flux.ai/
Supporting More Languages
In addition to the default en and zh, if you need to support more languages like Japanese (ja), Korean (ko), French (fr), etc., you can follow these steps for multi-language configuration:
-
Add corresponding language files like
ja.json,ko.json,fr.jsonetc. in both thei18n/messagesdirectory andi18n/pages/landingdirectory. -
Modify the
i18n/locale.tsfile to add support for more languages

- Modify the
middleware.tsfile to add support for more languages

- Preview the website to see the new languages supported
