psi-4ward / psitransfer

Simple open source self-hosted file sharing solution.
BSD 2-Clause "Simplified" License
1.49k stars 217 forks source link

Create Portuguese translation #116

Closed bhbarbosa closed 3 years ago

bhbarbosa commented 3 years ago

Hi!

Not sure about langCode though, but this is Brazilian Portuguese translation.

jcmousse commented 3 years ago

Hello,

I am very happpy with psitransfer, and i'm ready to provide a french translation. Right now, i'm testing the change of the default language on my present psitransfer docker setup.

In the docker-compose file, i add PSITRANSFER_DEFAULT_LANGUAGE=pt to the environment section, but the web interface sticks to english language.

What am i doing wrong ?

Regards, jeanclaude

Le 12/11/2020 à 19:47, Bruno Henrique Barbosa a écrit :

Hi!

Not sure about langCode though, but this is Brazilian Portuguese translation.


    You can view, comment on, or merge this pull request online at:

https://github.com/psi-4ward/psitransfer/pull/116 https://github.com/psi-4ward/psitransfer/pull/116

    Commit Summary

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/psi-4ward/psitransfer/pull/116, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOUM27ONW2S4UCNRJ2FCAXLSPQUVTANCNFSM4TTU4PDA.

psi-4ward commented 3 years ago

Please inspect your accept lang header

jcmousse commented 3 years ago

Done! Didn't know it was "automatic". Great job!

The fr.js file is ready, how do i add it to the lang directory ?

Thanks for your time. jc

Le 14/12/2020 à 22:11, Christoph Wiechert a écrit :

Please inspect your accept lang header

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/psi-4ward/psitransfer/pull/116#issuecomment-744712616, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOUM27IE3KFN3LK6DEVJPU3SUZ5OHANCNFSM4TTU4PDA.

psi-4ward commented 3 years ago

pls create PR :)