arturobernalg commented on PR #312: URL: https://github.com/apache/jspwiki/pull/312#issuecomment-1755804657
> Hi, lgtm! > > agree on the ordering of the properties, should be done on a separate PR, probably renaming them according to where they are being used; right now they are ordered (more or less) following JSPs order. > > cheers, juan pablo > > p.s.: If it helps, we also have a [mini-guide](https://jspwiki-wiki.apache.org/Wiki.jsp?page=HowToI18n) stating the steps needed to locate missing i18n entries and the [translation status](https://jspwiki.apache.org/development/i18n.html) page, which is built with every commit. Hi @juanpablo-santos Thank you for the tip. In this case i use a custom python `def read_properties(file_path): properties = set() with open(file_path, 'r', encoding='ISO-8859-1') as f: for line in f: line = line.strip() if "=" not in line or line.startswith("#"): continue key = line.split("=", 1)[0].strip() properties.add(key) return properties file1_path = "PATH" # Replace with your actual file path file2_path = "PATH2" # Replace with your actual file path file1_properties = read_properties(file1_path) file2_properties = read_properties(file2_path) missing_in_file1 = file2_properties - file1_properties missing_in_file2 = file1_properties - file2_properties print("Properties missing in File 1:") for prop in missing_in_file1: print(prop) print("\nProperties missing in File 2:") for prop in missing_in_file2: print(prop) ` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@jspwiki.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org