Language Pack date neutral filter

NavStudentNavStudent Member Posts: 399
Hello

We have copied a standard report and made modification.

Now we want to load a langauge pack. Spanish.
How can we update the modified report?



Second question.

How can create a date neutral filter.

setrange("Posting date",081907D);



Thanks.
my 2 cents

Comments

  • kinekine Member Posts: 12,562
    If you just copied standard report under new ID and made some modification but all variable/control IDs are unchanged, you can try to export Translate file for the original object, edit it and change the object no. to new one and try to import the translate file for the copy. It will add translation for all controls/text constants from original report. Do not forge to keep backup of the object before doing that.


    And what do you mean by Date neutral filter?
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • NavStudentNavStudent Member Posts: 399
    the filter below works for US

    setrange("Posting date",081907D);


    but it won't work in UK.
    my 2 cents
  • NavStudentNavStudent Member Posts: 399
    what do you mean export translate file for theh origignal object?

    Do you mean export language that creates a .flm file?

    that a binary file. Is there a program I can use to do the translation?
    my 2 cents
  • NavStudentNavStudent Member Posts: 399
    Up Up Up.
    my 2 cents
  • kinekine Member Posts: 12,562
    No, I do not mean the language module, but the second option - Tools - Translate - export. It will create text file with the strings. It is similar to object Export/import. You can export/import objects as binary (.FOB) or text file. Language module is binary, Translate file is text. Of course, you need to have appropriate license...
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • NavStudentNavStudent Member Posts: 399
    thanks,
    Have more questions.
    I've exported CU 422
    C442-Q1014-P2818-L30:Text019
    C442-Q1014-P26171-A1033-L999:Invoice,Credit Memo
    C442-Q1014-P26171-A3084-L999:Facture,Note de cr‚dit
    C442-Q1014-P26171-A4105-L999:Invoice,Credit Memo
    

    Can you tell me what the numbers before that mean?

    The file contains global variables as well.
    I don't have to translate those?
    my 2 cents
  • kinekine Member Posts: 12,562
    CXXX - codeunit XXX
    AXXXX - language with no. XXXX (see windows languge virtual table)
    LXXX - MAX Length of the string
    PXXXX and QXXXX - identify the property (name, caption, etc.)

    What you need if you want to transfer the translation from one object to another which was created by copy is that you change the object ID in the file (the CXXXX part of the identifier). Do not forget to backup your object before import and test the object after import.
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • NavStudentNavStudent Member Posts: 399
    Is there a tool that you can use to load these files and make modification?

    I guess I could write something in navision to load this and start translating.

    Also is there a documentation on this file structure somewhere?
    I would like to do correct parsing.
    Thank you.
    my 2 cents
  • kinekine Member Posts: 12,562
    There is tool for that. Notepad :-)

    Or Navision Language Workbanch. Or other partners' solutions. I am using my own module... I think somewhere I saw some documentation about the structure. Try to look at PartnerSource.
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
Sign In or Register to comment.