Skip to content
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

Better Crowdin file/folder names: use collection labels and useAsTitle if available #142

Open
thompsonsj opened this issue Dec 21, 2023 · 0 comments

Comments

@thompsonsj
Copy link
Owner

Follow the Payload CMS logic here.

  • Collection labels can be used to provide a folder name in Crowdin. Currently we convert the slug to words.
  • useAsTitle can be used for 'document' folder names in Crowdin. Currently we look for either a title or name field.

title: global
? toWords(collectionSlug)
: document.title || document.name, // no tests for this Crowdin metadata, but makes it easier for translators
}

https://payloadcms.com/docs/configuration/collections

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant