Android Question Multilingual B4XPages application

Sergey_New

Well-Known Member
Licensed User
Longtime User
The application has a "Settings" page where you can set the desired language.
If several application pages have already been added to B4XPages, how can I change the language of these pages? Is it possible to find all these pages, delete them and recreate them with a new language?
 

LucaMs

Expert
Licensed User
Longtime User
Upvote 0

LucaMs

Expert
Licensed User
Longtime User
They do not have the B4XPages app.
It's also suitable for B4XPages (don't think of B4XPages as a completely different "environment"—they're projects with classes and a single Main (Activity / Form / Pane (b4i?)).

Everything you can do with a "classic" project (Activities) can be done with B4XPages.

But it's highly recommended to develop new B4XPages-type projects.
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
If several application pages have already been added to B4XPages, how can I change the language of these pages? Is it possible to find all these pages, delete them and recreate them with a new language?
YOU are the developer. ONLY YOU know which have been added.
Recreate the desired pages again i would suggest
 
Upvote 0

josejad

Expert
Licensed User
Longtime User
how can I change the language of these pages?
Have you played with this aeric's example?

 
Upvote 0

Sergey_New

Well-Known Member
Licensed User
Longtime User
So will it be necessary to go through all the pages of the application, delete them and create them again? Perhaps that is what will have to be done. Thanks!
 
Upvote 0

aeric

Expert
Licensed User
Longtime User
Maybe you can have a public variable such as BlnLocaleChanged As Boolean. Check this value in B4XPage_Appear or B4XPage.IsInitialized.
If True, update the B4XView or Labels with the translated Text.
 
Upvote 0
Top