[DISKUSSION] Internationalization/i18n Support #7

Closed
opened 2021-02-02 13:52:59 +00:00 by niggl · 1 comment
Owner

Since all projects under the LfK! org are meant to be reuseable we should think about implementing some kind of internationalization for the document generation server.

My initial ideas so far:

  • Add a language prefix to all templates and default to env var/en
  • Get the language from a query-param and default to env var/en
  • Switch the normal descriptions and texts in the templates to mustache-style template strings and replace them according to the current language

But I'm open for other ideas/suggestions.

Since all projects under the LfK! org are meant to be reuseable we should think about implementing some kind of internationalization for the document generation server. My initial ideas so far: * Add a language prefix to all templates and default to env var/en * Get the language from a query-param and default to env var/en * Switch the normal descriptions and texts in the templates to mustache-style template strings and replace them according to the current language But I'm open for other ideas/suggestions.
niggl added this to the Basic Generation milestone 2021-02-02 13:52:59 +00:00
philipp was assigned by niggl 2021-02-02 13:52:59 +00:00
niggl self-assigned this 2021-02-02 13:52:59 +00:00
Author
Owner

I'm gonna implement the i18n basics over in #5

I'm gonna implement the i18n basics over in #5
niggl closed this issue 2021-02-05 17:15:12 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: lfk/document-server#7
No description provided.