Problem with translating of boolean variables

I guess that there's a problem with using boolean variables on a language different from English.

It seems that MD continues to expect TRUE and FALSE and not VERDADEIRO e FALSO.

Rgds
 

Dm114

Well-known member
I guess that there's a problem with using boolean variables on a language different from English.

It seems that MD continues to expect TRUE and FALSE and not VERDADEIRO e FALSO.

Rgds
I just tried to create a boolean variable then set it programmatically. In both cases Portuguese words appear.

At what stage did you notice that?
 
I just tried to create a boolean variable then set it programmatically. In both cases Portuguese words appear.

At what stage did you notice that?
I noticed this because of code failing. Then I looked to log where the values are true and false and not verdadeiro e falso..

To solve, I changed the variable type to string and used SIM and NÃO as values. Everything is going well.

If necessary I can try to simulate the situation again.

Thanks for attention.
 

Dm114

Well-known member
I noticed this because of code failing. Then I looked to log where the values are true and false and not verdadeiro e falso..

To solve, I changed the variable type to string and used SIM and NÃO as values. Everything is going well.

If necessary I can try to simulate the situation again.

Thanks for attention.
As far as I understand it seems that it could be a problem limited to log phrases. Maybe they are not all translated and part of them remain in English. 🤔
 
Instead of Falso write "false".
It's true that it's kind of misleading though as this constraint allows for user text input.
Hi

I used the default value that MD offers ...

To set to another value like "false" I had to set another variable. But if this new variable is boolean type I don't have "false" option.

It's a deadlock.

I changed variable type to string and used SIM ou NÃO (in Portuguese) to workaround.

Thanks
 

Attachments

  • Screenshot_20240325_073337_MacroDroid.jpg
    Screenshot_20240325_073337_MacroDroid.jpg
    308.1 KB · Views: 2
Top