How can you automatically translate a page on load? [closed] - translation

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
Google Translate. Bing Translate. You can add a widget. You can select "Spanish" and the page will translate to Spanish.
I do not want to user to have to select "Spanish". I want the page to load in Spanish automatically. Never mind why I want these things. They are necessary parameters.

You could start by looking at navigator.UserLanguage in javascript. It's not entirely foolproof, but it's a good starting point, and provided the users aren't messing with what the navigator object actually pulls (fairly easy to fake) it should give you a reasonably good start.....you don't really have what language(s) you're using on your page tagged, so it's sorta hard to provide specific help.

Reading the documentation might help http://msdn.microsoft.com/en-us/library/dn341982.aspx#feedback

Related

How can I re-create this customized Action Sheet with text field? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
I'm trying to figure out how I can re-create what I believe to be a customized Action Sheet (see photo link below) with a text field and two buttons. I'm relatively new to Swift, so I don't know whether an Action Sheet can be customized to this degree.
It would be helpful if someone could point me to any resources that could help me re-create this. Or if you believe this was created using a framework/library, which specific Cocoapod would be useful for my project. (Note: I am not using SwiftUI, so please exclude that in your recommendations.) Thanks.
Welcome to Stackoverflow. You can literally "re-create" that UI in your storyboard or do it in code. No need for fancy libraries that might get you stuck.
It does not matter if you're new to Swift or not. What you need to have a good grasp of is UIKit.
Here's the only material you need to learn, in my opinion. Autolayout
https://www.raywenderlich.com/811496-auto-layout-tutorial-in-ios-getting-started
Hope this helps.

Creating parallell timeline in Xcode [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I am trying to create a schedule in xcode, preferably Objective-C. Basically I will have some sessions over specific times that are going to be distributed over some locations/rooms and I want to have a parallell timeline for each of these rooms.
What I am looking for to create is something like the app Magine (http://imgur.com/gallery/gXwsbzk/).
I figure I will probably need to create a UICollectionViewLayout, but that is pretty much how far my knowledge goes. Any level of guides ot help is greatly appreciated. Maybe there is even an open source class somewhere that accomplishes just what I am looking for?
What I am looking for is obviously something like MSCollectionViewCalendarLayout. Hopefully I'll be able to modify the source code to better fit my needs.

How to text data from website [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
Hi Im currently developing an app where I have some text which informs the user about something. This information is also on my website and what i want to do is when i change the information on my website I also want the text in my app to change. I know that you can create a backend tableview with for example parse but that's not what Im looking for. I've done som research and think what i need do to is use JSON in some way to display the text from my website in my app. Pleas comment If you don't understand what It s that Im trying to accomplish. If you could either link a tutorial or explain how/if this is possible I would appreciate It very much!
you can make a json call from your app to a url and have a script or file in your website that returns the information you want, this will make it easy to change it in future. then use the same script as the basis ( again using a json call) to get the text for the specific webpage.
It's difficult to answer more specifically since you've mentioned no technology base for your website.

Writing formatted text to a file iphone [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I am looking to export data that a user creates in my app in a formatted style. What I mean by this is I would like it to have capabilities like a word document with centered headers, larger font in certain places, etc... In the end the user will be emailing the document, which is why I would like it to look nicer than a standard plain text document. There has to be a way to do this right?
If you could point me in the right direction to get this functionality that would help me a lot..
Create an HTML document with inline styling. You can then use that directly in the body of the email message as an HTML email (I know they can sometimes be frowned upon).
But to be honest, that'll be the quickest way to achieve what you are after.
maybe can you give a look at:
http://www.cocoanetics.com/parts/dtrichtexteditor/
https://github.com/enormego/EGOTextView
https://github.com/omnigroup/OmniGroup/tree/master/Frameworks/OmniUI/iPad/Examples/TextEditor/
and this apple documentation:
https://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/AttributedStrings/Tasks/RTFAndAttrStrings.html

Building a Code Generator in ruby.. Where to start? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I've been thinking about starting an open source admin panel for rails using the cappuccino JavaScript / Objective-J web framework..
How would I get started?
Are there any resources you can point me to, that explain dynamic scaffolding like code generation?
Thanks and looking forward to collaborating if anyones interested?
Daniel
You may want to take a look # rails_admin. It is a port of Merb Admin. It's still pretty young, but may give you ideas on the approach.
ActiveScaffold has been around for a while too which may be another good reference project.

Resources