Archive
Monthly
Go
|
|
DNN Blog
Sep
26
Posted by:
Vicenç Masanas
9/26/2005
When a new DotNetNuke version is published and you're running a portal in a language other than the English provided default, you should verify and adjust your customized resource files to the new version.
C. Updating a language pack for a newer DotNetNuke version
So you have now installed the new DotNetNuke version and want to adjust your existing language packs to the new resources. What should you do?
DotNetNuke comes with an option to verify resource files against the base resources (English). It will compare each resource file with the base one and give a report where it finds any problem. Go to Host >> Languages and try the "Resouce File Verifier".
This will report three possible issues in resource files:
- A missing file: the new version includes some new files you will have to translate.
- Existing files with missing entries: an existing resource file now includes new entries not present in previous version
- Obsolete entries: an existing file does not use some entries anymore. Some resources that were used in the previous version are not required anymore

Take note of the offending files and use the "Language Editor" (as descrived on the first post of this series here) to make the appropiate changes.
When editing a file that was listed in "Files With Missing Entries" you will be asked whether you want to add the missing entries:

Once you've added them check the "Highlight Pending Translation" checkbox. This will add a red border on resource items that have the same text as the system default. This will help you identify which new items you have to focus on.
On the other hand, to adjust files listed in "Files With Obsolet Entries", just edit the file in the editor and save. It will automatically remove entries that are not required anymore.
With these minor tasks you can easily upgrade your old resource files to the new DotNetNuke version.
Once you feel confident with your current version you can create a new language pack for the current DotNetNuke version. And don't forget to send us the new version so other users can benefit from your translation!
This article finalizes this series of blog posts devoted to language packs. To see previous installments read:
12 comment(s) so far...
Re: DotNetNuke Language Pack Creation (3)
Vicenç el paquet d'idioma català que mostres aquí, el tens algun lloc disponible per descarregar? Gràcies!
By mlaboria on
10/3/2005
|
Re: DotNetNuke Language Pack Creation (3)
hi there,
I have created a language Pack but when I upload the zip file ( the zip file contains the AdminResource, ControlResource,GlobalResource,LocalResource and Manifest.xml file) I get the following error message:
StartJob Importing language files Info Import file: GlobalResources.Kr-Kurd.resx
Failure There was an error loading a Language Pack resource file. Error: Object reference not set to an instance of an object.
By es113 on
1/9/2006
|
Re: DotNetNuke Language Pack Creation (3)
hi there,
I have created a language Pack but when I upload the zip file ( the zip file contains the AdminResource, ControlResource,GlobalResource,LocalResource and Manifest.xml file) I get the following error message:
StartJob Importing language files Info Import file: GlobalResources.Kr-Kurd.resx
Failure There was an error loading a Language Pack resource file. Error: Object reference not set to an instance of an object.
Any ideas what causes this error?????? thanks very much
By es113 on
1/9/2006
|
Re: DotNetNuke Language Pack Creation (3)
mlaboria, mira la secció "Languages" d'aquesta web.
By vmasanas on
1/9/2006
|
Re: DotNetNuke Language Pack Creation (3)
es113, I think the problem is your code "kr-Kurd" is not supported by asp.net, at least I cannot find it anywhere. For a list of supported languages look here: http://msdn2.microsoft.com/en-us/library/kx54z3k7(en-us,VS.80).aspx
By vmasanas on
1/9/2006
|
Re: DotNetNuke Language Pack Creation (3)
hi again,
I browsed through the list of languages upported by asp.net and this time I selected "fa" language but I am still getting the same error message:
StartJob Unzipping language files Info File langpack/AdminResource/ControlPanel/Classic.ascx.fa.resx missing in Language Pack manifest. Info File langpack/AdminResource/ControlPanel/IconBar.ascx.fa.resx missing in Language Pack manifest. Info File langpack/AdminResource/Files/FileManager.ascx.fa.resx missing in Language Pack manifest. Info File langpack/AdminResource/Files/WebUpload.ascx.fa.resx missing in Language Pack manifest. Info File langpack/AdminResource/Host/HostSettings.ascx.fa.resx missing in Language . .. .... Info File langpack/Manifest.xml missing in Language Pack manifest. EndJob Unzipping language files StartJob Importing language files Info Import file: GlobalResources.fa.resx Failure There was an error loading a Language Pack resource file. Error: Object reference not set to an instance of an object.
By es113 on
1/9/2006
|
Re: DotNetNuke Language Pack Creation (3)
Please use the localization forums for support. Thanks.
By vmasanas on
1/9/2006
|
Re: DotNetNuke Language Pack Creation (3)
Vicenç, I found two images that needed to be localized inside the \images directory: search.gif and search_go.gif. I did create "buscar.gif" and "buscar_ir.gif" and fixed the links to those images inside the correct resx. Now the resx installed with the respack point to the new images... but I cannot find a way to include those images inside the pack (manifest file) and make DNN install them properly. Of course, I've tried 20 different ways. May be you could tell me about the correct one, meaning the 21st? ;-) Thank you in advance!
By dnnregister on
7/11/2007
|
Re: DotNetNuke Language Pack Creation (3)
Sorry, I have just read your last post. Please use the localization forums for support. I did search for the localization forums but I didn't success in finding them (DNNs Forums search tool is not as good as it will be, yet). Maybe you can post a link to those forums. Thank you again.
By dnnregister on
7/11/2007
|
Re: DotNetNuke Language Pack Creation (3)
May be you should erase my two previous comments, including this one. I found a way to search through the forums: google search: localization language pack forum site:www.dotnetnuke.com And voila. Thank you for your patience.
By dnnregister on
7/11/2007
|
Re: DotNetNuke Language Pack Creation (3)
dnnregister: no problem. You're welcome to post your comments here, but as you can see, forums are a much better way for communication. Regards.
By vmasanas on
7/11/2007
|
please help
can i install language pack in dnn 5?
By taymaz on
11/12/2009
|
|