TextTaable use HasFieldTextForLanguage if it is in other language,and the filed not wroten,it would get true
Posted: Wed Feb 03, 2021 4:29 am
As title,Is it normal?
I just want to check the textTable has it's own language filed in case that the translator forget to write the language filed.
So I checked this to use HasFieldTextForLanguage and let a test filed set some words in default language,the testing language not set any words.But using HasFieldTextForLanguage in testing language,it would return true.
Or just because using GetFieldTextForLanguage,it would get the default language's filed.so that's the reason HasFieldTextForLanguage judge true?
If it is.Could I check the textTable that not write any words in none-default language(and default language field has written)?
I just want to check the textTable has it's own language filed in case that the translator forget to write the language filed.
So I checked this to use HasFieldTextForLanguage and let a test filed set some words in default language,the testing language not set any words.But using HasFieldTextForLanguage in testing language,it would return true.
Or just because using GetFieldTextForLanguage,it would get the default language's filed.so that's the reason HasFieldTextForLanguage judge true?
If it is.Could I check the textTable that not write any words in none-default language(and default language field has written)?