I use a custom bst file with LyX. When I use default setting it works fine except writing everything in English and I need it to be in French. However, when I choose "babel" I get a `LaTeX Error: File 'babelbst.tex' not found.`

How can I fix this? I checked my LaTeX packages and I think the `babelbst.tex` was installed.

It doesn't work when the bst file starts with

and it does with this one:

There is no `babelbst.tex` file in the TeX distributions; it seems that you are trying to do `\input{babelbst}` which is wrong. – egreg Nov 14 '12 at 15:40
That's the preamble of my Document ```\documentclass[12pt,a4paper,twoside,french]{article} \usepackage{mathptmx} \usepackage[T1]{fontenc} \usepackage[latin9]{inputenc} \pagestyle{headings} \usepackage[authoryear]{natbib} \makeatletter \pdfpageheight\paperheight \pdfpagewidth\paperwidth \newcommand{\noun}[1]{\textsc{#1}} \makeatother \usepackage{babel} \addto\extrasfrench{% \providecommand{\og}{\leavevmode\flqq~}% \providecommand{\fg}{\ifdim\lastskip>\z@\unskip\fi~\frqq}% } ``` – esmitex Nov 14 '12 at 16:05