-
Notifications
You must be signed in to change notification settings - Fork 194
Request support for naming files in other languages #337
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
Milestone
Comments
any sample code? |
@schickling schickling says he hopes to fix the problem through 'user configuration'. |
Just create two mdx file in one folder like It will got redefined error
|
This should be addressed with the |
This issue closed helped me a lot too! Thx 👍 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://github.com/contentlayerdev/contentlayer/blob/main/packages/%40contentlayer/core/src/generation/generate-dotpkg.ts#L389
Perhaps it would be useful to use something like the functionality in the
transliteration
package to support files named in other languages?I might know why other languages are not supported here, could a config item (
fileNmaeTransfrom:(name:string)=>string|Promise<string>
) be provided incontentlayer.config.ts
to allow the user to handle this?https://www.npmjs.com/package/transliteration
https://discord.com/channels/872106850928164874/872106850928164878/1045543968110301195
The text was updated successfully, but these errors were encountered: