-
Notifications
You must be signed in to change notification settings - Fork 0
[translatabot] Add configuration file #1
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
base: trunk
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||
|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,5 @@ | ||||||||
| version: 1 | ||||||||
| defaultPath: path/to/translation_file.ts # Path to the default translation file | ||||||||
|
Comment on lines
+1
to
+2
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. P2 | Confidence: High Speculative: The
Suggested change
|
||||||||
| languages: | ||||||||
| - relativePath: de.ts # Relative path to the auto-translated file | ||||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. bug (critical): Invalid placeholder path for German translation file The Proof of issue:
Suggested fix: - relativePath: languages/create-block-theme-de_DE.po
language: GermanEnsure the Help us improve our suggestions - react with 👍 if it was helpful, 👎 if it needs work |
||||||||
| language: German # English name of the language to be translated to. | ||||||||
|
Comment on lines
+3
to
+5
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. P2 | Confidence: High The configuration defines a single target language (German) with a |
||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bug (critical): Invalid placeholder path that will cause translatabot to fail
The
defaultPathpoints topath/to/translation_file.ts, which is a placeholder that doesn't exist in the repository. Additionally, this WordPress plugin doesn't use TypeScript (.ts) files.Proof of issue:
.tsfiles exist anywhere in the project structure.pot(Portable Object Template) files for translations, typically located in alanguages/directorySuggested fix:
Replace with the actual path to the plugin's translation template file:
Or if using a different translation system, point to the actual source translation file used by this project.
Help us improve our suggestions - react with 👍 if it was helpful, 👎 if it needs work