Localize the UI
Opened this issue · 10 comments
Hello,
It would be nice to be able to set-up the language for the interface in the settings.
I could contribute French and Polish translations when I find the time for it :)
Thanks!
i could do German ...
As a Thank you ... waited forever for this simple way of taking notes with any app .. effin awesome !
edit i the did the German translation
`
<string name="app_name">Sayboard</string>
<string name="mic_info_error">Fehler\n</string>
<string name="mic_info_preparing">Vorbereiten der Erkennung\n</string>
<string name="mic_info_ready">Fertig\n</string>
<string name="mic_info_error_failed">Fehler bei der Inizialisierung der Erkennung %s\n</string>
<string name="mic_info_recording">Sag Etwas\n</string>
<string name="mic_error_no_previous_ime">Kein vorherige IME!</string>
<string name="mic_error_no_recognizers">Keine Erkennung installiert!</string>
<string name="mic_error_recognizer_error">Erkennungs Fehler</string>
<string name="mic_error_mic_in_use">Mikrofon ist wird bereits benutzt!</string>
<!-- <string name="pause">Pause</string>-->
<!-- <string name="continueRecognition">Continue</string>-->
<string name="Komma">,</string>
<string name="Ausrufezeichen">!</string>
<string name="Doppelpunkt">:</string>
<string name="Punkt">.</string>
<string name="Enter"><![CDATA[<-\']]></string>
<string name="world">O</string>
<string name="Zurück"><![CDATA[<-]]></string>
<string name="Fragezeichen">\?</string>
<string name="model_dialog_title">Wähle Model</string>
<string name="mic_permission_grant">Gewähre Mikrofone Erlaubniss</string>
<string name="mic_permission_not_granted">Nicht Gewährt</string>
<string name="mic_permission_granted">Gewährt</string>
<string name="keyboard_enable">Aktiviere Keyboard</string>
<string name="keyboard_not_enabled">Nicht Aktiviert</string>
<string name="keyboard_enabled">Aktiviert</string>
<string name="switch_keyboard">Wechsle Keyboard</string>
<string name="open_ime_switcher">Öffne IME Switcher</string>
<string name="open_ime_note">Notiz: Man kann den IME-Switcher öffnen wenn die Tastatur offen ist wenn man den Mikrofonknopf lange drückt.</string>
<string name="title_activity_settings">Aktivitäts Einstellungen</string>
<string name="title_setup">Setup</string>
<string name="title_models">Modelle</string>
<string name="title_ui">Benutzer Interface</string>
<string name="title_logic">Logik</string>
<!-- Preference Titles -->
<string name="ui_light_theme_header">Helles Thema</string>
<string name="ui_dark_theme_header">Dunkles Thema</string>
<string name="ui_keyboard_header">Tastatur</string>
<string name="logic_logic_header">Logik</string>
<!-- Models Preferences -->
<string name="menu_models_add_server">Vosk Server zufügen</string>
<string name="dialog_add_vosk_server_title">Vosk Server zufügen</string>
<string name="dialog_add_vosk_server_hostname">Hostname</string>
<string name="dialog_add_vosk_server_port">Port</string>
<string name="dialog_add_vosk_server_add">Zufügen</string>
<string name="dialog_add_vosk_server_cancel">Abbrechen</string>
<!-- UI Preferences -->
<string name="ui_light_theme_foreground_material_you_title">Benutze Material You Fordergrund Farbe</string>
<string name="ui_light_theme_foreground_color_title">Fordergrund Farbe</string></string>
<string name="ui_light_theme_background_color_title">Hintergrund Frabe</string>
<string name="ui_dark_theme_foreground_material_you_title">Benutze Material You Fordergrund Farbe</string>
<string name="ui_dark_theme_foreground_color_title">Fordergrund Farbe</string>
<string name="ui_dark_theme_background_color_title">Hintergrund Frabe</string>
<string name="ui_theme_reset_color">Reset</string>
<string name="other_keyboard_height_portrait_title">Tastatur Höhe im Portait Modus (%)</string>
<string name="other_keyboard_height_landscape_title">Tastatur Höhe im Landschafts Modus (%)</string>
<!-- Logic Preferences -->
<string name="other_keep_screen_awake_title">Bildschirm wach halten</string>
<string name="other_listen_immediately_title">Sofort zuhören</string>
<string name="other_listen_immediately_summery">Sofort zuhören wenn die Erkennung bereit ist.</string>
<string name="other_auto_switch_back_title">Automatisch zurück wechseln</string>
<string name="other_auto_switch_back_summery">Automatisch zurück zur vorherigen Tastatur wechseln wenn die Tastatur versteckt ist.</string>
<string name="other_keep_model_in_ram_title">Halte Model im RAM (wenn geschlossen)</string>
<string name="other_keep_model_in_ram_summery">Behalte model im Ram um das Öffnen zu beschleunigen. Braucht mehr RAM.</string>
<!-- Notifications -->
<string name="notification_download_channel_name">Model download</string>
<string name="notification_download_channel_description">Model download Status Nachricht.</string>
<string name="notification_download_title">Lade Model runter</string>
<string name="notification_download_content_unknown">Lade…</string>
<string name="notification_download_content_downloading">Runterladen in Gange…</string>
<string name="notification_download_content_unzipping">Extrahiere Model…</string>
<string name="notification_download_content_finished">Runterladen Beendet!</string>
<string name="notification_download_content_error">Error beim Runterladen des Model</string>
Live long and prosper ;)
@Schrebergarten03-links, thanks for the translation!
Most of the text was actually hard-coded after switching to Jetpack Compose. Just now I added those hard-coded texts. Can you please go over Sayboard/app/src/main/res/values/strings.xml and add the changes?
Oh, and there's also https://github.com/ElishaAz/Sayboard/blob/master/app/src/main/res/values/model_names.xml which needs to be translated
Edit: actually, that file is not used.
`
<string name="app_name">Sayboard</string>
<!-- Mic -->
<string name="mic_info_error">Error\n</string>
<string name="mic_info_preparing">Vorbereiten der Erkennung\n</string>
<string name="mic_info_ready">Fertig\n</string>
<string name="mic_info_error_failed">Fehler bei der Initialisierung%s\n</string>
<string name="mic_info_recording">Sag Etwas\n</string>
<string name="mic_error_no_previous_ime">Kein vorherige IME!</string>
<string name="mic_error_no_recognizers">Keine Erkennung installiert!</string>
<string name="mic_error_no_permission">Mikrofon Erlaubniss nicht gewährt!</string>
<string name="mic_error_recognizer_error">Erkennungs Fehler</string>
<string name="mic_error_mic_in_use">Mikrofon ist wird bereits benutzt!</string>
<!-- <string name="pause">Pause</string>-->
<!-- <string name="continueRecognition">Weiter</string>-->
<string name="Komma">,</string>
<string name="Ausrufezeichen">!</string>
<string name="Doppelpunkt">:</string>
<string name="Punkt">.</string>
<string name="Enter"><![CDATA[<-\']]></string>
<string name="Welt">O</string>
<string name="Rücktaste"><![CDATA[<-]]></string>
<string name="Fragezeichen">\?</string>
<string name="model_dialog_title">WähleModel</string>
<string name="button_cancel">Abbruch</string>
<string name="button_select">Auswählen</string>
<string name="button_default">Default</string>
<string name="button_confirm">OK</string>
<string name="title_setup">Setup</string>
<string name="title_models">Modelle</string>
<string name="title_ui">Benutzer Schnittstelle</string>
<string name="title_keyboard">Tastatur</string>
<string name="title_logic">Logik</string>
<!-- Setup -->
<string name="mic_permission_not_granted">Gewähre Mikrofone Erlaubniss</string>
<string name="mic_permission_granted">Mikrofone Erlaubniss Gewährt</string>
<string name="keyboard_not_enabled">Aktiviere Tastatur</string>
<string name="keyboard_enabled">Tastatur aktiviert</string>
<string name="switch_keyboard">Wechsle Tastatur</string>
<string name="open_ime_switcher">Öffne IME Switcher</string>
<string name="open_ime_note">Notiz: Man kann den IME Switcher öffnen wenn die Tastatur offen ist indem man den Mikrofon Konpf lange drückt.</string>
<string name="title_activity_settings">Aktivitäts Einstellungen</string>
<!-- Models Preferences -->
<string name="menu_models_add_server">Vosk Server zufügen</string>
<string name="dialog_add_vosk_server_title">Vosk Server zufügen</string>
<string name="dialog_add_vosk_server_hostname">Host Name</string>
<string name="dialog_add_vosk_server_port">Port</string>
<string name="dialog_add_vosk_server_add">Zufügen</string>
<string name="dialog_add_vosk_server_cancel">Abbruch</string>
<string name="models_download_state_unknown">Unbekannt</string>
<string name="models_download_state_pending">in Arbeit</string>
<string name="models_download_state_download_started">Am Runterladen</string>
<string name="models_download_state_download_finished">Download Fertig</string>
<string name="models_download_state_unzip_started">Unzippen</string>
<string name="models_download_state_unzip_finished">Unzippen Fertig</string>
<string name="models_download_state_finished">Fertig</string>
<string name="models_download_state_error">Fehler</string>
<string name="models_download_state_canceled">Abegebrochen</string>
<string name="models_download_state">Status: %s</string>
<string name="models_pending_download_state">Status: Pending Download</string>
<string name="models_model_display_name_null">Null</string>
<string name="models_download_dialog_title">Download Modell</string>
<string name="models_import_dialog_import">Import</string>
<string name="models_import_dialog_title">Importiere Modell</string>
<string name="models_import_dialog_text_before_link">Manueller download eines Vosk Modells von </string>
<string name="models_import_dialog_text_link">Die Vosk Internetseite</string>
<string name="models_import_dialog_text_after_link"> - Stelle sicher ein "kleines" Modell zu nehmen - Nachdem du auf Import klickst und wähle es dann in der Dateiauswahl</string>
<!-- UI Preferences -->
<string name="ui_light_theme_header">Helles Thema</string>
<string name="ui_light_theme_foreground_material_you_title">Benutze Material You Vordergrund Farbe</string>
<string name="ui_light_theme_foreground_color_title">Vordergrund Farbe</string>
<string name="ui_light_theme_background_color_title">Hintergrund Farbe</string>
<string name="ui_dark_theme_header">Dunkles Thema</string>
<string name="ui_dark_theme_foreground_material_you_title">Benutze Material You Vordergrund Farbe</string>
<string name="ui_dark_theme_foreground_color_title">Vordergrund Farbe</string>
<string name="ui_dark_theme_background_color_title">Hintergrund Farbe</string>
<string name="ui_theme_reset_color">Reset</string>
<!-- Logic Preferences -->
<string name="logic_logic_header">Logik</string>
<string name="logic_keep_screen_awake_title">Bildschirm wach halten</string>
<string name="logic_listen_immediately_title">Sofort Zuhören</string>
<string name="logic_listen_immediately_summery">Starte das Zuhören sofort wenn die Erkennung startbereit ist.</string>
<string name="logic_auto_switch_back_title">Automatisch umstellen</string>
<string name="logic_auto_switch_back_summery">Automatisch zur vorherigen Tastatur wechseln wenn die Tastatur versteckt ist.</string>
<string name="logic_keep_model_in_ram_title">Halte das Modell im RAM (when closed)</string>
<string name="logic_keep_model_in_ram_summery">Hält das Modell im Ram um das Öffnen zu beschleunigen. Braucht mehr Ram.</string>
<string name="p_keep_screen_awake_mode_never">Niemals</string>
<string name="p_keep_screen_awake_mode_when_listening">Beim Zuhören</string>
<string name="p_keep_screen_awake_mode_when_open">Wenn Offen</string>
<!-- Keyboard Preferences -->
<string name="keyboard_height_header">Tastatur Höhe</string>
<string name="keyboard_height_portrait_title">Tastaturhöhe im Protrait Modus (%)</string>
<string name="keyboard_height_landscape_title">Tastaturhöhe im Landschafts Modus (%)</string>
<string name="keyboard_keys_header">Tasten</string>
<string name="keyboard_keys_left_title">Linke Tasten Keys</string>
<string name="keyboard_keys_right_title">Rechte Tasten</string>
<string name="keyboard_keys_dialog_key_entry">Label: %s, Text: %s</string>
<string name="keyboard_keys_dialog_key_label_label">Label</string>
<string name="keyboard_keys_dialog_key_text_label">Text</string>
<!-- Notifications -->
<string name="notification_download_channel_name">Modell download</string>
<string name="notification_download_channel_description">Modell download Status Benachrichtigungen.</string>
<string name="notification_download_title">Downloade Modell</string>
<string name="notification_download_content_unknown">Lade…</string>
<string name="notification_download_content_downloading">Laden in Arbeit…</string>
<string name="notification_download_content_unzipping">Extrahiere Modell…</string>
<string name="notification_download_content_finished">Download Fertig!</string>
<string name="notification_download_content_error">Fehler downloading Modell</string>
`
here you are ... took a little bit of freedom in some strings with a nonliteral Translation where it makes sense
k
Thanks, @Schrebergarten03-links ! I added the translation in 4c98002
@Schrebergarten03-links , @przmkg , there are a few new strings:
<string name="logic_auto_capitalize_title">Auto Capitalize</string>
<string name="logic_auto_capitalize_summary">Automatically capitalize the first letter after a period (where applicable).</string>
<string name="keyboard_keys_top_title">Top Keys</string>
Can you please translate them?
<string name="logic_auto_capitalize_title">Autom. Großschreiben</string>
<string name="logic_auto_capitalize_summary">Automatisch den Anfangsbuchstaben nach einem Satzzeichen großschreiben.</string>
<string name="keyboard_keys_top_title">Oberste Tasten</string>
ps: this function is not really that suited for german ... since every noun has to be written with a capital letter ;) imho this could be reformed for simplicity by the gouverment but it isnt ^^
Thanks!