You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 30, 2025. It is now read-only.
This feature provides gentle educational suggestions for French language usage within the Papillon app.
4
+
5
+
## Purpose
6
+
7
+
The feature promotes consistent and idiomatic French expressions, helping users improve their French while using the app. It's designed to be educational and helpful, not punitive.
8
+
9
+
## How it works
10
+
11
+
### 1. Text Analysis
12
+
The system analyzes text in chat messages and discussions for common French expressions that could be improved.
13
+
14
+
### 2. Gentle Suggestions
15
+
When certain expressions are detected (like "ça fonctionne" vs "ça marche"), the system logs gentle suggestions to help users learn more idiomatic French.
16
+
17
+
### 3. Educational Focus
18
+
-**No blocking**: Users can still send messages with any expressions
19
+
-**No banning**: This is purely educational, not punitive
20
+
-**Logging only**: Suggestions are logged for educational purposes
21
+
-**Respectful**: Promotes good French while respecting user choice
console.log(message); // "💡 Suggestion: "ça marche" est plus idiomatique que "ça fonctionne""
45
+
}
46
+
```
47
+
48
+
## Testing
49
+
50
+
Run the test in developer menu:
51
+
1. Go to DevMenu
52
+
2. Tap "Test des suggestions françaises"
53
+
3. Receive a notification with a language suggestion example
54
+
55
+
## Philosophy
56
+
57
+
This feature embodies the spirit of constructive language education - helping users improve their French through gentle, respectful suggestions while maintaining full functionality and user freedom.
0 commit comments