Project

General

Profile

Actions

Bug #16549

closed
LP CM

Captive Portal "Allowed IPs" entries do not work if the language is not set to English

Bug #16549: Captive Portal "Allowed IPs" entries do not work if the language is not set to English

Added by Lorenzo Paulatto 10 months ago. Updated 8 months ago.

Status:
Resolved
Priority:
Normal
Category:
Captive Portal
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
25.11.1
Release Notes:
Default
Affected Version:
2.8.1
Affected Architecture:
All

Description

In the captive portal configuration, when configuring allowed IPs one has to choose the direction: "Both", "From", "To".
When the interface is in French, the directions are "Les deux", "De", "A".
The problem is that the French names are saved to config.xml, but they are not understood by the configuration later on, and this feature does not work. Here is an example:

        <allowedip>
            <ip>10.90.10.251</ip>
            <sn>32</sn>
            <descr></descr>
            <dir>les deux</dir>
        </allowedip>

I verified that a similar problem exists with Italian.


Files

clipboard-202512030916-ucyif.png (4.67 KB) clipboard-202512030916-ucyif.png aleksei prokofiev, 12/03/2025 06:16 AM
clipboard-202512231539-txv9f.png (16.4 KB) clipboard-202512231539-txv9f.png Alhusein Zawi, 12/23/2025 11:39 PM

CM Updated by Christian McDonald 10 months ago Actions #1

  • Assignee set to Christian McDonald

LP Updated by Lorenzo Paulatto 10 months ago Actions #2

p.s. Another side effect of the bug, is that symbols → , ← and ⇄ are not displayed in the interface

AP Updated by aleksei prokofiev 9 months ago Actions #3

Tested on
25.07.1-RELEASE (amd64)
built on Wed Aug 20 15:17:00 MSK 2025
FreeBSD 15.0-CURRENT

25.11-RELEASE (amd64)
built on Mon Dec 1 20:59:00 MSK 2025
FreeBSD 16.0-CURRENT

I can confirm, tested with Russian, in config it presented with Russian word

CM Updated by Christian McDonald 9 months ago Actions #4

  • Status changed from New to In Progress
  • Target version set to 2.9.0
  • Plus Target Version set to 26.03

CM Updated by Christian McDonald 9 months ago Actions #5

As this is not a regression, we will not be blocking the release of 25.11 over this issue.

However, once a fix is developed we will release a system patch for it.

CM Updated by Christian McDonald 9 months ago Actions #6

  • Status changed from In Progress to Feedback

CM Updated by Christian McDonald 9 months ago Actions #8

  • % Done changed from 0 to 100

Applied in changeset commit:251e202ecd97c8c994cd9dbebe2c1dc198500b8e.

AZ Updated by Alhusein Zawi 9 months ago Actions #9

Changing the language to French results in some values remaining in English. "both ,from"

26.03.a.20251216.0600

MM Updated by Marcos M 9 months ago Actions #10

  • Status changed from Feedback to Resolved

JP Updated by Jim Pingle 8 months ago Actions #11

  • Plus Target Version changed from 26.03 to 25.11.1

JP Updated by Jim Pingle 8 months ago Actions #12

  • Subject changed from Captive portal "allowed IPs" does not work if language is not english to Captive Portal "Allowed IPs" entries do not work if the language is not set to English
Actions

Also available in: Atom