You can ask your robot:"What languages do you speak?" or "Speak Japanese." or "Can you speak Japanese?"
You can also change the Robot settings on "My Robot page".
Please find more information on the documentation: - "Accessing the NAO Web page" for NAO.