Google Cast labels are not localised to device's language - swift

I have implemented Google-Cast in my iOS application. It already casts content just fine but the whole UI is in English, even when my device language is set to something else. The library is supposed to have support for lots of languages but I cannot seem to make it work. I cannot access any of the components to change its text value.
I have tried to access the components through UI inspector but I don't think that the library is prepared to be modified like this.
Also tried to change UserDefaults to change the value for key "AppleLanguages".
If there is anything else I could try or you come up with ideas/solutions, please, feel free to help me out since I have ran out of ideas.

This is a known issue and we are working towards fixing this. We are targeting to release a fix in v4.4.2 release. Right now we do not have an ETA.
You can follow this bug for more updates: https://issuetracker.google.com/132135605

Related

Setting up ReactiveUI.Mobile

In the following documentation, https://github.com/reactiveui/ReactiveUI/blob/docs/docs/basics/routing.md
It states that by setting up ReactiveUI.Mobile, you will be able to achieve correct handling of the back button for free. I've tried to look around for documentation but can't seem to find any.
Could someone point me to a suitable link / sample that I can refer to?
It states that by setting up ReactiveUI.Mobile, you will be able to achieve correct handling of the back button for free. I've tried to look around for documentation but can't seem to find any.
Setting up RxUI.Mobile is super platform-dependent, and you only get a free back button on WP8 Silverlight apps. I'd stick with just using routing (or avoiding routing altogether) for now. RxUI.Mobile will probably change quite a bit in 6.0 (it's my least favorite part of the framework at the moment).

Localize iPhone app to support Irish

I'd like to support multiple languages in one of my apps. I don't have a problem with the localization for the supported languages, but I'd also like to support Irish (Gaelic).
Is this a case of overriding NSLocalizedString, checking an app variable for the user's selected country, and calling localizedStringForKey, passing in the relevant strings file as the table?
Is there a better way? Are there significant issues with this approach?
Can someone point me in the right direction please?
Thanks
Jez
Select a file you would like to have an Irish version of...
If you go to the right-hand-side editor (xCode 4) and hit the page-looking tab...
Go down to "Localizations" and hit the + sign...
Keep going down to "Other"...
And find "Irish"...
It will create a second version of the file you had selected and you can change all of the NSStrings etc. to Irish.

Querying Google for iOS SDK API documentation by class name returns links to that class from the Mac OS X Library. Why? How can I avoid this?

Take CATransition as an example.
Why does Google return those results and not learn that I actually need the iOS reference library and is there a way to make it return the proper results for me?
It usually works by adding the ios keyword in the search query, but it's annoying. I generally return to the search results and click the link from the iOS Reference Library, or do another query with ios at the end and this brings me to the needed page, but I would expect the search engine to learn that I am not interested in the Mac OS X Reference.
It's probably too much to expect a search engine to tailor its results to your behavior, too many people use the same computers often without logging out of their Google account for it to be reliable.
However there is a quick fix, just make a slight change in the address bar once you're in the OSX reference.
http://developer.apple.com/library/mac/#documentation/GraphicsImaging/Reference/CATransition_class/Introduction/Introduction.html
Can be switched to
http://developer.apple.com/library/ios/#documentation/GraphicsImaging/Reference/CATransition_class/Introduction/Introduction.html
Works for me every time.
Add site:developer.apple.com/library/ios to your Google queries. Or do the search in Xcode's documentation browser.

How to integrate TinyMce with Zend Framework with Gzipping and Image managers?

