booleanbites / houzi-support

Support forum repo for issues & bugs reported for Houzi Flutter App.
4 stars 0 forks source link

Translation on selection #74

Closed quitriz closed 10 months ago

quitriz commented 11 months ago

Hi, I followed your instruction to put the words or phrase in the localization file to translate, and it only work on the outside pages, but not working in the deeper level like when you do the selection, it doesn't translate .. where do I put those words or phrase in order for it to do the translation once people click on the "Select" menu .. ? thanks

AdilSoomro commented 11 months ago

Hi,

Which language are you trying to translate?

quitriz commented 11 months ago

Hi,

Which language are you trying to translate?

Hi, Vietnamese Thanks

AdilSoomro commented 11 months ago

Are you using correct language code for Vietnamese language? What is the lang code are you using?

select, copy, paste, and other contextual translations are presented by flutter platform. If Vietnamese is supported by flutter, then it shouldn't be a problem. Make sure you are using correct language code.

If nothing work, you can look into providing your own material and widget localization by implementing the protocols of localization ie LocalizationsDelegate.

quitriz commented 11 months ago

Hi,

I follow the instruction copy en_localization to vi_localization and load the vietnamese up like the docs. and in here you told the other friend that just copy "the phrase": "vietnamese", then it worked for just the outer layer of the page, all the words that need to be selected didn't get translated. i am not a programmer, so it's a bit harder for me. i saw a .po file inside the directory but don't know how to activate that, but still that files would haven't all the words that would be translated correctly. Vietnamese has missing link in the automatic translation, since its language pretty new so a lot of translation are incorrect, so the way i do the translation for myself is much more acurate. can you guide me how to make those words in those selection menu to be translated when it popup ? 362654677_10161087043243729_3047086757083387316_n 362634690_10161087043083729_6893311534676476516_n

quitriz commented 11 months ago

see those inside the highlight circle ? those are the one in the selection menu and get translated when they are displayed outside like that ..

thanks 362638710_10161087051248729_2159761169427731210_n

AdilSoomro commented 11 months ago

To translate the ones in the drop-downs in add property and search filters, please use wpml on the wordpress admin panel and add translations for each property type. This is dynamic form, which shows everything from wordpress admin panel. Any new property type will also be fetched and shown in search filter automatically. And it automatically fetches the translated name based on language selected in the app.

If you want to use Vietnamese as the only language on website and app, then you can set the main and only language to Vietnamese as the website language from wordpress admin. That way, you won't need to translate everything from English to Vietnamese via WPML plugin.

quitriz commented 11 months ago

Hi,

Thank you, I will try that, do you have any good WPML plugin is good to install ? I searched for WPML and it came up many ones and not sure which is the right one . and I am using both of the language together that's why I need both. i actually use 3 languages as the same time, including Chinese.

Thanks

AdilSoomro commented 11 months ago

WPML allows you to make a website multilingual, so that's good for having more than one language.

This is the official website for the plugin: https://wpml.org

quitriz commented 11 months ago

Thanks, that's too much that they charge, do u know any that's free ? :)

quitriz commented 11 months ago

Hi,

Where do you store those list of words in the system ? So i can go there maybe get translated from there ?

thanks

MuhammadSulemanSaleem commented 11 months ago

Hi,

Please provide your email address so we can provide you with the latest code.

quitriz commented 11 months ago

Hi, thank you very much: donvu2k@yahoo.com

AdilSoomro commented 10 months ago

Since a follow up ticket is already in progress, closing this one.