We can set the design resolution size, to autoscale to all screens
You could do it at Appdelegate.cpp. Please look inside the JSBinding demo projects( CocosDragonJS, MoonWarriors ) in the latest release.
We can put retina images into respective folders to fit screen density
The same as 1), just using
CCFileUtils::setResourceDirectory together with
CCEGLView::setDesignResolutionSize. For more details, you should refer to HelloCpp.
We can localize strings with a native Cocos2D-X JS component
You could save all language string to different xml, but sorry for that the xml parse isn’t supported now.
We can read a dictionary, or a regular text file
The same as 3), not supported now.