mwp-language-plugin

27.0.28 • Public • Published

Language plugin

This plugin provides two request helpers:

  • request.getLanguage(): get the request's language code (xx-XX)
  • request.getLangPrefixPath(): get the correct request path relative to the request's specified language - useful for determining whether the server should redirect

Readme

Keywords

none

Package Sidebar

Install

npm i mwp-language-plugin

Weekly Downloads

96

Version

27.0.28

License

MIT

Unpacked Size

55.7 kB

Total Files

21

Last publish

Collaborators

  • meetupbot