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

Add troubleshooting section for Flutter build error with localizations #2913

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

0xharkirat
Copy link

Pull Request Description: Adding Common Issue for Localization Build Error

Description:

This pull request adds a new entry to the Common Issues section under Troubleshooting to help users resolve a frequent build error encountered when using localizations in Flutter. The error typically occurs when the necessary localization files are not generated during the build process, resulting in a Try correcting the name to the name of an existing getter, or defining a getter or field named 'AppLocalizations'. error.

Changes Made:

  • Added a new entry to the Common Issues section under Troubleshooting.
  • Added the solution to run the flutter gen-l10n command in the pre-build script.

Checklist:

  • The description is concise and follows the format of existing entries.
  • Log output and example scripts are included.
  • Links to official Flutter documentation are provided.
  • Reviewed and tested for accuracy.

Additional Notes:

Feedback and suggestions for improvement are welcome. If there are any adjustments needed, I'd be happy to make them.

@0xharkirat
Copy link
Author

this is the screenhshot of changes made:
Screenshot 2025-01-10 at 11 08 48 am

@0xharkirat
Copy link
Author

any comments. still waiting for review thanks.

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

Successfully merging this pull request may close these issues.

1 participant