I'm currently trying to create bots to test my code in Xcode server, and I would like to test my app in several languages and regions, but I can't find a more convenient way to do this than creating one bot per language and region. Is there a way to make one bot changing it's language between each test ?
Related
i am working on a bot project with Microsofts Bot Framework. My bot is based on the SDK 4.0 and until this point, everything is working fine. In the last few days was thinking about making a change and go and use the BF Composer to configure and build my bot solutions.
After some tests i discovered, that the availible bots inside the Composer are only available in the english language set. But my bot uses german as the default language.
Now to my question:
Is it possible to set Bot Framework Composer Bots to a diffrernt lanugage than english (german for example)? If not, when will this be availabe?
Composer already supports authoring bots in different languages. The documentation on multiple language support should get you started. You can combine this with support for different cultures in LUIS and QnA to create bots in languages other than English.
I'd love to be able to create an interactive something like the picture below to include in an app - rows represent partners that we'd work with, and columns represent how many widgets they are assigned to build per month (those numbers come from the partner based on their resources, availability, etc.) The goal is to track how many of the expected widgets were created, how many were started and cancelled, etc. according to how mnay "slots" were allocated. Clicking on a "box" would cycle through the colors to indicate the status of that widget. All data would be stored in the underlying CDS entities.
This UI is familiar to my team, which is currently based in Excel, but want to transfer into a custom widget I can surface in our Model-driven App in CDS.
Any suggestions on a web UI framework/approach/etc. to help me get started? I don't want to recreate something that already exists somewhere, or start building from scratch something that there is a cool (yet unknown to me) UI framework that would make this easier than starting from complete scratch.
PowerApps component framework is the way to go. Typescript is the language to be developed on and Dynamics context awareness is main plus for this PCF control.
As far as I know, there is no control available for this. Check here
PCF builder is a good place to start the development.
Is it possible to have a single code base for a mobile(ios/android) and web application? I'm thinking about using react native or angular/nativescript. If you have attempted this what are the things to keep in mind before doing this. Also anything particular to for SEO?
Most importantly are there any real world apps with reasonable complexity that already have done this?
NativeScript actually supports this a couple different ways.
NativeScript officially supports Angular; so you can create everything as an Angular application. Almost the entire app can be shared between Web and NativeScript; the only things that can't is the actual screen layout. In Angular for the Web; you use HTML tags so it might be somepage.html <div>{{somevalue}}</div> and for the NativeScript side you would have somepage.xml and it would have <Label text="{{somevalue}}"></Label>. This allows you to layout the app using the native components for Mobile, and web components for browsers, but use the same backend logic.
There are several seeds and platforms that are designed around fully creating a web app and a NativeScript mobile app that can share virtually everything.
NativeScript also supports VueJS; in this case you can again create virtually everything that shares much of its code base, the only thing is again you need separate layout files because again the web uses html, and NativeScript uses native components. So you have to have separate display files.
Disclaimer: I also work for nStudio; I tend to do non-angular type plugins mainly; but I do know that xPlat is really state of the art and has been used in several successful applications that our development studio has produced.
I'm wondering if there is any way to handle i18n while building HTML/Js apps using trigger.io (forge).
By the way, there is also no way to detect user's locale on devices, workarounding by inspecting User Agent ( or in my case - a FB connect app - asking FB to get the user's locale)
Internationalization is a must have for any serious app ...
I'm currently "hacking" this by creating several JSON files (one per locale), holding same keys in the appropriate language.
1: Is there any plan of detecting/getting user's locale with forge Js API ?
2: Is there any plan to handle automated i18n while building apps ?
Tks.
You could easily write a Trigger.io plugin to detect the device language for you. Here are some resources on how to do this:
Android: http://developer.android.com/reference/java/util/Locale.html
iOS: Getting current device language in iOS?
As soon as you have the language string you could then use one of many js plugins that handle localization for you OR do it on your own. Having multiple json files with the localized strings and loading one of them on demand doesn't sound too hacky to me.
PS: Of course, if you plan to have a mobile browser version of your app you cannot rely on native plugins. In this case you'd have to use a different solution. Take a look at JavaScript for detecting browser language preference.
There are two things to translate: your JS/HTML app and the native elements.
JS/HTML
Use window.navigator.language to get the locale.
Use some library, e.g. https://github.com/wikimedia/jquery.i18n
Native
The native elements aren't shown that often, but do contain some crucial things, such as permissions dialogs ('The app wants access to your photos').
There is currently no support in trigger.io for translating this section that I know of, i.e. they will all be in english.
But as I understand it trigger.io could add support for this fairly easily, by just making it possible to 'switch' on more languages in config.json, since there are already translations for these dialogs built into iOS, just a matter of 'flagging' an app as having support for the language.
Again, I'm not 100% sure on the native part, but this is how I think it works.
I have some knowledge of basic PHP developing however right now I am thinking about developing a phone app. I do however have a bit of a conundrum in that I love WP7 and I have so many ideas for features which can't be done on iOS and Android, however at the same time I am completely aware that my target users (filmmakers) generally have iOS or android phones.
Is there a way I can develop the app, which I will get a developer to do rather than myself, with WP7 as the lead platform and then make a relatively simple conversion to the other platforms or do apps generally have to be completely reworked for each platform?
Also, just to though it out there, any idea of where to go to find a freelance app developer?
Thanks
James
I think you have a few options, but the first question I would have is: where comes the data from. Are you the owner of the data, and do you already have a datasource from where you can get the data from? If not I would suggest take some time to write a decent 'backend' from which the different platforms easily can get the data from.
Also all different platforms have their own pro/cons which you cannot share that easily. If you build a WP7 app in silverlight/xna, you cannot directly port it to a ios/android variant, also functionality will probably look/react different. You will need different solutions foreach platform with this approach.
Another option would be to use an platform like phonegap which can create a solution that will work on multiple platforms. (It uses HTML5 to get it work on the different platforms)
Build your app on iOS and android first, and when you have an app to base WP7 development then contact a developer that has made similar apps to yours.