bepasty-server icon indicating copy to clipboard operation
bepasty-server copied to clipboard

Add i18n support

Open Chevek opened this issue 4 years ago • 1 comments

Hello,

I'm using bepasty-server as part of Freedombox in Debian ( https://freedombox.org/ ). I'm french and I would like to use bepasty as a collectiv storage for files with my neighbours. For that purpose, I need to translate it in french. I did not found any support for i18n to help translation, so I just changed the files on my server. Please consider adding i18n support to bepasty.

I attached the changes I've made to translate the UI in french against current master: french.txt

Best regards

Chevek avatar Feb 14 '21 22:02 Chevek

Not sure I want to implement this myself, but if someone makes a good PR for this I'll consider merging it.

It of course can't just be patched like done in the patch in the top post, but there needs to be some infrastructure in the code, dynamically switching the web UI language depending on the user's preference.

As bepasty does not have user profiles, we can only use the user's browser preference announced in the Accept-Language http header.

Keywords:

  • babel
  • transifex (optional, more comfortable for translators, but maybe not needed for these few strings)

ThomasWaldmann avatar Feb 15 '21 16:02 ThomasWaldmann

Not planned (as far as I am concerned).

ThomasWaldmann avatar Jan 21 '23 19:01 ThomasWaldmann