x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

How to change game language during game play?

I want to change the language of the game during game play and I have allocated a button to Set Language and Local, see image attached, but by pressing the button it only changes the engine language not the translated widget texts using localization dashboard.

[1]: /storage/temp/228171-blueprint-script.png

Product Version: UE 4.18
Tags:
more ▼

asked Jan 23 '18 at 05:57 PM in Blueprint Scripting

avatar image

AmirPaknejad
13 1 2 4

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

You can only change game language when playing in Standalone mode.

In case you haven't setup proper localization, try this guide from wiki. https://wiki.unrealengine.com/The_Easy_Way_Of_Translating_Your_Game

more ▼

answered Jan 24 '18 at 06:14 AM

avatar image

Duncan Dam
3.1k 121 50 164

avatar image AmirPaknejad Jan 24 '18 at 09:38 AM

Thank you very much for your comment and the link.

I have setup the localization and I can see the different languages in the language preview of each widget. However, the problem is that I cannot change the language inside the packaged game on my smartphone (android) by pressing on a button assigned for the Set Language and Locale. Would you please let me know how I can implement the change inside the packaged game?

avatar image Duncan Dam Jan 25 '18 at 01:45 AM

I haven't check on android yet, but my packaged game is on PC and IOS and can change language anytime.

There a few thing you can review:

  1. In Localization Dashboard, Compile Text after you add all language alt text

  2. Go Project Settings->Packaging, add any language you want to package, make sure change Internationalization Support to All alt text

capture.png (25.3 kB)
capture.png (29.0 kB)
avatar image AmirPaknejad Jan 25 '18 at 08:23 AM

Thank you so much, it worked :) I had to change Internationalization Support to All

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

Take a look at this video: link text here you got the solution for your problem if you are using Blueprints. I Made my game change languaje using this tutorial.

more ▼

answered Jan 24 '18 at 03:30 PM

avatar image

Micky
146 7 6 8

avatar image AmirPaknejad Jan 25 '18 at 08:24 AM

Thank you for the link

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question