Super Sale Limited Time 50% OFF for All-Access Plans
Save 50% Now

django-admin makemessages -l de


hello,

I use django starterkit. I want to had german language.

So i try the command : django-admin makemessages -l de

But, i have the error :
Unable to find a locale path to store translations for file _keenthemes\__init__.py. Make sure the 'locale' directory exists in an app or LOCALE_PATHS setting is set.

I try on root folder, under _keenthemes.
I seems to work under _locale because i have no error...but nothing happen !

i haven't change inithing in settings.py :

LOCALE_PATHS = [
os.path.join(BASE_DIR, '_locale'),
]

thank for your help

regards


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (5)


You're welcome! If you have any more questions in the future, feel free to ask.


Hi,

Sorry for the delay. It seems that renaming the _locale folder to just locale resolved the issue, and subsequently updating the os.path.join(BASE_DIR, 'locale') worked successfully.

Thanks


Hi,

Sorry for the delay. We are still checking on this issue. The _locale is there but the language file generator seems not to find it properly.

Thanks



Hi,
I have the same error with the last version...:/

Regards


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(