Android Question Localizator

Sergey_New

Well-Known Member
Licensed User
Longtime User
When creating a new version of the application, I add a new term to the strings.db file. When updating the application on the device with new data, Localizator returns the key value, not the translation. Other data is translated normally. Everything works fine on the emulator.
It seems that the strings.db file on the device is not updated. What can be done?
 

Sergey_New

Well-Known Member
Licensed User
Longtime User
I don't know what the reason is, but in my Samsung Galaxy S23 FE Exynos device the data is not cleared.
I solved the problem like this:
B4X:
Sub Service_Create
    Try
        If File.Exists(File.DirInternal, "strings.db") Then
            File.Delete(File.DirInternal, "strings.db")
        End If
    Catch
        Log(LastException)
    End Try
End Sub
 
Upvote 0
Top