You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 15, 2025. It is now read-only.
What CLI version are you using: 4.14.1
What Nodejs version are you using: 14.17.1
What command-line interpreters are you using: CMD (Windows' command prompt)
What OS are you using: Win10 x64
Describe the bug
If a file is created without app information in the header part (i.e.: @app.version etc.), culture specified via filename, e.g.: MyBot.it-it.lu is not taken into account. This causes a wrong check for prebuilt entities availability.
This closely relates to #1292. In fact, that issue must be addressed before this one to allow the culture information to pass along methods' calls.
Possible solution in first comment.
To Reproduce
BF Composer Way
Generate a new Project
Change Localization as you wish. It must not be en-us
Define some triggers and run the build
Check for .lu files generated in path/to/your/bot/generated/interruption. In header section you will find for every .lu file
> !# @app.culture = en-us
BF CLI way
Create a new file without culture information in header
Insert culture in file name, e.g.: MyBot.it-it.lu
In the same folder run bf luis:cross-train passing arguments as per docs
Check generated files. In header section you will find for every .lu file
> !# @app.culture = en-us
Expected behavior
It should generate a .lu file with correct culture information, provided it's not specified in file header but it is in filename.
Screenshots
Not applicable
Additional context
This issue affects also BotFramework Composer which makes use of cross train to generate intermediate .lu files
Versions
What CLI version are you using: 4.14.1
What Nodejs version are you using: 14.17.1
What command-line interpreters are you using: CMD (Windows' command prompt)
What OS are you using: Win10 x64
Describe the bug
If a file is created without app information in the header part (i.e.:
@app.versionetc.), culture specified via filename, e.g.:MyBot.it-it.luis not taken into account. This causes a wrong check for prebuilt entities availability.This closely relates to #1292. In fact, that issue must be addressed before this one to allow the culture information to pass along methods' calls.
Possible solution in first comment.
To Reproduce
BF Composer Way
en-us.lufiles generated inpath/to/your/bot/generated/interruption. In header section you will find for every.lufileBF CLI way
MyBot.it-it.lubf luis:cross-trainpassing arguments as per docs.lufileExpected behavior
It should generate a
.lufile with correct culture information, provided it's not specified in file header but it is in filename.Screenshots
Not applicable
Additional context
This issue affects also BotFramework Composer which makes use of cross train to generate intermediate
.lufiles[bug]