I have done some research on this subject, and found out, that Gzipping and adding a new image manager through a plugin would not be as difficult. The only question is the Image manager.
I have seen some quite good ones, like the Image Manager for JCE, which is a Joomla wysiwyg editor, but none for TinyMce for itself.
Could someone show me a good image plugin?
P.S. SwampyFoot is out of question, as it's download links are broken, and PhP Letters Ajax image manager is quite hard to install.
Thanks!
EDIT: I just found Mad File Manager, which seems to work excelently except for a little glitch: An image can be uploaded, but cant be selected... Thats sad...
EDIT2: I've found KCFinder, which seems to be very promising, but I just can't get it to work properly. Somehow, the configuration is quite difficult.
Ok, So I have been able to answer my question myself. So here it goes:
Set up TinyMce with Sozfo solution. The important ting to remember here is, instead of extending your Forms from Zend_Form, you have to extend them from Sozfo_Form. As to the defining your own extendable controller, it didnt work for me, So I put the path defining helpers in my Bootstrap. And if the whole ordeal works, there is a textarea that should have TinyMCE controls, but there aren't any, try checking the comments at Sozfo, or checking if the page is cached or not. It took me a good hour, to find out, that the only reason why no JavaScript was pushed to the header was because of a very persistent cache.
Set up KCFinder. The main problems I faced here were due to wrong paths to corresponding files. When the paths were correct, the only thing to remember is to enable it. There is a boolean to change in configuration file.
The last issue was adding the KCFinder to my Tinymce, and what I ended up doing was, I added the function needed to call KCFinder in TinyMCE.php View helper. ( Due to some glitch I seem to be unable to post the code here). Once you have set up your paths correctly, everything should work splendidly.
All in all, it took me about 3 days to figure this whole thing out. Talk about steep learning curve...
Have you looked at MCImageManager - its not free but its an option if you're happy to pay for it
Not really a suggest as you've got it but swampy foot download does work
As you're already using zend framework, why not use dojo, set up the dojo form and call the editor element and integrate this http://docs.dojocampus.org/dijit/_editor/plugins/LinkDialog into it?

iPhone SDK: Ideas on how to implement a help facility for application

We we wondering what are some ways developers have added a help function to their apps. What are some techniques people have used?
One way we were thinking of is to us UIWebView to display a HTML file with help instructions.
Thoughts appreciated.
I'm using UIWebView right now which pretty much contains all the help in a single page, along with some JQuery things to display popups, etc. But I like the way iCab Mobile (et al.) are doing things which is a sectioned UITableView with each row a separate topic or section within their overall help information (complete with icons...) then in their bundle they have each section in its own html file, organized by localization.
Another thing in my queue for the next release is to provide a dynamic "News" view. The rough idea is as follows... I have on my server a file or CGI where I can place small bits of news I'd like to push out to users. On startup, my app checks for network availability and if present, start a thread to see if anything has changed on the server since last updating the News data. If changes present, post an alert letting user know, and asking if they'd like to read it now. At that point, the latest news is already downloaded and cached, so they can simply read it later if they want, and I won't post anymore alerts until the server file changes again. (And one could add a preference/setting to disable these alerts.)
I'm thinking this would be a good way to let people know that some nasty bug is known and fixed and an update is sitting in the queue, solicit beta testers, promote upcoming features or other apps, etc. I can see where constant alerts everytime I've got something new to promote would get annoying, so having a setting to disable them means the user never has to read them unless they want to. Although some kind of override to warn of recently discovered/fixed bugs seems sensible.
FWIW, the author of Mover+/Mover has just started doing a similar thing, though I think Emanuele is perhaps only showing one Notelet at a time, whereas I envision a bit more of a history (shown in UIWebView) until I decide to age stuff off the bottom of the stack.
I'm using a scroll/page view to show several images containing small notes. Each image then tells the user about the more advanced functions on a specific part of the app.
In my opinion the help should only contain information that isn't a 100% relevant for the use of the application. It should be things the advanced user should use to make more use of the app. It should contain gold for the power users. The "basics" should be so obvious that no help would ever be needed. If that's not the case, I think, you've failed as a developer on the iPhone platform.
(Here's a screen shot from my demo app)
I'm currently creating a fairly complicated app. I'm thinking of doing help as a semi-transparent overlay - help in text form is hard to swallow for users; it's much more helpful to just point at stuff and say "this does that".