It is currently 22 April 2025, 5:06 Advanced search

Traduzione App

Domande e risposte su come utilizzare Instant Developer Cloud al meglio

Traduzione App

Postby mcdok » 13 June 2018, 10:40

Due dubbi che non so come risolvere:
- è possibile passare da una lingua all'altra all'interno dell'app e non solo nella OnStart? se si, come?
- dove imposto la Api Key per Google Translate per ottenere in automatico le traduzioni?
mcdok
 
Posts: 855
Joined: 19 July 2011, 16:18

Re: Traduzione App

Postby m.sirri » 13 June 2018, 11:58

Attualmente come fai a cambiare lingua nell'onStart?

L'APIKey la puoi impostare in qualunque punto del codice prima ovviamente di fare le traduzioni (devi impostare la proprietà RTCDesigner.GoogleAPIKey).
User avatar
m.sirri
Pro Gamma
Pro Gamma
 
Posts: 8574
Joined: 30 September 2010, 17:01
Location: Ozzano dell'Emilia (BO)

Re: Traduzione App

Postby mcdok » 13 June 2018, 13:57

1. Per impostare la lingua in OnStart uso app.langCode, se lo cambio dopo non ha effetto.
2. Non trovo la proprietà RTCDesigner.GoogleAPIKey. Mi pare che questa fa riferimento a Foundation non al Cloud.
mcdok
 
Posts: 855
Joined: 19 July 2011, 16:18

Re: Traduzione App

Postby m.sirri » 13 June 2018, 15:01

Scusa, non avevo visto che si parlava di Cloud.
User avatar
m.sirri
Pro Gamma
Pro Gamma
 
Posts: 8574
Joined: 30 September 2010, 17:01
Location: Ozzano dell'Emilia (BO)

Re: Traduzione App

Postby mcdok » 13 June 2018, 15:36

... visto che siamo in argomento, ho tradotto tutte le stringhe, infatti anche selezionando Automatic Translate mi dice "The Application is already translated"

ma quando vado a compilare ottengo:

"Error while building the app jODYN: The translation of the language is not complete"

e mi blocca l'installazione e lo share.
mcdok
 
Posts: 855
Joined: 19 July 2011, 16:18


Return to Tips & Tricks - Cloud

Who is online

Users browsing this forum: No registered users and 22 guests

cron