Is there a localized membership status message in the framework? - localization

I'm using the membership provider to create a new user. The membership status I return can be any value from 0 to 11, each value being a different status.
Is there a way to get a localized message from that status from the managed code? I know how to hand code it, but I wondered if it's not allready localized and ready to use from somewhere in the framework.
For example, a success is a 0. Is there an associated message that will return that as a localized string in any language supported by the framework?
Thanks.
UPDATE: I'm using ASP.Net 3.5 with MVC 1.0

No, you have to translate them yourself, sorry.

Related

How to create custom AR button

Does someone have any examples how to generate AR URL?
Reading Web SDK documentation, seems that there is no functionality to do that.
Found https://github.com/Roomle/roomle-button but not sure that`s still way to go since it has not been updated for 2 years.
If you are using the Roomle SDK you can use saveCurrentConfiguration to get the configuration id (hash) of the current configuration. Not sure what you used at the moment to obtain a configuration id but you need to call this in order to save it on the Roomle server and open it in another place.
Also make sure to set the configuratorId URL param when linking to the AR site.

Application.Current.properties is broken in latest xamarin forms release?

Since I've updated my xamarin installation to xamarin 4, saving local properties is not working across sessions on iOS.
so if I have
Application.Current.Properties.Add("key", value);
Application.Current.SavePropertiesAsync();
It's not saving anything when the app is closed & restarted.
Any pointers?
This was fixed by not saving the complex objects as it is, but serializing them to string using JsonConvert & then storing the string instead.
This works all the time.
When you want to retrieve the object back again, just deserialize the string to the object type.
This seems to be a bug in Xamarin Forms 2, revert back to the latest v1 to get it working again.
See http://forums.xamarin.com/discussion/56461/persisting-data-locally-device-cache#latest
You should NOT use Xamarin Forms 2 yet, it is not production ready yet and should be considered alpha, don't believe Xamarins marketing.

Asana API retrieve project owner, status and deadline

Is there a way using the Asana api to retrieve the project owner, project status, project description and project deadline?
I checked the API docs and could not find anything, so I am assuming the answer is no (but confirmation is much appreciated).
https://asana.com/developers/api-reference/projects#sections
If there is not a way of doing this via the API, does anyone have any hacks on how to do this using something like Selenium or another tool?
Much appreciated.
Project overview attributes are accessible attributes on project objects in the API.
current_status is the latest status update for the project including the color and text associated.
owner the current project owner.
due_date the current project due date.

Dynamic Services URL Property

I was given a new requirement for the App:
Each client must host its own services, meaning the "Service URL" cannot be fixed.
I got scared but just found the Dynamic Services URL property, which is great, and does what I want, but...
Is it possible to change the "Preferences" and "User Information" descriptions (that GX automatically creates)? The App is in Portuguese.
Or, alternatively, can I build my own validation (the check if the URL is set on my startup object)?
Thanks
Jaime
You should be able to translate those messages as any message on the KB.
First enable static or runtime translation on the KB.
Secondly go to: Folder View > Customization > Localization and filter the messages.
There should appear all the messages shown and you can add your Portuguese translations under the Portuguese language.
Example:
In an example KB you can see this messages:
and
For the second part of your question I did not find any way to do the validation.
The validation is done automatically by GeneXus Flexible Client.

How to add "Project Description" in FogBugz?

When I create a new project (or even when I edit the Sample Project) there is no way to add Description to the project.
Or am I blind to the obvious?
There's no such thing as a project description, really. There's a column in the Projects page which is used so you can see which project is the default, built-in inbox, and we couldn't think of anything better to put as the column header for that column.
You are not crazy. It is used internally and not even stored in the database. I wondered the same thing when I first started using FogBugz, but found a forum entry to answer my question. As of today, I still don't think they have implemented it. Jump over to FogCreek and submit a request, if you would like to make it editable.
"Description" missing from Project?
How to Edit a Project Description
The description is mostly for system projects, like e-mail inbox.
You might be able to set one in the underlying DB table.

Resources