I am trying to implement localization in Blackberry for multiple language support.
For this I followed the tutorial from the following link
http://supportforums.blackberry.com/t5/Java-Development/Localizing-an-application/ta-p/442726
but i got the issue as described in this link
BlackBerry: Localization, Resource Bundle
But for me the file is still not generating even when I had created my .rrh file , i am following the same steps but still no success .
can anyone tell what I m missing ??
Regards
Be sure to have cleaned your project and checked "build automaticaly".
Then check your bin folder to the specified package in the option of the resource editor for the generated interface
Related
After attempting to localize a project (originally created in Xcode 6) I am seeing an obscure error in the debug navigator.
Steps performed
Enable Base Localization
Add strings file for an additional language (Portuguese)
Edit the scheme to changing the Application Language and Application Region to Portuguese (Brazil) and Brazil respectively.
Result
"The file “Main.strings” couldn’t be opened because there is no such file."
When attempting to select the file I am presented an alert.
"The document "Main.storyboardc" could not be opened. Interface Builder cannot open compiled nibs."
As a sanity check I created a new project with the same setup (using NSLocalizedString) and ran through the same steps listed above. I provided alternate translations for the additional language, then built and ran the project which worked as expected presenting the alternate translation of strings.
Environment
Xcode 7.1.1 (7B1005)
OS X 10.11.1 (15B42)
I have already attempted following this answer but the question and answer don't quite apply to the issue I'm seeing.
I'm at a loss here. Any advice?
What do the error and alert indicate?
Why does one project (created with Xcode 6) fail when attempting to localize and yet a brand new project (created with Xcode 6) succeed?
I faced the same issue while on a project that was also created on Xcode 6. I resolved the issue in following way without compromising on localization of storyboard file:
Import the XLIFF for localized language (in my case, it was French)
Try to run the app, it will show the mentioned error
Now, right-click on storybook file and click on “Show in Finder”
From the directory location, move out the .storyboard file from Base.lproj folder
Now go back to Xcode, and remove the storyboard file (only reference)
Now, drag the .storyboard file from its new location into the project
Now, add localization from ‘File Inspector’ for .storyboard file. You can use existing .strings file for localization
Everything should work fine now.
I never found a solution to this problem by using Main.strings. Instead I kept all translatable content in classes allowing me to rely solely on Localizable.strings.
Remove app from device, clean & build your project.
I have a sample project with multiple schemes.I am new to such a project.
I want to know How When and Where do we use such a flow(multiple projects in a single project).
See the image below,I am getting a file missing error while I try to build the project.But I don't know why I am getting such an error.The file that says is missing is already there in the project folder.
What am i doing wrong?I have added the three schemes by directly clicking +addfiles button to "my project " button at the bottom of the navigation pane.
the error is : "HTTPConnection.h file is missing."
Concerning your first question....
Sub-projects inside a project are useful if they build something (a library, usually) that your main project depends on. If the library is under development at the same time as the application, you may want to build it from source as a dependency rather than pre-building it and managing the installation of it as a binary file.
As for the missing file problem, including it in the project (or sub-project) doesn't automatically make it visible if it's not also in the source directory. In that case, it needs to be added to the project's header search paths.
I'm starting to studying app localizations and I'm stuck at the very beginning.. I've created a new project called LocalizedStrings2:
I click the plus button to add Italian Language and it offers me to localize 2 InfoPlist.strings files:
Is this correct? BTW, I add the italian language:
Then I've wrote the following code in the English InfoPlist.strings file:
"ERR_MSG" = "Error Message!"
The following line has been entered in the Italian version of the file:
"ERR_MSG" = "Messaggio d'errore!"
When I compile I receive the following error (I have the same error even if the two files are empty:
Any hint or good reference for up-to-date How To Localize my IOS App documentation?
Thanks in advance for any help!
Gianni
I was facing the same problem for many days. Then I figured it out…
Just put a ; at the end of the line and it's fixed! :D
Recommendation
I don't think you should have two English references to your file in the UI. Change one to italian and verify that the files are in the proper location in your finder folder.
I would then consider removing the file references from the project and re-add them. I've noticed some peculiar behaviors when using localization for older versions of the SDK in Xcode 5+. BTW - If you are planning to support a deployment target of iOS5 you will need to remove the Base localization setting and just create the localization folders manually (inside the project folder in Finder). After you re-add the files I would check the Build Phases > Copy Bundle Resources > search for plist to verify that ProjectName/(localization).lproj is found.
NOTE
Please check out the updated documentation and let me know if that is a sufficient answer.
Internationalizing Your App
I guess the second InfoPlist.strings file derives trom your tests.
Check out the "Supporting Files-Folder" in your apps test target.
i'm following the http://skywalkersoftwaredevelopment.net/blog/writing-an-orchard-webshop-module-from-scratch-part-3 tutorial word for word but there is no option for me to enable or disable SkyWalker.Webshop.
I have done as it asks, created the 'Skywalker.Webshop' folder inside the 'modules' folder. delete the class1.cs file and add the Module.text file.
However when I load the application there is no option in the modules/features page that allows me to enable or disable webshop (why does it not appear)
anyone have any idea as to why?
Thanks
according to what mentioned in the tutorial :
Orchard requires that your module exists physically in the Modules directory.
make sure you have supplied right directory when creating class library, cause visual studio uses most recent directory supplied for project of type class library when you attempt to add new class library to orchard solution.
hope this help you out.
Maybe try it in another way:
Using command line tool (Orchard.exe under bin folder)
type the following
feature enable Orchard.CodeGeneration
Then,
codegen module Pluralsight.Movies /IncludInSolution:true
Hints:
use "help commends", "help codegen module"
to help you understand the command line.
i a developing blackberry aplication using eclipse can any one tell where to find the following library
package com.rim.samples.docs.notifications;
i have downloaded it from blackberry site but i dont know how to use it
com.rim.samples.docs namespace is common for samples BlackBerry Application Developer Guide.
On the other hand, "package" token defines the packege namespace, not the import.
If you have downloaded code and post it to namespace with other name, you may have trouble to compile it. Resolve it in two ways:
1. if your code file is placed directly in project src folder, simply remove
package com.rim.samples.docs.notifications;
from code, this will set namespace to default.
2. in project src folder create folder "com\rim\samples\docs\notifications" and move file to folder "notifications".