Localisation support (foreign languages)
Re: Localistion support (foreign languages)
Just checkout a new local branch
Re: Localistion support (foreign languages)
Hope that is ok:
Code: Select all
{
.LANGUAGE_NAME = "Deutsch",
.language = "Sprache",
.menu = "Men/252",
.credits = "Mitwirkende",
.zone = "Zone",
.rssi = "Feldst/228rke",
.battery = "Batterie",
.contacts = "Kontakte",
.firmware_info = "Firmware Info",
.last_heard = "Zuletzt geh/246rt",
.options = "Einstellungen",
.display_options = "Display Optionen",
.channel_details = "Kanal Details",
.new_contact = "Neuer Kontakt",
.contact_list = "Kontaktliste",
.hotspot_mode = "Hotspot-Modus",
.contact_details = "Kontakt Details",
.batteryVoltage = "%d.%dV",
.built = "Erstellt",
.built = "Erstellt",
.zones = "Zonen",
.keypad_locked = "Tasten gesperrt",
.press_blue_plus_star = "Blaue Taste +*",
.to_unlock = "zum entsperren",
.unlocked = "Entsperrt",
.power_off = "Schalte aus...",
.error = "FEHLER",
.rx_only = "Nur Rx",
.out_of_band = "AUSSER BAND",
.timeout = "Zeit abgelaufen",
.tg_entry = "TG Eingabe",
.pc_entry = "PC Eingabe",
.user_dmr_id = "Benutzer ID",
.contact = "Kontakt",
.displayRxFreq = "%d.%05d MHz",
.accept_call = "Ruf annehmen?",
.private_call = "Privater Ruf",
.squelch = "Rauschsperre",
.vfoRxFreq = "%cR %d.%05d MHz",
.vfoTxFreq = "%cT %d.%05d MHz",
.vfoEnterFreq = "%c%c%c.%c%c%c%c%c MHz",
.quick_menu = "Schnellfunktion",
.filter = "Filter:%s",
.all_channels = "Alle Kan/228le",
.gotoChannel = "Gehe zu %d",
.scan = "Suchlauf",
.channelToVfo = "Kanal --> VFO",
.vfoToChannel = "VFO --> Kanal",
.group = "Gruppe",
.private = "Privat",
.all = "Alle",
.type = "Type:",
.timeSlot = "Zeitschlitz",
.none = "kein",
.contact_saved = "Kontakt gesp.",
.duplicate = "Duplikat",
.tg = "TG",
.pc = "PC",
.ts = "TS",
.mode = "Modus",
.colour_code = "Color Code",
.n_a = "N/A",
.channelDetailsRx = "Rx:%d.%05dMHz",
.channelDetailsTx = "Tx:%d.%05dMHz",
.bandwidth = "Bandbreite",
.stepFreq = "Schritt:%d.%02dkHz",
.tot = "TOT",
.off = "Aus",
.skip = "/220berspringe",
.yes = "Ja",
.no = "Nein",
.rx_group = "Rx Gruppe",
.on = "Ein",
.timeout_beep = "Timeout-Ton",
.factory_reset = "Werks-Reset",
.calibration = "Kalibration",
.band_limits = "Band Limit",
.beep_volume = "Beep Lauts.",
.dmr_mic_gain = "DMR Mikro",
.key_long = "Key lang:%1d.%1ds",
.key_repeat = "Key wied.:%1d.%1ds",
.dmr_filter_timeout = "DMR Filter",
.brightness = "Helligkeit",
.contrast = "Kontrast",
.colour_invert = "Anzeige:Invers",
.colour_normal = "Anzeige:Normal",
.backlight_timeout = "Timeout",
.zone_skip = "Skip Zone",
.all_skip = "Skip Alle",
.scan_delay = "Scan-Verz/246gern"
};
Re: Localistion support (foreign languages)
Oh hahahaha
It was just an idea, but I'll gladly take your version and compile a TEST firmware with it
Thanks!
It was just an idea, but I'll gladly take your version and compile a TEST firmware with it
Thanks!
Re: Localistion support (foreign languages)
Slashes need to be the other wayDG3GSP wrote: ↑Fri Nov 29, 2019 8:20 pmHope that is ok:
Code: Select all
{ .LANGUAGE_NAME = "Deutsch", .language = "Sprache", .menu = "Men/252", .credits = "Mitwirkende", .zone = "Zone", .rssi = "Feldst/228rke", .battery = "Batterie", .contacts = "Kontakte", .firmware_info = "Firmware Info", .last_heard = "Zuletzt geh/246rt", .options = "Einstellungen", .display_options = "Display Optionen", .channel_details = "Kanal Details", .new_contact = "Neuer Kontakt", .contact_list = "Kontaktliste", .hotspot_mode = "Hotspot-Modus", .contact_details = "Kontakt Details", .batteryVoltage = "%d.%dV", .built = "Erstellt", .built = "Erstellt", .zones = "Zonen", .keypad_locked = "Tasten gesperrt", .press_blue_plus_star = "Blaue Taste +*", .to_unlock = "zum entsperren", .unlocked = "Entsperrt", .power_off = "Schalte aus...", .error = "FEHLER", .rx_only = "Nur Rx", .out_of_band = "AUSSER BAND", .timeout = "Zeit abgelaufen", .tg_entry = "TG Eingabe", .pc_entry = "PC Eingabe", .user_dmr_id = "Benutzer ID", .contact = "Kontakt", .displayRxFreq = "%d.%05d MHz", .accept_call = "Ruf annehmen?", .private_call = "Privater Ruf", .squelch = "Rauschsperre", .vfoRxFreq = "%cR %d.%05d MHz", .vfoTxFreq = "%cT %d.%05d MHz", .vfoEnterFreq = "%c%c%c.%c%c%c%c%c MHz", .quick_menu = "Schnellfunktion", .filter = "Filter:%s", .all_channels = "Alle Kan/228le", .gotoChannel = "Gehe zu %d", .scan = "Suchlauf", .channelToVfo = "Kanal --> VFO", .vfoToChannel = "VFO --> Kanal", .group = "Gruppe", .private = "Privat", .all = "Alle", .type = "Type:", .timeSlot = "Zeitschlitz", .none = "kein", .contact_saved = "Kontakt gesp.", .duplicate = "Duplikat", .tg = "TG", .pc = "PC", .ts = "TS", .mode = "Modus", .colour_code = "Color Code", .n_a = "N/A", .channelDetailsRx = "Rx:%d.%05dMHz", .channelDetailsTx = "Tx:%d.%05dMHz", .bandwidth = "Bandbreite", .stepFreq = "Schritt:%d.%02dkHz", .tot = "TOT", .off = "Aus", .skip = "/220berspringe", .yes = "Ja", .no = "Nein", .rx_group = "Rx Gruppe", .on = "Ein", .timeout_beep = "Timeout-Ton", .factory_reset = "Werks-Reset", .calibration = "Kalibration", .band_limits = "Band Limit", .beep_volume = "Beep Lauts.", .dmr_mic_gain = "DMR Mikro", .key_long = "Key lang:%1d.%1ds", .key_repeat = "Key wied.:%1d.%1ds", .dmr_filter_timeout = "DMR Filter", .brightness = "Helligkeit", .contrast = "Kontrast", .colour_invert = "Anzeige:Invers", .colour_normal = "Anzeige:Normal", .backlight_timeout = "Timeout", .zone_skip = "Skip Zone", .all_skip = "Skip Alle", .scan_delay = "Scan-Verz/246gern" };
E.g.
\246
I can’t remember if the numbers need to be in hex or decimal and may need a leading zero
Re: Localistion support (foreign languages)
Just checked
https://en.wikipedia.org/wiki/Escape_sequences_in_C
It needs to be \x followed by the hex number
https://en.wikipedia.org/wiki/Escape_sequences_in_C
It needs to be \x followed by the hex number
Re: Localistion support (foreign languages)
Ok, thanks. I will edit the list
Code: Select all
{
.LANGUAGE_NAME = "Deutsch",
.language = "Sprache",
.menu = "Men\xFC",
.credits = "Mitwirkende",
.zone = "Zone",
.rssi = "Feldst\xE4rke",
.battery = "Batterie",
.contacts = "Kontakte",
.firmware_info = "Firmware Info",
.last_heard = "Zuletzt geh\xF6rt",
.options = "Einstellungen",
.display_options = "Display Optionen",
.channel_details = "Kanal Details",
.new_contact = "Neuer Kontakt",
.contact_list = "Kontaktliste",
.hotspot_mode = "Hotspot-Modus",
.contact_details = "Kontakt Details",
.batteryVoltage = "%d.%dV",
.built = "Erstellt",
.built = "Erstellt",
.zones = "Zonen",
.keypad_locked = "Tasten gesperrt",
.press_blue_plus_star = "Blaue Taste +*",
.to_unlock = "zum entsperren",
.unlocked = "Entsperrt",
.power_off = "Schalte aus...",
.error = "FEHLER",
.rx_only = "Nur Rx",
.out_of_band = "AUSSER BAND",
.timeout = "Zeit abgelaufen",
.tg_entry = "TG Eingabe",
.pc_entry = "PC Eingabe",
.user_dmr_id = "Benutzer ID",
.contact = "Kontakt",
.displayRxFreq = "%d.%05d MHz",
.accept_call = "Ruf annehmen?",
.private_call = "Privater Ruf",
.squelch = "Rauschsperre",
.vfoRxFreq = "%cR %d.%05d MHz",
.vfoTxFreq = "%cT %d.%05d MHz",
.vfoEnterFreq = "%c%c%c.%c%c%c%c%c MHz",
.quick_menu = "Schnellfunktion",
.filter = "Filter:%s",
.all_channels = "Alle Kan\xE4le",
.gotoChannel = "Gehe zu %d",
.scan = "Suchlauf",
.channelToVfo = "Kanal --> VFO",
.vfoToChannel = "VFO --> Kanal",
.group = "Gruppe",
.private = "Privat",
.all = "Alle",
.type = "Type:",
.timeSlot = "Zeitschlitz",
.none = "kein",
.contact_saved = "Kontakt gesp.",
.duplicate = "Duplikat",
.tg = "TG",
.pc = "PC",
.ts = "TS",
.mode = "Modus",
.colour_code = "Color Code",
.n_a = "N\xA",
.channelDetailsRx = "Rx:%d.%05dMHz",
.channelDetailsTx = "Tx:%d.%05dMHz",
.bandwidth = "Bandbreite",
.stepFreq = "Schritt:%d.%02dkHz",
.tot = "TOT",
.off = "Aus",
.skip = "\xDCberspringe",
.yes = "Ja",
.no = "Nein",
.rx_group = "Rx Gruppe",
.on = "Ein",
.timeout_beep = "Timeout-Ton",
.factory_reset = "Werks-Reset",
.calibration = "Kalibration",
.band_limits = "Band Limit",
.beep_volume = "Beep Lauts.",
.dmr_mic_gain = "DMR Mikro",
.key_long = "Key lang:%1d.%1ds",
.key_repeat = "Key wied.:%1d.%1ds",
.dmr_filter_timeout = "DMR Filter",
.brightness = "Helligkeit",
.contrast = "Kontrast",
.colour_invert = "Anzeige:Invers",
.colour_normal = "Anzeige:Normal",
.backlight_timeout = "Timeout",
.zone_skip = "Skip Zone",
.all_skip = "Skip Alle",
.scan_delay = "Scan-Verz\xF6gern"
};
Re: Localistion support (foreign languages)
Bad news... I tried four different ways to put it... None worked
- Attachments
-
- language.png (11.54 KiB) Viewed 4815 times
-
- language.png (775 Bytes) Viewed 4815 times
Re: Localistion support (foreign languages)
Just try
\xfc
\xfc
Re: Localistion support (foreign languages)
Nope... displayed as "?"
Re: Localistion support (foreign languages)
OK
I will investigate
I will investigate