Skip to Content
avatar image
Former Member

Setting a language specific XLF as default

Hi guys

I'm developing an application that must work with 3 specific languages ( English, Spanish and Portuguese )...

I created the xlf files for these languages and everything is working fine...

The big "problem" is: When I need to change an text from an specific label into my IView, the DS changes the default XLF file, even if the locale of my IView is setted for one of the 3 languages!

Can I tell DS to use an specific XLF instead of the default file, to make my life easier?

Thanks and regards

Borges, Alexandre

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Jun 06, 2008 at 09:06 PM

    Let us assume that your default language is English and you selected English as default language while creating this project.

    Remove all the files ending with "_en.xlf" from your project. Then what ever the changes you make, you can immediately see the changes for English language.

    This is how it works: Web Dynpro looks for explicit language versions(like _en.xlf, _es.xlf etc), if not found, then what ever language strings are available in default(.xlf files don't contain language key). On changing language text to any elements, they are immediately updated in default language files.

    Cheers,

    ~kranthi

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Kranthi.

      Thanks for your quick response... It worked ( only for English projects )... If you create a project with another language as default ( I tried with Portuguese, French and Spanish ) it ignores the default XLF in runtime and uses the ****_en.xlf ... Strange, very strange 😀

      Thanks again

      Borges, Alexandre