The ask order in Spanish (preguntar)

Hello, I'm starting with Quest and I'm trying to create a game in Spanish, but I have a problem: if I test the game and I try to ask a question... I don't know how could I write the order. I made an experiment creating another project in English, and if I write "ask Recepcionista about money" it works fine, but in Spanish "preguntar Recepcionista sobre dinero" shows the message "No veo eso. (Recepcionista sobre dinero)"


You can check the language file espaniol.aslx, it's in the Quest installation path /Core/languages. The following phrases are thought to work for ask

pregunta a (?<object>.*) (sobre|por|acerca de) (?<text>.*)
pregunte a (?<object>.*) (sobre|por|acerca de) (?<text>.*) 
preguntar a (?<object>.*) (sobre|por|acerca de) (?<text>.*)
preguntarle a (?<object>.*) (sobre|por|acerca de) (?<text>.*)
preguntale a (?<object>.*) (sobre|por|acerca de) (?<text>.*)
pregúntale a (?<object>.*) (sobre|por|acerca de) (?<text>.*)     

but I think the expression is wrong

<template templatetype="command" name="ask"><![CDATA[^pregunta a (?<object>.*) (sobre|por|acerca de) (?<text>.*)$|^pregunte a (?<object>.*) (sobre|por|acerca de) (?<text>.*)$^preguntar a (?<object>.*) (sobre|por|acerca de) (?<text>.*)$^preguntarle a (?<object>.*) (sobre|por|acerca de) (?<text>.*)$^preguntale a (?<object>.*) (sobre|por|acerca de) (?<text>.*)$^pregúntale a (?<object>.*) (sobre|por|acerca de) (?<text>.*)$]]></template>

The or pipe | is missing between the single parts of the expression
So you can copy the language file into your game directory and change the ask template


This topic is now closed. Topics are closed after 60 days of inactivity.

Support

Forums