RuleStack

Configs

Stacks

Compare

Diff

RuleStack

Configs

Stacks

Compare

Diff

Read API

RuleStack

Configs

Stacks

Compare

Diff

Read API

Configs/Copilot instructions/FreshRSS/FreshRSS

Copilot instructions

.github/instructions/i18n.instructions.md

Editing FreshRSS translations

Copilot instructions

Quality

65/100

Scores the file, not the repository.

Length

183 words

8 headings · 4 code blocks

Repository

16k

— · pushed 1 days ago

Last changed

3 days ago

First indexed 3 days ago.
FreshRSS/FreshRSS/.github/instructions/i18n.instructions.mdRawGitHub
1---
2applyTo: "app/i18n/*/*.php"
3description: Editing FreshRSS translations
4---
5 
6# FreshRSS translations (i18n)
7 
8* Favour commands over manual edits to add, move, or delete translation keys:
9 * Use the `cli/manipulate.translation.php` script or the corresponding `make` commands.
10 
11## Commands
12 
13### Add a new translation key
14 
15To add a new translatable string across all languages:
16 
17```sh
18./cli/manipulate.translation.php --action add --key 'example.of.key' --value 'Example of text'
19# or
20make i18n-add-key key='example.of.key' value='Example of text'
21```
22 
23This will:
241. Add the key to English (`app/i18n/en/gen.php`) with the provided value
252. Add the key to all other languages marked as `// TODO` for translators
26 
27You should then:
281. Remove the `// TODO` comment in English `en/`
292. Update to `// IGNORE` comment in US English `en-US/` or adapt the string in case of regional differences
30 
31### Delete a translation key
32 
33To delete a translation key from all languages:
34 
35```sh
36./cli/manipulate.translation.php --action delete --key 'old.key.path'
37```
38 
39### Other commands
40 
41See all available commands with:
42 
43```sh
44./cli/manipulate.translation.php -a --help
45```
46 
47## Post-fixing
48 
49After manipulating translation, you should call the following to reformat and ensure consistency:
50 
51```sh
52composer run-script translations
53# or (targeting more than just translations)
54make fix-all
55```
56 

Commands it names

  • make i18n-add-key key='example.of.key' value='Example of text'
  • composer run-script translations
  • make fix-all
  • make

Sections

  • FreshRSS translations (i18n)
  • Commands
  • Add a new translation key
  • or
  • Delete a translation key
  • Other commands
  • Post-fixing
  • or (targeting more than just translations)

Stack — with the evidence

php

(1.00)

eslint

(1.00)

javascript

(0.60)

github-actions

(0.60)

Glob targeting

  • app/i18n/*/*.php

Format

Copilot instructions

Two layers: one always-on repo file, plus optional glob-scoped instruction files. Lives under .github/ rather than the repo root, which is the tell that it is aimed at the GitHub platform surface as much as the editor.

What the corpus says about it

Repository

Owner
FreshRSS
Language
—
License
—
Archived
no

All configs in this repo

Also in FreshRSS/FreshRSS

Diff this repo’s formats

One repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?

The other instruction files in this repository
RepositoryFormatStackCoversScoreChanged
FreshRSS/FreshRSS.github/instructions/_general.instructions.md · 16kCopilot instructionsphpeslint+2lint-formatstyleagent-behaviour41/1003 days ago
FreshRSS/FreshRSS.github/instructions/css.instructions.md · 16kCopilot instructionsphpeslint+2ui51/1003 days ago
FreshRSS/FreshRSS.github/instructions/javascript.instructions.md · 16kCopilot instructionsphpeslint+2lint-format41/1003 days ago
FreshRSS/FreshRSS.github/instructions/markdown.instructions.md · 16kCopilot instructionsphpeslint+2no sections37/1003 days ago
FreshRSS/FreshRSS.github/instructions/php.instructions.md · 16kCopilot instructionsphpeslint+2no sections59/1003 days ago
FreshRSS/FreshRSSAGENTS.md · 16kAGENTS.mdphpeslint+2stylearchgitdatabase+177/1003 days ago
Diff against .github/instructions/_general.instructions.md Diff against .github/instructions/css.instructions.md Diff against .github/instructions/javascript.instructions.md Diff against .github/instructions/markdown.instructions.md Diff against .github/instructions/php.instructions.md Diff against AGENTS.md

Similar configs

Same format, overlapping stack, ranked by quality.

Same format, overlapping stack, ranked by quality
RepositoryFormatStackCoversScoreChanged
chihebnabil/lovable-boilerplate.github/instructions/global.instructions.md · 63Copilot instructionstypescriptreact+7buildlint-formatstylearch+4100/1003 days ago
HerringtonDarkholme/megarepo.github/copilot-instructions.md · 17Copilot instructionsnodejavascriptsetupbuildtestlint-format+7100/1003 days ago
louislam/uptime-kuma.github/copilot-instructions.md · 90kCopilot instructionstypescriptjavascript+10setupbuildtestlint-format+9100/1003 days ago
JCodesMore/ai-website-cloner-template.github/copilot-instructions.md · 31kCopilot instructionstypescriptnode+7buildlint-formatstylearch+397/1002 days ago
bagisto/bagisto.github/copilot-instructions.md · 28kCopilot instructionsphplaravel+8setupbuildteststyle+597/1003 days ago
nerolis-lab/nerolis-lab.github/copilot-instructions.md · 32Copilot instructionstypescriptnode+8setupbuildtestlint-format+1196/1003 days ago
thangaram611/second-brain.github/copilot-instructions.md · 0Copilot instructionstypescriptnode+12setupteststylearch+496/1003 days ago
darkmatter/nixmac.github/copilot-instructions.md · 24Copilot instructionstypescriptrust+14setupbuildtestlint-format+896/1003 days ago
RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack

RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack

RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack