FlutterFlow / flutterflow-issues

A community issue tracker for FlutterFlow.
124 stars 25 forks source link

FF Localization assigns same key in two different pages #2939

Open josiebhai opened 5 months ago

josiebhai commented 5 months ago

Has your issue been reported?

Current Behavior

Localizations has created same key in two different pages.

In lib\flutter_flow\internationalization.dart file on lines 313 and 1721

Screenshot 2024-05-20 140353

Screenshot 2024-05-20 140406**

Expected Behavior

Should create different / unique keys everytime.

Steps to Reproduce

This is a FLutterFlow codegen issue. Not sure of the steps to reproduce. The issue is with randomization and cannot be reproduced.

Reproducible from Blank

Bug Report Code (Required)

IT8ol8718ZNPm8sA7q6JKcEwtCM5KUgnarsvl9VxaAwaCOPnOpkAfOHOYVhCTfHgYENHG1b8hmMK+cLJvvP1BMYnOUiCb6Zx+c5hQx7jVkWleLKYCqWOQXclEcdhGhCO4aW7vhQkPvBwd2xg3E62OvC9b3ftQaWzNWwRAua1Ot7XpVaQHQzrOidZwScVMReaTI5ODEz25eKMrop5yfj/0w==

Context

This is a high priority Issue. Unable to use localizations within the app.

Visual documentation

Shows two different texts in same place.

Capture20240520145058

Additional Info

No response

Environment

- FlutterFlow version: FlutterFlow v4.1.53+ released May 20, 2024
- Platform: All (Tested in Android and Web)
- Browser name and version: Edge Version 125.0.2535.51 (Official build) (64-bit)
- Operating system and version affected:

General

Relative to the time the changes were made, data was lost within

When following my steps to reproduce, data loss happens

josiebhai commented 5 months ago

Hi @ignalauret , I also found that the translation in line 1721, corresponds to the NAV ITEMLABEL of another page in which the SHOW ON NAVBAR is disabled.

Also found that every page has anav item label behind the scenes and its default value is Home even when the show on Navbar is disabled.

josiebhai commented 5 months ago

Hi @ignalauret , any updates on this ?

github-actions[bot] commented 5 months ago

This issue is stale because it has been open for 7 days with no activity. If there are no further updates, a team member will close the issue.

josiebhai commented 5 months ago

Hi @ignalauret , any updates on this ?

github-actions[bot] commented 4 months ago

This issue is stale because it has been open for 7 days with no activity. If there are no further updates, a team member will close the issue.

Alezanello commented 4 months ago

Hello!

I apologize for the late response. I wanted to check if any recent FlutterFlow updates have resolved this issue for you, or if you are still experiencing it.

In the meantime, I’ll be consulting with our Technical Team about this issue and will get back to you with an update as soon as possible.

Thank you for your patience.

Best regards,
Azanello