Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Locale support #5

Open
c-sanchez opened this issue May 25, 2022 · 10 comments
Open

Locale support #5

c-sanchez opened this issue May 25, 2022 · 10 comments
Labels
good first issue Good for newcomers

Comments

@c-sanchez
Copy link

Hi, SpeedShare looks really cool and useful, however it is a pity that the program is not available in more languages, both the mobile and desktop applications.

Add support for translations, I would like to help with Spanish translation if possible.

By the way, I think it would be better if the name of the application is displayed in English for everyone, SpeedShare.
It's a bit strange to see characters that I don't understand heh.

@mengyanshou
Copy link
Contributor

first of all thank you very much,but I've been a little busy lately. Internationalization will be introduced in about a month,thanks again~

@c-sanchez
Copy link
Author

Hi @mengyanshou, no worries, thanks for your reply, great to know that we will have this app available in more languages :D
Will you update the desktop version as well?

@mengyanshou
Copy link
Contributor

Yes, since this project was developed using Flutter, any changes will apply to all platforms,And I've changed my mind. I'm going to join internationalization sometime this week~

@c-sanchez
Copy link
Author

c-sanchez commented Jun 17, 2022

Hola mengyanshou, how are you?
I am following the project, I saw that a few days ago you uploaded some code related to translation support.
I hope soon to be able to make the translation in Spanish :D

@mengyanshou
Copy link
Contributor

Ok~, you can create a Spanish translation file based on the 'intl_en.arb' file, when finished, submit the PR to this project.

@mengyanshou mengyanshou pinned this issue Jun 20, 2022
@mengyanshou mengyanshou added the good first issue Good for newcomers label Jun 20, 2022
@c-sanchez
Copy link
Author

Here the spanish translation:

{
    "common": "Común",
    "downlaodPath": "Ruta de descarga",
    "autoDownload": "Descarga automática",
    "clipboardshare": "Compartir portapapeles",
    "messageNote": "Vibrar al recibir un mensaje",
    "aboutSpeedShare": "Acerca de Speed Share",
    "currenVersion": "Versión actual",
    "otherVersion": "Descargar la otra versión",
    "lang": "Idioma",
    "developer": "Desarrollador",
    "openSource": "Código abierto",
    "ui": "Diseñador de IU",
    "recentFile": "Archivo reciente",
    "recentImg": "Imagen reciente",
    "currentRoom": "Sala de chat",
    "remoteAccessFile": "Acceso remoto al archivo local",
    "remoteAccessDes": "Puede gestionar el archivo abriendo esta URL con el navegador.",
    "directory": "Directorio",
    "unknownFile": "Archivo desconocido",
    "zip": "Zip",
    "doc": "Documento",
    "music": "Música",
    "video": "Vídeo",
    "image": "Imagen",
    "apk": "Apk"
}

the line 18: "remoteAccessDes": "Use broswer open this url can manager file.",
I guess is "Use browser to open this url can manage file."
I don't quite understand what that line refers to, So I interpreted it like this to translate it into Spanish:
"You can manage the file by opening this URL with the browser"

@mengyanshou
Copy link
Contributor

It's great! Now I have initially added Spanish into the project, but the coverage of internationalization is not complete, and there is no caching, which needs to wait for the later development. I submitted the code to the dev branch, here are some download links
arm64
armv7

@c-sanchez
Copy link
Author

Yes, there are still some strings to translate, but it's a good start, thanks for the binaries.
Please leave me a message here when there is an update :)

@c-sanchez
Copy link
Author

Hi @mengyanshou , Spanish locale update :D

{
    "common": "Común",
    "setting": "Ajustes",
    "downlaodPath": "Ruta de descarga",
    "autoDownload": "Descarga automática",
    "clipboardshare": "Compartir portapapeles",
    "messageNote": "Vibrar al recibir un mensaje",
    "aboutSpeedShare": "Acerca de Speed Share",
    "currenVersion": "Versión actual",
    "otherVersion": "Descargar otra versión",
    "downloadTip": "SpeedShare también es compatible con Windows, macOS y Linux",
    "lang": "Idioma",
    "chatWindow": "Ventana de chat",
    "developer": "Desarrollador",
    "openSource": "Código abierto",
    "noMessageTip": "Actualmente no hay mensajes, haga clic para entrar en la lista de mensajes",
    "inputConnect": "Ingresar conexión",
    "scan": "Escanear código QR",
    "log": "Registro",
    "theTermsOfService": "Términos de servicio",
    "privacyAgreement": "Acuerdo de privacidad",
    "qrTips": "Deslice hacia un lado para cambiar de IP",
    "ui": "Diseñador de interfaz",
    "recentFile": "Archivos recientes",
    "recentImg": "Imágenes recientes",
    "currentRoom": "Sala de chat",
    "remoteAccessFile": "Archivo local de acceso remoto",
    "remoteAccessDes": "Puede administrar los archivos locales abriendo esta IP en el navegador.",
    "directory": "Directorio",
    "unknownFile": "Archivo desconocido",
    "zip": "Zip",
    "doc": "Documento",
    "music": "Música",
    "video": "Vídeo",
    "image": "Imagen",
    "apk": "Apk"
}

Missing strings to transle:

main window
https://i.ibb.co/BPMfm3D/speedshare-main-window.jpg

Files type window
https://i.ibb.co/tZb3rYj/speedshare-files-type-window.jpg

input ip window
https://i.ibb.co/x6VxyYN/speedshare-ip-window.jpg

text input field from chat window
https://i.ibb.co/YbwHLcG/speedshare-text-input-chat-window.jpg

text input field context menu from chat window
https://i.ibb.co/XWMZjQ1/speedshare-text-input-context-menu-chat-window.jpg

Program name
https://i.ibb.co/KbJV9yr/speedshare-android-launcher-icon.jpg
Yeah, at least for me is a bit weird to have Speed Share icon in my Android launcher with Chinese text hehe

@mengyanshou
Copy link
Contributor

okk!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants