Could not preview project - actions-on-google

My project name is Mr. HTML Teacher and I've successfully submitted and it is accepted in ENGLISH language using trivia templates.
The project id is mr-html.
Now I am trying to add another language (French).
First, I added the language in Actions of the project and creates an Excel in french. But when I upload, it gives the following error:
Could not preview project: mr-html Parameter: projectId

Related

Why Doesn't Swift Package Manager Ask For A Filename?

In a regular Xcode project app, when I create a new file, it will offer me a template (eg. SwiftUI/Swift/Storyboard) to choose from. I choose a template, click on next, and the prompt will allow me to input the filename. After that, Xcode automatically generates the file with the filename given, the header filename, and the struct name in case of SwiftUI file.
However, in Swift Package Manager projects, creating a new file doesn't give me the chance to input a filename and creates a default Swift or SwiftUI file with placeholder names like file.swift.
Is this a known issue or bug? Why this behavior? Is there anyway to change this?
Question credit

How do I send html email with work items delivered from last build in VSTS?

I am trying to automate the release workflow by using VSTS pipelines, the component which i need to deliver is basically a library.
The VSTS pipeline is now building the Visual Studio solution and generating the binary files in the artifacts folder, but i need to send an email to the QA team with the list of work items which have been delivered as part of the release.
I have found a VSTS task in the marketplace which generates the release notes using MD files:
https://marketplace.visualstudio.com/items?itemName=richardfennellBM.BM-VSTS-GenerateReleaseNotes-Task&targetId=b4f49e36-84e5-48a6-b338-51f8ecc1d8d7
However, what I need is a task based on a customizable HTML template and send in the attachments a ZIP file with the content of the artifacts folder.
Anyone know how could i implement this behaviour as part of the pipeline?
How do I send html email with work items delivered from last build in VSTS?
In fact, you have already found the answer, just need to go one step further.
In the Usage and Description of Types of Template about that extension, you could get the following instructions:
but it also possible to generate other formats such as HTML with
appropriate templates.
The use of a template allows the user to define the layout and fields
shown in the release notes document. It is basically a markdown file
(or other format of your choice)
So, this extension should supports HTML format.
As test, I add that task with html template file build-basic-template.htm:
Note: Set the Output file with .htm format and template here (I use the first one).
Besides, if you want to seed email with this .htm file, you could use the Build Notification task or Send email task.
Hope this helps.

Why don't the Target 8 files implement the project as described in the tutorial?

In Target 8: Define a Custom DOM Tag, the reader is told about custom DOM tags that can be created by extending other tags. A sample is described for an example called "x-converter" before listing the files as "These files implement the app:".
The three files are...
a drseuss.html file (not sure why there's a sudden deviation in the project name and the HTML file, as opposed to the matching names in previous tutorials...),
a converter-element.html file,
and a convertercomponent.dart file.
I tried creating a new application in the latest Dart editor, and replaced the default HTML file contents with that of drseuss.html, replaced the default dart file contents with that of convertercomponent.dart, and added converter-element.html file.
After fixing an include issue (the file from the tutorial refers to drseuss.css and not the default project name's CSS file), I only see the following in the Chromium browser.
As you can see, the element described in the tutorial (converter-element) doesn't show up. Why don't the files provided for the project result in what's shown in the tutorial?
For reference, here's what's shown in the tutorial.
Web UI requires the build.dart script which compiles the various components into the executable output HTML+Dart.
Take a look at the parent folder in the github src that you reference, and you will see the build.dart script.
In addition, you will need the pubspec.yaml from that folder, too, which includes web_ui package, which brings in the dwc tool(Dart Web Components compiler) used by build.dart.
Take a look at the article Tools for Web UI for more information about dwc and build.dart, and Target 6 - Getting Started with Web UI which covers similar ground, but in a tutorial format.

How to create different versions of a site in Liferay?

I have built my site with default language being in Spanish and now I want to build the English version of it. I have added the link 'In English' to the Spanish site, and when clicked takes me to www.example.com/en. The control panel on the English site converts to English as well, which is fine. Then I try to translate the contents from Spanish to English.
Here is what I do: let's say I take the 'Contact' menu, where I have the contact page. In the URL then it looks like this: www.example.com/en/contact. Through Edit, I go to the text editor, localize the language to English, change the title and the content of the page into English and save it in a hope to see the changes on the English version only, but the change is also shown on the Spanish version, that is it overrides the Spanish version, which means that the page is the same on both the language versions. I thought the copy that is under www.example.com/en/contact is a different instance of the web content than that on www.example.com/contact, but I was wrong.
The question is how to create the English version of the site then? Should I copy the whole site's theme into a folder e.g. /en and make the changes from there? or there is another way to do this?
1: Create a content
2: Add tranlation
3: Put tranlation
with www.example.com/en/contact, www.example.com/bg/contact, etc. you can see the tranlation.

How do I remove support for English in my iOS app?

I renamed en.lproj to sv.lproj. I then added the Swedish resources to the project and removed the English resources.
The problem is that the app still "thinks" that it supports English, i.e. [[NSBundle mainBundle] localizations] returns both en and sv.
I've removed every reference to en and English that I could find in the project file and the info plist, but it still supports English.
I'm running out of ideas, so please help me. There must be a ton of people that written apps that doesn't support English. Still I haven't been able to find anything useful on Google.
First of all check this:
List item
Open project in Xcode >= 4.0.2
Click on project file
Select item under Project title on the right
Check Localizations table.
EDIT: Adding the final steps to solve my problem in case anyone has the same problem. /Erik B
Select the localization you want to duplicate (English)
Click + and select the language you want you're app to use (Swedish)
Select the localization you want to remove (English)
Click - and delete the files
That's all there's to it. Now your app will only use Swedish or whatever language you chose.
First go to project details (first entry in the project navigator) and click on your project to see the global settings. Look what is written under "Localizations". If there is still "English" you have to check for every file what is in the file inspector under Localization. Remove every English localization.