msayed-net / localize_and_translate

Flutter localization in easy steps
MIT License
52 stars 22 forks source link

i don't really know where is the problem #9

Closed cherifburette closed 4 years ago

cherifburette commented 4 years ago

i made this function it should be working it checks if a shared preference has ar value and it should enter this function, it does enter the function but it some how exists in "to" part after checking it using the breakpoints 3b0376ab-2d03-46a9-914c-087a85774201 thanks in advance

msayed-net commented 4 years ago

The thing is Google translation API uses pay at scale for translations, it's not free.

When first I added this method I thought people will donate so that we could use more translations, but that did not happen.

Google limited usage for us now, so I removed this method in the newer versions of localize_and_translate and you will not get any further translations.

cherifburette commented 4 years ago

@msayed-net oh ok, so what is the new function ?

msayed-net commented 4 years ago

I'm studying adding all possible translation methods with user-based API-Keys, so that every user become responsible for his usage

msayed-net commented 4 years ago

Please check versions 3.x.x which applies mentioned method