From 3e75e5e802c60ff0fc0c87eca8d9198061286668 Mon Sep 17 00:00:00 2001 From: thesupertechie Date: Mon, 5 Jan 2026 10:42:53 +0100 Subject: [PATCH] [core] Add Tamil TTS support This PR adds TTS voice instruction support for the Tamil language. Co-authored-by: thesupertechie Co-committed-by: thesupertechie --- data/sound-strings/ta.json/localize.json | 108 +++++++++++++++++++++++ libs/platform/languages.hpp | 3 +- 2 files changed, 110 insertions(+), 1 deletion(-) create mode 100644 data/sound-strings/ta.json/localize.json diff --git a/data/sound-strings/ta.json/localize.json b/data/sound-strings/ta.json/localize.json new file mode 100644 index 000000000..b005483b9 --- /dev/null +++ b/data/sound-strings/ta.json/localize.json @@ -0,0 +1,108 @@ +{ +"make_a_slight_right_turn":"லேசாக வலதுபுறம் திரும்புங்கள்.", +"make_a_slight_right_turn_street":"NULL", +"make_a_slight_right_turn_street_verb":"NULL", +"make_a_right_turn":"வலதுபுறமாக திரும்புங்கள்.", +"make_a_right_turn_street":"NULL", +"make_a_sharp_right_turn":"கூர்மையாக வலதுபுறம் திரும்புங்கள்.", +"make_a_sharp_right_turn_street":"NULL", +"enter_the_roundabout":"ரவுண்டபௌட்டை நுழையுங்கள்.", +"enter_the_roundabout_street":"NULL", +"enter_the_roundabout_street_verb":"NULL", +"leave_the_roundabout":"ரவுண்டபௌட்டை வெளியேறுங்கள்.", +"leave_the_roundabout_street":"NULL", +"leave_the_roundabout_street_verb":"NULL", +"make_a_slight_left_turn":"லேசாக இடதுபுறம் திரும்புங்கள்.", +"make_a_slight_left_turn_street":"NULL", +"make_a_slight_left_turn_street_verb":"NULL", +"make_a_left_turn":"இடதுபுறமாக திரும்புங்கள்.", +"make_a_left_turn_street":"NULL", +"make_a_sharp_left_turn":"கூர்மையாக இடதுபுறம் திரும்புங்கள்.", +"make_a_sharp_left_turn_street":"NULL", +"make_a_u_turn":"U-வழியில் திரும்புங்கள்.", +"make_a_u_turn_street":"NULL", +"make_a_u_turn_street_verb":"NULL", +"go_straight":"நேரா போங்க.", +"exit":"வெளியேறுங்கள்.", +"onto":"நோக்கி", +"take_exit_number":"வெளியேறும் வழி எடுங்கள்", +"take_exit_number_street_verb":"NULL", +"route_recalculating":"வழி மறுபடி கணிக்கிறது", +"destination":"நீங்கள் வருவீர்கள்.", +"you_have_reached_the_destination":"நீங்கள் வந்துவிட்டீர்கள்..", +"in_50_meters":"ஐம்பது மீட்டரில்", +"in_100_meters":"நூறு மீட்டரில்", +"in_200_meters":"இருநூறு மீட்டரில்", +"in_250_meters":"இருநூற்று ஐம்பது மீட்டரில்", +"in_300_meters":"முன்னூறு மீட்டரில்", +"in_400_meters":"நானூறு மீட்டரில்", +"in_500_meters":"ஐநூறு மீட்டரில்", +"in_600_meters":"அறுநூறு மீட்டரில்", +"in_700_meters":"எழுநூறு மீட்டரில்", +"in_750_meters":"எழுநூறு ஐம்பது மீட்டரில்", +"in_800_meters":"எண்ணூறு மீட்டரில்", +"in_900_meters":"தொள்ளாயிரம் மீட்டரில்", +"in_1_kilometer":"ஒரு கிலோமீட்டரில்", +"in_1_5_kilometers":"ஒன்றரை கிலோமீட்டரில்", +"in_2_kilometers":"இரண்டு கிலோமீட்டரில்", +"in_2_5_kilometers":"இரண்டரை கிலோமீட்டரில்", +"in_3_kilometers":"மூன்று கிலோமீட்டரில்", +"then":"அடுத்தது", +"dist_direction_onto_street":"%1$s %4$s %3$s %5$s %2$s", +"take_the_1_exit":"ஒன்றாம் வெளியேறும் வழி எடுங்கள்.", +"take_the_1_exit_street":"NULL", +"take_the_1_exit_street_verb":"NULL", +"take_the_2_exit":"இரண்டாம் வெளியேறும் வழி எடுங்கள்.", +"take_the_2_exit_street":"NULL", +"take_the_2_exit_street_verb":"NULL", +"take_the_3_exit":"மூன்றாம் வெளியேறும் வழி எடுங்கள்.", +"take_the_3_exit_street":"NULL", +"take_the_3_exit_street_verb":"NULL", +"take_the_4_exit":"நான்காவது வெளியேறும் வழி எடுங்கள்.", +"take_the_4_exit_street":"NULL", +"take_the_4_exit_street_verb":"NULL", +"take_the_5_exit":"ஐந்தாவது வெளியேறும் வழி எடுங்கள்.", +"take_the_5_exit_street":"NULL", +"take_the_5_exit_street_verb":"NULL", +"take_the_6_exit":"ஆறாவது வெளியேறும் வழி எடுங்கள்.", +"take_the_6_exit_street":"NULL", +"take_the_6_exit_street_verb":"NULL", +"take_the_7_exit":"ஏழாவது வெளியேறும் வழி எடுங்கள்.", +"take_the_7_exit_street":"NULL", +"take_the_7_exit_street_verb":"NULL", +"take_the_8_exit":"எட்டாவது வெளியேறும் வழி எடுங்கள்.", +"take_the_8_exit_street":"NULL", +"take_the_8_exit_street_verb":"NULL", +"take_the_9_exit":"ஒன்பதாவது வெளியேறும் வழி எடுங்கள்.", +"take_the_9_exit_street":"NULL", +"take_the_9_exit_street_verb":"NULL", +"take_the_10_exit":"பத்தாவது வெளியேறும் வழி எடுங்கள்.", +"take_the_10_exit_street":"NULL", +"take_the_10_exit_street_verb":"NULL", +"take_the_11_exit":"பதினொன்றாவது வெளியேறும் வழி எடுங்கள்.", +"take_the_11_exit_street":"NULL", +"take_the_11_exit_street_verb":"NULL", +"in_50_feet":"ஐம்பது அடியில்", +"in_100_feet":"நூறு அடியில்", +"in_200_feet":"இருநூறு அடியில்", +"in_300_feet":"முன்னூறு அடியில்", +"in_400_feet":"நானூறு அடியில்", +"in_500_feet":"ஐநூறு அடியில்", +"in_600_feet":"அறுநூறு அடியில்", +"in_700_feet":"எழுநூறு அடியில்", +"in_800_feet":"எண்ணூறு அடியில்", +"in_900_feet":"தொள்ளாயிரம் அடியில்", +"in_1000_feet":"ஆயிரம் அடியில்", +"in_1500_feet":"ஆயிரம் ஐநூறு அடியில்", +"in_2000_feet":"இரண்டு ஆயிரம் அடியில்", +"in_2500_feet":"இரண்டு ஆயிரம் ஐநூறு அடியில்", +"in_3000_feet":"மூன்று ஆயிரம் அடியில்", +"in_3500_feet":"மூன்று ஆயிரம் ஐநூறு அடியில்", +"in_4000_feet":"நான்கு ஆயிரம் அடியில்", +"in_4500_feet":"நான்கு ஆயிரம் ஐநூறு அடியில்", +"in_5000_feet":"ஐந்து ஆயிரம் அடியில்", +"in_1_mile":"ஒன்று மைலில்", +"in_1_5_miles":"ஒன்றரை மைலில்", +"in_2_miles":"இரண்டு மைலில்", +"unknown_camera":"கேமரா முன்னால் இருக்கிறது" +} diff --git a/libs/platform/languages.hpp b/libs/platform/languages.hpp index 31bbcc9b3..b62192e45 100644 --- a/libs/platform/languages.hpp +++ b/libs/platform/languages.hpp @@ -27,7 +27,7 @@ namespace routing::turns::sound * - All other variants default to `zh-Hans` (Simplified Chinese). * */ -std::array, 42> constexpr kLanguageList = {{ +std::array, 43> constexpr kLanguageList = {{ {"en", "English"}, {"id", "Bahasa Indonesia"}, {"ca", "Català"}, @@ -82,5 +82,6 @@ std::array, 42> constexpr kLanguag #endif {"ja", "日本語"}, {"ko", "한국어"}, + {"ta", "தமிழ்"}, }}; } // namespace routing::turns::sound