GitLab Well Architected
Cookbook navigation
Prompts / Translate Application to Another Language

Translate Application to Another Language

LocalizationDeveloperRefactoringCreateAdvanced

Internationalize applications with proper i18n, date formatting, and RTL support.

For GitLab Duo

prompt

Help me internationalize this application:

[PASTE CODE OR DESCRIBE]

Support:
1. Extract hardcoded strings
2. Implement i18n framework
3. Handle date/number formatting
4. Support RTL languages
5. Manage translation files

Use the prompt

Describe the target locales and share the application code. Review translated text in its interface, where longer strings, plural forms, and right-to-left layout can affect the experience.